Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: error when modifying photo  (Read 6253 times)

0 Members and 1 Guest are viewing this topic.

plc

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
error when modifying photo
« 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
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: error when modifying photo
« Reply #1 on: May 12, 2008, 07:07:20 pm »

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

plc

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: error when modifying photo
« Reply #2 on: May 12, 2008, 09:46:24 pm »

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

cause me i have not installed security patch.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: error when modifying photo
« Reply #3 on: May 13, 2008, 08:18:21 am »

Contact them. Mail. Phone. Smoke Signals.
Logged

plc

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: error when modifying photo
« Reply #4 on: May 13, 2008, 06:03:37 pm »

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

Nibbler

  • Guest
Re: error when modifying photo
« Reply #5 on: May 13, 2008, 06:09:59 pm »

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

plc

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: error when modifying photo
« Reply #6 on: May 13, 2008, 06:20:41 pm »

yeah i see Suhosin. 
Logged

Nibbler

  • Guest
Re: error when modifying photo
« Reply #7 on: May 13, 2008, 06:35:19 pm »

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.
Logged

plc

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: error when modifying photo
« Reply #8 on: May 13, 2008, 10:24:22 pm »

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?

Logged

Nibbler

  • Guest
Re: error when modifying photo
« Reply #9 on: May 13, 2008, 10:48:00 pm »

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

Code: [Select]
suhosin.post.max_vars = 1000
suhosin.request.max_vars = 1000

or for .htaccess

Code: [Select]
php_value suhosin.post.max_vars 1000
php_value suhosin.request.max_vars 1000
Logged

plc

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: error when modifying photo
« Reply #10 on: May 13, 2008, 11:38:33 pm »

bah its not working :(

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

Nibbler

  • Guest
Re: error when modifying photo
« Reply #11 on: May 13, 2008, 11:41:19 pm »

Just edit the files individually instead of by album.
Logged

plc

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: error when modifying photo
« Reply #12 on: May 13, 2008, 11:53:43 pm »

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?
Logged

Nibbler

  • Guest
Re: error when modifying photo
« Reply #13 on: May 13, 2008, 11:58:24 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 20 queries.