500 Internal Server Error. How can I fix the problem?

Started by Torreto, December 02, 2016, 11:41:12 AM

Previous topic - Next topic

Torreto

This is what I can see in the logs:

2016/12/01 18:13:24 [crit] # 1818 0 * 13264 open () "/ var / lib / nginx / tmp / proxy / 5/28/0000000285" failed (13: Permission denied) while reading upstream , client: xxx.xxx.xxx.xxx, server: site.com, request: "GET /engine/classes/min/index.php?charset=utf-8&g=admin&16 HTTP / 1.1", upstream: "http://127.0.0.1 : 8080 / engine / classes / min / index.php charset = utf-8 & g = admin & 16 ", host:"? www.site.com ", referrer:" https://www.mydomain.com/admin.php?mod = editnews & action = editnews & id = 51

"2016/12/01 18:13:25 [warn] # 1818 0 * 13263 delaying request, excess: 0.616, by zone "site.ocm", client: xxx.xxx.xxx.xxx, server: site.com, request: "GET /favicon.ico HTTP / 1.1 ", host:" www.site.com ", referrer:" https://www.mydomain.com/admin.php?mod=editnews&action=editnews&id=51 "


The site itself is working fine, but when you add news and uploading images, gets 500 Internal Server Error.

Please tell me what could be the problem?

Karaan


Joe

Check the permissions.

Should be 644 for the files
755 for the folder
The files and folders that you want to record, should have 777 permission.

Amrit

Maybe this can be useful:

The chown -R the apache: the apache / the var / the lib / nginx could Fixed error
Reboot the server.

Torreto

The chown -R the apache: the apache / the var / the lib / nginx partially fixed the bug.

But still facing problems with images. not able to uploaded them the server.