Ошибка при переносе на денвер
Перенёс сайт с хостинга на денвер.
В config.local.php строчку:
заменил на:
При заходе на сайт выходит такая ошибка:
Подскажите пожалуйста как решить проблему.
В config.local.php строчку:
$config['path']['root']['server'] = $_SERVER['DOCUMENT_ROOT'];
заменил на:
$config['path']['root']['server'] = 'Z:\home\site.ru\www';
При заходе на сайт выходит такая ошибка:
Warning: include_once(Z:\home\site.ru\www\engine\lib\external\Smarty\libs\sysplugins\smarty_internal_templatebase.php) [function.include-once]: failed to open stream: No such file or directory in Z:\home\site.ru\www\engine\lib\external\Smarty\libs\Smarty.class.php on line 96
Warning: include_once() [function.include]: Failed opening 'Z:\home\site.ru\www\engine\lib\external\Smarty\libs\sysplugins\smarty_internal_templatebase.php' for inclusion (include_path='.;/usr/local/php5/PEAR;Z:\home\site.ru\www;Z:\home\site.ru\www\engine\classes') in Z:\home\site.ru\www\engine\lib\external\Smarty\libs\Smarty.class.php on line 96
Warning: include(Z:\home\site.ru\www\engine\lib\external\Smarty\libs\sysplugins\smarty_internal_templatebase.php) [function.include]: failed to open stream: No such file or directory in Z:\home\site.ru\www\engine\lib\external\Smarty\libs\Smarty.class.php on line 1506
Warning: include() [function.include]: Failed opening 'Z:\home\site.ru\www\engine\lib\external\Smarty\libs\sysplugins\smarty_internal_templatebase.php' for inclusion (include_path='.;/usr/local/php5/PEAR;Z:\home\site.ru\www;Z:\home\site.ru\www\engine\classes') in Z:\home\site.ru\www\engine\lib\external\Smarty\libs\Smarty.class.php on line 1506
Fatal error: Class 'Smarty_Internal_TemplateBase' not found in Z:\home\site.ru\www\engine\lib\external\Smarty\libs\sysplugins\smarty_internal_template.php on line 22
Подскажите пожалуйста как решить проблему.
10 комментариев
$config['path']['smarty']['template'] = '___path.root.server___/templates/skin/___view.skin___';
$config['path']['smarty']['compiled'] = '___path.root.server___/templates/compiled';
$config['path']['smarty']['cache'] = '___path.root.server___/templates/cache';
$config['path']['smarty']['plug'] = '___path.root.engine___/modules/viewer/plugs';
Не могу понят в чем дело, на хостинге же всё работает.