|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
ssk8323 Smarty n00b
Joined: 13 May 2014 Posts: 2
|
Posted: Tue May 13, 2014 7:03 am Post subject: Error come with set up the site |
|
|
I copied and set up a smarty site locally, but it doesn't work. following error msg is coming . any solution.
[13-May-2014 08:55:34 Europe/Berlin] PHP Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'content_framework.html'' in C:\xampp\htdocs\paraveterinair\includes\Smarty-3.1.13\libs\sysplugins\smarty_internal_templatebase.php:127
Stack trace:
#0 C:\xampp\htdocs\paraveterinair\includes\Smarty-3.1.13\libs\sysplugins\smarty_internal_templatebase.php(374): Smarty_Internal_TemplateBase->fetch('content_framewo...', NULL, NULL, NULL, true)
#1 C:\xampp\htdocs\paraveterinair\classes\page.class.php(142): Smarty_Internal_TemplateBase->display('content_framewo...')
#2 C:\xampp\htdocs\paraveterinair\controllers\index.controller.php(32): Page->output()
#3 C:\xampp\htdocs\paraveterinair\classes\dispatch.class.php(2: IndexController->__construct()
#4 C:\xampp\htdocs\paraveterinair\index.php(12): Dispatch->__construct()
#5 {main}
thrown in C:\xampp\htdocs\paraveterinair\includes\Smarty-3.1.13\libs\sysplugins\smarty_internal_templatebase.php on line 127 |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Wed May 14, 2014 7:51 pm Post subject: |
|
|
It does look like that you have not set up the template source folders at the right location or that the folders have not the right permissions.
Test your configuration by calling $smarty->testInstall(); from your script. |
|
Back to top |
|
ssk8323 Smarty n00b
Joined: 13 May 2014 Posts: 2
|
Posted: Thu May 15, 2014 2:40 am Post subject: |
|
|
I copied all the contents from the server and set up in locally,and deleted the cache also. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|