forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: plc on May 12, 2008, 06:20:24 pm
-
hi,
when i try to modify the title of picture i got this error : Script called without the required parameter(s). (aid49)
thanks for your help
-
Are you using some security patch that limits the number of POST fields that will be accepted by PHP?
-
well where i ca ncheck if my host have security patch?
cause me i have not installed security patch.
-
Contact them. Mail. Phone. Smoke Signals.
-
i have contact them and they said they dont use those security pacth.
-
Go to phpinfo.php in your Coppermine directory with your web browser and see if 'Suhosin' is mentioned in the output.
-
yeah i see Suhosin.
-
Then you have the issue Hein describes. Search the board for previous discussions. You need to increase the post limit Suhosin imposes since it is too low. Your host should be able to advise you about that if you can't figure it out yourself since they installed it in the first place.
-
well they increased it to 16M but i still got the error and they dont want to increase it more cause im on shared server.
Do you have another solution for me?
-
See previous discussions, eg. http://forum.coppermine-gallery.net/index.php/topic,52168.0.html
You need to change suhosin settings, not the PHP upload or memory limit or whatever that 16M refers to. Find out if your host allows you to change PHP settings via php.ini or .htaccess files. If so:
for php.ini
suhosin.post.max_vars = 1000
suhosin.request.max_vars = 1000
or for .htaccess
php_value suhosin.post.max_vars 1000
php_value suhosin.request.max_vars 1000
-
bah its not working :(
i will just delete my 106 photo and re upload with the title i want.
-
Just edit the files individually instead of by album.
-
maybe its a weird question.
why when i want to edit title of my pics on album i get error but when i edit them individualy i dont get error?
-
The default Suhosin limit is 100. That means you can send at most 100 'pieces' of information to the gallery at a time. When you edit a single pic that is not a problem, but when you modify 25 pics with 10 pieces of information per pic it exceeds this limit.