• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

File upload: Internal server error

Status
Not open for further replies.

Craig

Chevereto Member
I have had a few users contact me and say they were unable to upload a photo and received an error message. Internal server error. I took a look at the error log in my FTP but could not understand where the error is coming from. Could use some assistance, thank you.
 
Hi @Craig

You should check your server's error_log file, that is where the error should be logged. Once you get it, post it here and we will be able to help you.

Rick.
 
Hey,

Thanks for replying Rick.

The error log shows the following many times. It has happened to me a few times and to my users too many times.

[Thu Dec 22 01:08:16 2016] [error] [client 100.43.91.14] File does not exist: /home/admincraig422/picballot.com/robots.txt


[Wed Dec 21 01:09:34 2016] [error] [client 148.251.190.162] File does not exist: /home/admincraig422/picballot.com/missing.html

I have double checked the file type and increased the size allowed in one upload.

Thanks for helping.


Craig
 
Those errors aren't related to the issue described in the first post. Can you please send us the complete error_log file?

Send it to inbox@chevereto.com
 
I had to debug this on my own. This is what I found.

1. All error logs are right there.

upload_2016-12-26_12-8-3.png

2. The error is show in error.log.2016-12-25:

Code:
[Sun Dec 25 09:03:49 2016] [error] [client 66.249.93.64] ModSecurity: collections_remove_stale: Failed deleting collection (name "ip", key "199.167.16.249"): Internal error (specific information not available) [hostname <edited>] [uri "/images/2016/12/17/IMG_4808.md.png"] [unique_id "WF-79EPNCk0AAEymcJIAAAAQ"]
[Sun Dec 25 09:03:49 2016] [error] [client 66.249.93.71] ModSecurity: collections_remove_stale: Failed deleting collection (name "ip", key "149.210.189.216"): Internal error (specific information not available) [hostname <edited>] [uri "/images/2016/12/18/IMG_4806.md.png"] [unique_id "WF-79EPNCk0AAEyqdfcAAAAU"]
[Sun Dec 25 09:03:49 2016] [error] [client 66.249.93.64] ModSecurity: collections_remove_stale: Failed deleting collection (name "ip", key "199.167.16.249"): Internal error (specific information not available) [hostname <edited>] [uri "/images/2016/12/17/IMG_4805.md.png"] [unique_id "WF-79EPNCk0AAEyoctsAAAAS"]
[Sun Dec 25 09:03:49 2016] [error] [client 66.249.93.64] ModSecurity: collections_remove_stale: Failed deleting collection (name "ip", key "199.167.16.249"): Internal error (specific information not available) [hostname <edited>] [uri "/images/2016/12/14/IMG_4279.md.jpg"] [unique_id "WF-79EPNCk0AAEyncbsAAAAR"]

I found that these errors are thrown in busy servers when using mod_security. You must contact your hosting company, this problem is not Chevereto related.
 
Hope they can make it work.

Hosting company recommends that I increase the PHP upload default limits and suggested I create a phprc file using my FTP to do so.

1) Should I adjust the defaults within Chevereto or FTP?

2) If I should adjust within Chevereto, where can I find the correct file to do so?

Thanks
 
Chevereto doesn't control your server. It runs on top of your server so you need to follow their instructions.
 
I also had Internal Server Errors 500 after upgrading to PHP 5.6 and 7.0. It's not a Chevereto thing. I also had these errors on a Wordpress Site. There are many causes for these errors. It might have something to do with PHP-FastCGI.

I went back to PHP 5.4.45 and removed the PHP-integrity check in Chevereto. Now everything is stable again. I
 
I also had Internal Server Errors 500 after upgrading to PHP 5.6 and 7.0. It's not a Chevereto thing. I also had these errors on a Wordpress Site. There are many causes for these errors. It might have something to do with PHP-FastCGI.

I went back to PHP 5.4.45 and removed the PHP-integrity check in Chevereto. Now everything is stable again. I

Thanks for responding. Where can I find the integrity check?

I ended up changed the default settings in the PHP.ini file. I increased the PHP memory limit, upload time and max execution time and have not had the error since.
 
Status
Not open for further replies.
Back
Top