mydomainname.com is currently unable to handle this request. HTTP ERROR 500

Hello All,

I am getting error "mydomainname.com is currently unable to handle this request. HTTP ERROR 500" while i logged out.

It is working fine on my localhost, Problem comes when site is live. please help :)

What version of php do you use.Can you see the log files of the server?

php version 5.6 and no i can’t see error logs.

Have you Plesk or Cpanel installed,maybe you can see there server error logs

hello @dimis, I don’t have privilege to see error logs but i ask administrator about the server error logs and he is saying that there is no entry in server error logs. Please help

Can you check Yii logs then? In runtime directory.

In app.log there is an entry " syntax error or access violation: 1142 DELETE command denied to user ‘ramkisan’@‘localhost’ for table ‘session’ The SQL being executed was: DELETE FROM session WHERE id='dvk6fjfq3 "

I think i need to uncheck delete privilege in my database … am i right ?

Yes.

The error is too generic and does not tell you exact problem. What you need is to find out what is the real issue. If your site is serving a Internal Server Error, this can be caused by a number of things, such as:

  • Server permission
  • Server timeout
  • Script timeout
  • Errors in .htaccess files
  • Exceeded PHP memory limit.
  • Or some other Web Server Issues

Normally, a permissions issue on the file (or files) would be one cause of the 500 Internal Server Error. The simple solution is to run chmod 644 on the problem file(s) or chmod 755 on the directories.

$ sudo chmod -R 777 /"your files location"

The best way to debug the error depends upon the server and what’s actually running at the time. Consider some debugging tips to help diagnose and fix common causes of this problem.