我正在使用drupal7。服务器错误500
当我尝试打开该网站,它给内部服务器错误:
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
但是当我们打开这个在Firefox上,它什么都不做。任何想法?
我正在使用drupal7。服务器错误500
当我尝试打开该网站,它给内部服务器错误:
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
但是当我们打开这个在Firefox上,它什么都不做。任何想法?
这是由于code.Enable错误报告中的错误,看看会发生什么。
该代码将帮助你 -
ini_set('display_errors', '1');
error_reporting(E_ALL^E_NOTICE);
阅读更多 - http://pcsupport.about.com/od/findbyerrormessage/a/500servererror.htm
PHP脚本给出了一个错误,但因为你的PHP设置被设置为生产模式,它不产生一个错误和叶错误处理到您的网络服务器(大部分时间Apache)。
你可以做下面的事情之一:
但是,当您执行上述其中一项操作时,只会看到错误消息,修复问题的步骤是第二步。
你是什么意思?“当我们在Firefox上打开它时,它什么都不做。”?它显示白色屏幕? –
是的,它显示白屏 –