MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: 500 Internal Server Error. How can I fix the problem?  (Read 4459 times)

0 Members and 1 Guest are viewing this topic.

Offline Torreto

  • Newbie
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
    • play idle games
500 Internal Server Error. How can I fix the problem?
« on: December 02, 2016, 11:41:12 AM »
This is what I can see in the logs:

Code: [Select]
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?

MilesWeb Hosting Forum

500 Internal Server Error. How can I fix the problem?
« on: December 02, 2016, 11:41:12 AM »

Offline Karaan

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: 500 Internal Server Error. How can I fix the problem?
« Reply #1 on: December 02, 2016, 11:49:31 AM »
Have you tried checking the disk space?

Offline Joe

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
    • my today's horoscope
Re: 500 Internal Server Error. How can I fix the problem?
« Reply #2 on: December 02, 2016, 11:58:52 AM »
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.

Offline Amrit

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
    • SEO Algorithm News
Re: 500 Internal Server Error. How can I fix the problem?
« Reply #3 on: December 02, 2016, 12:03:40 PM »
Maybe this can be useful:

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

Offline Torreto

  • Newbie
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
    • play idle games
Re: 500 Internal Server Error. How can I fix the problem?
« Reply #4 on: December 02, 2016, 12:08:02 PM »
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.