coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: mcoates on February 29, 2008, 12:48:24 AM

Title: editpics: Script called without the required parameter(s)
Post by: mcoates on February 29, 2008, 12:48:24 AM
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
Title: Re: editpics: Script called without the required parameter(s)
Post by: Nibbler on February 29, 2008, 12:52:57 AM
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.
Title: Re: editpics: Script called without the required parameter(s)
Post by: mcoates on February 29, 2008, 01:18:16 AM
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
Title: Re: editpics: Script called without the required parameter(s)
Post by: Nibbler on February 29, 2008, 01:37:40 AM
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.
Title: Re: editpics: Script called without the required parameter(s)
Post by: mcoates on February 29, 2008, 02:09:37 AM
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?

Title: Re: editpics: Script called without the required parameter(s)
Post by: Nibbler on February 29, 2008, 02:18:50 AM
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.
Title: Re: editpics: Script called without the required parameter(s)
Post by: mcoates on February 29, 2008, 08:08:08 PM
Thanks!
Title: Re: editpics: Script called without the required parameter(s)
Post by: Joachim Müller on March 01, 2008, 01:06:15 AM
Issue solved then?