Image Uploads max of only 55k Image Uploads max of only 55k
 

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

Image Uploads max of only 55k

Started by DerrickG72, September 06, 2013, 10:13:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DerrickG72

Fresh install of cpg15x! And absolutely no luck!!

This is very frustrating to me! My max upload and post sixe is set to 128M. But any attempt to upload an image that is over 55k I get an Upload Error: 500.
I have gone through the boards for over 4 hours and have not found a definitive answer on how to get images into this gallery.

Also being fully plagued with Runtime Notices on:
/include/inspekt/cage.php
/include/init.inc.php
/bridge/coppermine.inc.php
/include/functions.inc.php
/bridge/udb_base.inc.php
/themes/curve/theme.php
/include/themes.inc.php
/upload.php

I have used Menalto Gallery2 and adjusted PHP.ini to get 300dpi images up and available for downloads.... but I cant get any traction with this setup. Can someone please advise me on what I can do or even tell me if I am wasting my time with this software.

Thanks!

phill104

If you give your host the exact time that you get the 500 error the logs should tell us exactly what is going on.

Also please read the upload troubleshooting section of the docs and post all the information it asks for so we can be better placed to help you.
It is a mistake to think you can solve any major problems just with potatoes.

DerrickG72

Phill, do you need my server logs or the log report that I see when I log into my Coppermine?

phill104

A 500 error is server related. It means that it has tried to do something it cannot or is not allowed to do. The error is generic and it is the server error log at the exact time of the incident that you need to look at. If you do not understand the messages just post the messages that appear at the exact time of the problem. Where those logs are in your server depends on how your host has set things up. By knowing the exact time it makes the correct entry easy to find as the logs can be very large.

Also read this section of the docs and do as outlined so we can test - http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_trouble
It is a mistake to think you can solve any major problems just with potatoes.

DerrickG72

Here is the error I get from the server log Mon Sep 09 08:47:36 2013] [error] [client 71.184.102.10] File does not exist: /home/schyll5/public_html/vault5/500.shtml

Also I have checked my permissions on all folders and tried them both ways, 777 and 775.

When I try to upload using the simple method I get this error:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@vault5.schylling.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


site: vault5.schylling.net
user account: test-user
password: DSGN651

Αndré

Is there anything else in the server logs nearby that time? That looks like the 404 error to me.

You said it was possible to upload larger files with the Gallery2 software. If it's still installed on your server (or if it can be restored/re-installed easily), can you please test if it still works? I don't see a reason that it should fail for Coppermine, as we don't use any extravagant code.

DerrickG72

The GalleryII install I have is still working perfectly. So I am not sure why I keep getting the 404 errors. Here is the error log file that I just got from the server after trying to upload another image:

[Tue Sep 10 09:30:54 2013] [error] [client 71.184.102.10] File does not exist: /home/schyll5/public_html/vault5/500.shtml, referer: http://vault5.schylling.net/upload.php?album=2
[Tue Sep 10 09:25:34 2013] [error] [client 71.184.102.10] File does not exist: /home/schyll5/public_html/favicon.ico
[Tue Sep 10 09:25:33 2013] [error] [client 71.184.102.10] File does not exist: /home/schyll5/public_html/favicon.ico
[Tue Sep 10 09:11:15 2013] [error] [client 50.90.148.215] File does not exist: /home/schyll5/public_html/favicon.ico
[Tue Sep 10 09:06:58 2013] [error] [client 50.90.148.215] File does not exist: /home/schyll5/public_html/favicon.ico
[Tue Sep 10 09:06:51 2013] [error] [client 50.90.148.215] File does not exist: /home/schyll5/public_html/401.shtml, referer: http://www.schylling.com/k/repdealer/Rep++Dealer
[Tue Sep 10 08:53:05 2013] [error] [client 150.70.64.212] File does not exist: /home/schyll5/public_html/401.shtml
[Tue Sep 10 08:51:10 2013] [error] [client 150.70.97.116] File does not exist: /home/schyll5/public_html/401.shtml
[Tue Sep 10 08:49:38 2013] [error] [client 162.199.155.16] File

Αndré

Maybe one or more Coppermine files have been corrupted during upload. Please replace them with copies from the Coppermine package (the same procedure like performing an upgrade).

Those error messages doesn't make sense to me why you get an 500 error message.

phill104

In addition to Andre's advice please check your .htaccess file if you have one as this can sometimes throw up errors such as this though I wouldn't think that would cause uploads to sometimes work and sometimes not.
It is a mistake to think you can solve any major problems just with potatoes.

DerrickG72

The only thing that is in my .htaccess file is: # To set your custom php.ini, add the following line to this file:
suphp_configpath /home/schyll5/public_html/php.ini

phill104

It is a mistake to think you can solve any major problems just with potatoes.

DerrickG72

I have replaced all the files via FTP and still have the same results. Maybe its time to abandon Coppermine.

Αndré

Just to make sure it's not the .htaccess file which causes the trouble, please delete it and try again. Does batch-add works as expected?

DerrickG72

I have removed the htaccess file and still have the same results. I think my next approach will be a completely new install. Basically starting from scratch.

DerrickG72

Ok, I did a fresh install of coppermine, made the maximum upload size to 128mb in the config. And still cant upload a file that is 180KB. Still get the same error 500. In my debug logs I can see this:
                             
max_input_time           60                               
upload_max_filesize      128M                             
post_max_size            128M                             
memory_limit             128M                             

Αndré

I'm at a dead end here. All I can do is to ask you to contact your hosting provider about that issue, maybe they have some more useful information. Maybe someone else has a better idea.