Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Suhosin is still blocking my batch add pictures  (Read 3119 times)

0 Members and 1 Guest are viewing this topic.

Jochus

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Suhosin is still blocking my batch add pictures
« 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?
Logged

Jochus

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Suhosin is still blocking my batch add pictures
« Reply #1 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
Logged

Blackhat_CZ

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Suhosin is still blocking my batch add pictures
« Reply #2 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.