Jump to content

Recommended Posts

При переносе с сервера на локальный компьютер выдает:

Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'main.tpl'' in C:\Users\Public\htdocs\choosemood\Smarty\libs\sysplugins\smarty_internal_template.php:163 Stack trace: #0 C:\Users\Public\htdocs\choosemood\Smarty\libs\sysplugins\smarty_internal_template.php(550): Smarty_Internal_Template->isExisting(true) #1 C:\Users\Public\htdocs\choosemood\Smarty\libs\Smarty.class.php(338): Smarty_Internal_Template->getRenderedTemplate() #2 C:\Users\Public\htdocs\choosemood\api\Design.php(63): Smarty->fetch('main.tpl') #3 C:\Users\Public\htdocs\choosemood\view\MainView.php(33): Design->fetch('main.tpl') #4 C:\Users\Public\htdocs\choosemood\view\IndexView.php(65): MainView->fetch() #5 C:\Users\Public\htdocs\choosemood\index.php(29): IndexView->fetch() #6 {main} thrown inC:\Users\Public\htdocs\choosemood\Smarty\libs\sysplugins\smarty_internal_template.php on line 163

Где копать? В чем может быть проблема? Заранее благодарен за ответ.

Link to post
Share on other sites

еще может быть что неправильно определяет путь к корню, но это уже после всего вышеупомянутого

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...