batch add works 50% of the time batch add works 50% of the time
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

batch add works 50% of the time

Started by AceSG, October 06, 2009, 12:30:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AceSG

ok, i have over 300pics to add ive added about 110 useing batch upload.

i click the folder its in, then ok, check the ones i wanna upload then the album i wanna upload them to, click ok, then it takes be back to "Select directory" BUT sometimes it wold go to that "ok" screen...
ive tryed to reinstall it, cleen install, new db install. so far 80% of the time its not working. ive noticed if i say upload 20, and then check 5 of the pics it wold go to the "ok" screen. then it wold stop working. to me it sonds like its something to do whith the server not coppermine.

thank you for your time. if you need SS or even a video ill post it up for you on asking.

http://kalserverace.com/mysite/cpg14x/index.php
User: test
Pass: test


AceSG

suhosin.get.max_vars   100   100
suhosin.post.max_vars   200   200
so it shuld be
suhosin.get.max_vars   500   500
suhosin.post.max_vars   600   600

am i right??

AceSG

ok i used this code to chage my php.ini, in phpinfo i see that the its been edited to 2000, but when i try to use batch upload it still deso the same thing....
http://kalserverace.com/mysite/cpg14x/info.php
<?php
$defaultPath 
php_ini_loaded_file();
$parm[] = "suhosin.get.max_vars = 2000";
$customPath "php.ini";
// nothing should change below this line.
if (file_exists($defaultPath)) {
$contents file_get_contents($defaultPath);
$contents .= "\n\n; MODIFIED THE FOLLOWING USER PARAMETERS:\n\n";
foreach (
$parm as $value$contents .= $value " \n";
if (
file_put_contents($customPath,$contents)) {
if (
chmod($customPath,0600)) $message "<b>PHP.INI File modified and copied.</b>";
else 
$message "PROCCESS ERROR - Failed to update php.ini.";
} else {
$message "PROCCESS ERROR - Failed to write php.ini file.";
}
} else {
$message "PROCCESS ERROR - php.ini file not found.";
}
echo 
$message;
?>

Joachim Müller

We can not support you on webserver setup issues: that's beyond the scope of support on this board. Ask your webhost for support.

AceSG

can you please tell me what to ask support for? ive been asking them to help but they dont know what the frack there doing...

Joachim Müller

Quote from: AceSG on October 07, 2009, 01:11:56 AMok i used this code to chage my php.ini
The script you posted above does not come from us. It's not the recommended method to edit the php.ini file. I suggest to edit the file with a regular editor if you can instead of processing it with a script. And there is no guarantee that you're allowed to edit the php.ini file in the first place. Ask your webhost for support for that.
Quote from: AceSG on October 07, 2009, 10:15:55 AMcan you please tell me what to ask support for?
Tell them that you're probably running into limitations that their implementation of suhosin causes and ask them to resolve this for you.

Quote from: AceSG on October 07, 2009, 10:15:55 AMive been asking them to help but they dont know what the frack there doing...
Then they should be in another line of business.

Quote from: AceSG on October 06, 2009, 12:30:08 PMto me it sonds like its something to do whith the server not coppermine.
Exactly. You might be running into time-outs as well. Only your webhost can help in this aspect: they could look into the server's logs to figure out.