forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: Jochus on May 21, 2008, 11:35:03 pm

Title: Suhosin is still blocking my batch add pictures
Post by: Jochus on May 21, 2008, 11:35:03 pm
A long time ago, I had this problem here => http://forum.coppermine-gallery.net/index.php/topic,52262.0.html

I could solve it by setting the suhosin configuration like

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

I never had to upload more than 60 pictures in an album, so everything went great.

Now I have to upload 190 pictures in 1 album. And here it gets total crazy after 91 pictures. Then I get the same problem as in my older post. There are you too many requests I guess,so suhosin stops it. Raising the values doesn't help (I tried 10000 instead of 1000).

What is the thing I can do now?
Title: Re: Suhosin is still blocking my batch add pictures
Post by: Jochus on May 21, 2008, 11:52:14 pm
I managed to get a  workaround

* chmod the first 91 pics to 0600
* reupload the other pics
* chmod to 0777
* batch those files
* chmod all orig pics back to 0777

Problem solved
Title: Re: Suhosin is still blocking my batch add pictures
Post by: Blackhat_CZ on November 19, 2008, 10:02:28 am
I managed to get a  workaround

* chmod the first 91 pics to 0600
* reupload the other pics
* chmod to 0777
* batch those files
* chmod all orig pics back to 0777

Problem solved

This doesn't work in my case. So the simpliest way is:

* Make a directory "Foto2005" and copy there 91 pic
* batch those files
* Make second dir for example "Foto2005b" and copy rest of the pics.
* batch those files to the same Album in Coppermine

Easy, Simple, and took me hours to tryed solved the problem correct way - but this way is the fastest solution.