我的symfony 1.4應用程序的生產環境會產生500內部服務器錯誤。Symfony 1.4切換到生產環境
想我的本地機器上覆制同樣的錯誤,它基本上得到了500內部服務器錯誤,以及與下列消息一起:
500 | Internal Server Error | sfConfigurationException
You must provide a "file" parameter for this logger
at()
in SF_SYMFONY_LIB_DIR/log/sfFileLogger.class.php line 48 ...
{
if (!isset($options['file']))
{
throw new sfConfigurationException('You must provide a "file" parameter for this logger.');
}
if (isset($options['format']))
訪問我的Apache錯誤日誌和它規定如下:
[客戶端127.0.0.1]文件不存在:/的USR,引用者:http://localhost:8080/index.php
一個人建議檢查阿帕奇rewrite_module如果ENAB領導與否,並在訪問httpd.conf文件在我的MAMP/conf目錄/阿帕奇文件夾,裏面是
的LoadModule rewrite_module ...
,它是註釋掉,這我推斷它已被啓用。我已經設置: $ configuration = ProjectConfiguration :: getApplicationConfiguration('frontend','prod',true);
我在哪裏錯過了一招?你的迴應,建設性的批評是受歡迎和讚賞的!
謝謝! Parijat