error when modifying photo error when modifying photo
 

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

error when modifying photo

Started by plc, May 12, 2008, 06:20:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

plc

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

Hein Traag

Are you using some security patch that limits the number of POST fields that will be accepted by PHP?

plc

well where i ca ncheck if my host have security patch?

cause me i have not installed security patch.

Hein Traag

Contact them. Mail. Phone. Smoke Signals.

plc

i have contact them and they said they dont use those security pacth.

Nibbler

Go to phpinfo.php in your Coppermine directory with your web browser and see if 'Suhosin' is mentioned in the output.

plc


Nibbler

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.

plc

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?


Nibbler

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

plc

bah its not working :(

i will just delete my 106 photo and re upload with the title i want.

Nibbler

Just edit the files individually instead of by album.

plc

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?

Nibbler

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.