Batch-Upload problem Batch-Upload problem
 

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

Batch-Upload problem

Started by Raven24, May 18, 2007, 04:14:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Raven24

Hello!
I just installed Coppermine and now I wanted to upload my pictures.

The problem is, that if I want to batch-upload the content of a folder containing ~50 pics it works fine - no errors.
But if I want to batch-upload a folder that has ~70 and more pics there is an error on the next page (searchnew.php?insert=1) saying "Du hast kein Recht, diese Seite anzusehen." which means something like "You are not allowed to view this page"

When I split up the images in two folders it's working again, so I think it has something to do with the amount of pictures...

strange...

Joachim Müller

Not strange. This is what you call a "Timeout". When asking for support on upload issue, read the sticky thread first and do exactly as suggested in the upload troubleshooting section of the docs.

Raven24

I've done what you said...
When I enabled debug mode and reduced the upload-fields to one, I uploaded an image and had an error in functions.inc.php on line: 1315
I fixed the file as suggested in http://forum.coppermine-gallery.net/index.php?topic=42940.0

I also changed my php.ini
memory limit = 1024M
max execution time = 240
max input time = 480
and of course restarted apache

Now the http upload works well, but if I try to make a batch-upload the error stays the same. Debug mode shows this output
Du hast kein Recht, diese Seite anzusehen.
Datei: ...../searchnew.php - Zeile: 26

-> "You are not allowed to view this page ... searchnew.php - Line: 26"

Do you want a test account? debug output? Anything else?

Joachim Müller

Don't fix stuff that isn't broken. As I suggested:
Quote from: GauGau on May 18, 2007, 04:20:11 PMdo exactly as suggested in the upload troubleshooting section of the docs.
I have nothing else to say, I can't/won't provide support unless you read that section carefully and do exactly as suggested.

Raven24

Ok... I thought I did so, but to be absolutely sure, I am going to use the troubleshooting-section as a checklist

* Go to your coppermine page and log in as admin
- done
* Go to the config screen
- done
* Scroll to the bottom of the page
- done
* Expand the "Maintenance settings" section by clicking on it
- done
* Enable debug mode for everyone
- done
* Leave display of notices switched off
- done
* Save the new settings by clicking on "Save new configuration"
- done
* Go to the "groups" panel
- done
* Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1",
- done
URI upload boxes to "0"
- done
and No. of boxes to "fixed")
- done
* Save your new settings
- done
Then try to upload (using http uploads, even if you experienced troubles using another upload method) -
- done
you should get a more detailed error message that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, search the support board for the error message you get.
- done (was that "functions.inc.php on line: 1315"-stuff)
When asking for support on the coppermine forum, post a link to your site
- oh I see!!!
and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place
- see below
this way, supporters can see the error messages as well. Do not post debug_output unless requested.

Now I see what you meant. Please excuse me for being too lazy to read till the end...

URL: http://aristoteles.serveftp.org/flogallery/
User: test
PWD: testtest

Hopefully that helps to solve the problem...

Raven24

Sorry for the double-post, but I just wanted to ask whether somebody already had the chance to look at my problem.
If not, I would appreciate it if somebody would do so.

Thank you!

Nibbler

That is not what a double post is. You are running into resource limits imposed by your webhost. All you can do is keep your use within those limits or upgrade your hosting.

Raven24

I see... My server is a pretty old machine (800 MHz CPU and 1GB RAM) and I was thinking of upgrading anyhow.

Thank you for your help - it's good to know that it wasn't the configuration or anything else.

For me the problem is solved.