Internal Server Error on Upload Internal Server Error on Upload
 

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

Internal Server Error on Upload

Started by chrisdailey, October 11, 2009, 05:52:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chrisdailey

I am new to Coppermine (and very impressed so far).  I have a fresh install of 1.4.25 on a Linux box hosted by 1and1.  I am trying to get pictures into my first album and I have tried two different methods so far:

Batch Add Files:
- Select the sub-directory to upload (20091010) and either all files or individual files in the directory
- Select the album
- Next screen shows "click for details or to reload"
- Click on the link and get "500 Internal Server Error"

Single File Upload:
- Select File from hard drive
- Upload successful - click "Continue" to add the files to albums
- Clicking "Continue" brings up a 500 Internal Server Error

Steps taken so far to resolve:
- Tried a chmod -R 777 on the album directory
- Made sure my configuration settings allowed for the size file I was uploading
- Checked my server logs - no clear errors
- Turned on debugging - no clear errors
- Admin -> Update Database - just to make sure there was nothing funny in my DB
- Searched the board and documentation for any additional ideas that I might have missed

Test User:
U:******
P: *********
Thank you in advance for your time and assistance in resolving this issue.

Chris Dailey

Jeff Bailey

Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jeff Bailey

Also, this post and this post suggest your host limits your upload size. Do you know your upload limit?
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

chrisdailey

And I thought I was being so good and including everything - I guess the link would be helpful:

Http://www.chrisdailey.net/gallery

I don't know the upload size limits, but I will check.  I hadn't looked into that .side much because the upload portion seemed to be succesful when I did the individual files.

Chris

Jeff Bailey

The user you created is an admin. Please create a non admin user.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Jeff Bailey

I was able to upload 3 photos into a user album at sizes up to 500kb as single file uploads, everything went as it should. Then I tried to upload one of your photos (3.3MB) and I received the error. Reduce the size of your photos then try the batch upload. I'm sure its your host limiting your upload size.

Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

phill104

chrisdailey,

Never ever post an admin password anywhere on the net. Once a hacker has your password he can do almost anything he wants to your setup, I am sure you wouldn't want that.

I have remove the password details from your initial posting & changed the password of the test user you created. If you require this password just ask and I will send you a PM. What I suggest though is you remove that user and set up a new user. Please make sure this user is not in the admin group but a standard user.

We never ask for an admin user account (or very rarely) as we can normally work out what is going wrong from a standard user account, even batch uploads.
It is a mistake to think you can solve any major problems just with potatoes.

chrisdailey

Thank you for addressing my issue, and for your concern about the security of my site.  I have resized the images by 50% and everything loaded fine.

I recognize this is a limitation of my host and not the software, but I find this a little disappointing.  I would like to use the software to make hi-res images available to clients.  Can somebody please help me understand why the upload size limit impacts batch inserts of files already on my server?

Thank you again to everyone for your time spent helping me on this issue.

Chris

Jeff Bailey

Quote from: chrisdailey on October 12, 2009, 12:13:43 AMCan somebody please help me understand why the upload size limit impacts batch inserts of files already on my server?

The only thing I would suggest is to double check your "Max size for uploaded files (KB)".
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

phill104

1and1 in the UK has some strict limits on server resources. Most hosting packages have many users using the same server. Each user gets a small amount of the resources available on each system and depending on your host or package with that host they place limits on how much memory, disk space and processor time that you are allowed to use. So if an image requires more memory for instance that you are allowed to use you will get a 500 server error.

Your only option is to speak to your host to see how/if they can increase that limit but it usually involves more cost.
It is a mistake to think you can solve any major problems just with potatoes.