coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: javierin79 on April 23, 2006, 08:08:59 PM

Title: Batch Upload Problem
Post by: javierin79 on April 23, 2006, 08:08:59 PM
Hi. I am running Coppermine 1.4.5 under Apache 2.0.55 with gd version 2.0.33 and PHP 5.1.2 on a linux environment

I have uploaded to a directory all my fioles (which are quite a few, 300, 2-3 Mbyte jpg each (8mpx))

When I try to batch upload them to a newly created album, it takes some time to generate the intermediate thumbnails, but it does. Then I select the target album, leave all the files selected as it does by default and click on the button that would add them to the album.

Here comes the problem. When I click the button, it redirects to http://myalbum.tld/searchnew.php?insert=1 and displays the following message:

Error   
No tienes permisos para acceder a esta página.
Fichero: /var/www/localhost/htdocs/album/searchnew.php - Línea: 25

Which would translate into english as: Error, you don't have permissions to access this page

Uploading individual files works flawlessly, but being 300 + 100 the pictures i want to upload, i can't consider that as an option.

Any help with this?

Title: Re: Batch Upload Problem
Post by: javierin79 on April 23, 2006, 08:15:12 PM
Well It seems there are some limits reached here as my apache log shows. I'm sorry and hope this helps someone with the same problem as me.

[Sun Apr 23 19:58:51 2006] [error] [client 192.168.0.1] ALERT - configured request variable limit exceeded - dropped pics[] (attacker '192.168.0.1', file '/var/www/localhost/htdocs/album/searchnew.php'), referer:

Never mind I found someone with the same problem as me. I'm heading towards the sticky posts section to follow instructions.
Title: Re: Batch Upload Problem
Post by: javierin79 on April 29, 2006, 07:29:31 PM
The problem seemed to be with the hardened php  I had. Compiling php explicitly for coppermine with no security enhancements made everything go fine.