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

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

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.