currently unable to handle this request HTTP ERROR 500 [closed]

冷暖自知 提交于 2019-12-04 19:15:37

问题


I have transferred my shopping cart files from local to live. The shopping cart which i am using is Interspire.

When I load the page, it shows me this error

currently unable to handle this request.

The domain is http://4living.de/

I hope to discover why it is showing this error.


回答1:


You site is serving a 500 Internal Server Error. This can be caused by a number of things, such as:

  • File Permissions
  • Fatal Code Errors
  • Web Server Issues

EDIT

As you have highlighted it is a permission issue. You need to ensure that your files are executable by the web server user

Please see below article for some guidance on proper file permissions. https://www.digitalocean.com/community/questions/proper-permissions-for-web-server-s-directory




回答2:


I was having "(...) unable to handle this request. http error 500" and found out it was from a require_once that was working locally, on a windows machine, with backslash (\) as separator for directories but when i uploaded to my server it stopped working. I changed it to forward slash (/) and now is ok.

require_once ( 'cards\cards.php' ); // **http error 500**

require_once ( 'cards/cards.php' ); // OK



回答3:


Have you included the statement include ("fileName.php"); ?

Are you sure that file is in the correct directory?




回答4:


My take on this for future people watching this:

This could also happen if you're using: <? instead of <?php.




回答5:


I found this was caused by adding a new scope variable to the login scope



来源:https://stackoverflow.com/questions/41062714/currently-unable-to-handle-this-request-http-error-500

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!