我的服务器出了问题。所以我的托管服务提供商上传了我的Symfony网站的备份副本。该网站正在运行,您可以登录等。但是当您登录并点击“转到管理!”它得到 - 500 |内部服务器错误| sfException - 找不到“root”的数据文件。
网站正在使用symfony v.1.4.15 - php 5.3.27
这是整个堆栈跟踪:
at ()
in SF_ROOT_DIR/lib/vendor/symfony/lib/i18n/sfCultureInfo.class.php line 302 ...
if (is_file($filename) == false)
{
var_dump($filename);
throw new sfException(sprintf('Data file for "%s" was not found.', $file));
}
if (in_array($filename, $this->dataFiles) == false)
at sfCultureInfo->loadCultureData('root')
in SF_ROOT_DIR/lib/vendor/symfony/lib/i18n/sfCultureInfo.class.php line 216 ...
at sfCultureInfo->__construct('bg_BG')
in SF_ROOT_DIR/lib/vendor/symfony/lib/i18n/sfCultureInfo.class.php line 136 ...
at sfCultureInfo::getInstance('bg_BG')
in SF_ROOT_DIR/lib/vendor/symfony/lib/i18n/sfDateTimeFormatInfo.class.php line 186 ...
at sfDateTimeFormatInfo::getInstance('bg_BG')
in SF_ROOT_DIR/lib/vendor/symfony/lib/i18n/sfDateFormat.class.php line 100 ...
at sfDateFormat->__construct('bg_BG')
in SF_ROOT_DIR/lib/vendor/symfony/lib/helper/DateHelper.php line 57 ...
at format_date(1484310234, 'F', null, null)
in SF_ROOT_DIR/lib/vendor/symfony/lib/helper/DateHelper.php line 65 ...
at format_datetime(1484310234)
in SF_ROOT_DIR/apps/backend/modules/default/templates/_header.php line 50 ...
at require('/www/simplyshopping.eu/www/apps/backend/modules/default/templates/_header.php')
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPHPView.class.php line 75 ...
at sfPHPView->renderFile('/www/simplyshopping.eu/www/apps/backend/modules/default/templates/_header.php')
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPartialView.class.php line 124 ...
at sfPartialView->render()
in SF_ROOT_DIR/lib/vendor/symfony/lib/helper/PartialHelper.php line 157 ...
at get_component('default', 'header', array())
in SF_ROOT_DIR/lib/vendor/symfony/lib/helper/PartialHelper.php line 115 ...
at include_component('default', 'header')
in SF_ROOT_DIR/apps/backend/templates/layout.php line 12 ...
at require('/www/simplyshopping.eu/www/apps/backend/templates/layout.php')
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPHPView.class.php line 75 ...
at sfPHPView->renderFile('/www/simplyshopping.eu/www/apps/backend/templates/layout.php')
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPHPView.class.php line 146 ...
at sfPHPView->decorate('')
in SF_ROOT_DIR/lib/vendor/symfony/lib/view/sfPHPView.class.php line 196 ...
at sfPHPView->render()
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 155 ...
at sfExecutionFilter->executeView('default', 'index', 'Success', array())
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 116 ...
at sfExecutionFilter->handleView(object('sfFilterChain'), object('defaultActions'), 'Success')
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 54 ...
at sfExecutionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfBasicSecurityFilter.class.php line 72 ...
at sfBasicSecurityFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfRenderingFilter.class.php line 33 ...
at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/lib/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/vendor/symfony/lib/controller/sfController.class.php line 238 ...
at sfController->forward('default', 'index')
in SF_ROOT_DIR/lib/vendor/symfony/lib/controller/sfFrontWebController.class.php line 48 ...
at sfFrontWebController->dispatch()
in SF_ROOT_DIR/lib/vendor/symfony/lib/util/sfContext.class.php line 170 ...
at sfContext->dispatch()
in SF_ROOT_DIR/root/backend.php line 7 ...