Suhosin is still blocking my batch add pictures Suhosin is still blocking my batch add pictures
 

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

Main Menu

Suhosin is still blocking my batch add pictures

Started by Jochus, May 21, 2008, 11:35:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jochus

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

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?

Jochus

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

Blackhat_CZ

Quote from: 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

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.