editpics: Script called without the required parameter(s) editpics: Script called without the required parameter(s)
 

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

editpics: Script called without the required parameter(s)

Started by mcoates, February 29, 2008, 12:48:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mcoates

Hello Everyone,

I've been having some problems with my gallery lately. 
http://forum.coppermine-gallery.net/index.php/topic,50723.msg244655.html#msg244655

Most recently, I'm getting this error when trying to 'apply modifications' from the Edit Files page. 

Script called without the required parameter(s). (aid1552)

File: /home/jamieand/public_html/coppermine/editpics.php - Line: 84


I have tried deleting editpics.php and uploading a fresh copy as suggested in this thread:
http://forum.coppermine-gallery.net/index.php/topic,50026.0.html
I have not deleted the User galleries category as was the problem for this poster.   

I am running 1.4.16 and I have run versioncheck.php to confirm that all my files are up to date. 
I have checked that all the tables in my database are repaired or error free. 

My gallery is here:
http://www.jamieandmelissa.org/coppermine/

Thanks

Nibbler

Does it work with a small number of images in the album and then suddenly stop when you reach a certain number? If so then it's probably a 'security' restriction imposed by your webhost.

mcoates

Possibly.  I just tried editing the files in a small album (8 files) and it worked just fine.  The album I had been working on when I got the error may be my biggest album (69 files) to date.  And it seems that it has saved the file information for the first 22 of 25 files even though I got the error after hitting 'apply modifications' after modifying all 25 files.    Previously I have had albums as big as 58 files without this error. 

So does this sound like a 'security' restriction?  Is there anyway to work around it?

Thanks for your quick response,
Melissa

Nibbler

If you have a decent webhost they might increase the limit for you. Otherwise you could mod editpics to work on only 20 pics per page.

mcoates

Thanks.

I doubt my webhost is 'decent' but if I were going to ask them to make a change, what would I ask for exactly?


Nibbler

Ask for the limit on the number of POST form fields to be increased or removed. They are using suhosin or a similar hardening patch for PHP.


Joachim Müller