|
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 |
baranikannan Smarty n00b
Joined: 16 Jul 2011 Posts: 2
|
Posted: Sat Jul 16, 2011 3:58 pm Post subject: installation problem |
|
|
Hi,
I am getting below error while installing Smarty. Please help.
Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'index.tpl'' in /opt/lampp/htdocs/p1/Smarty-3.0.8/libs/sysplugins/smarty_internal_template.php:163 Stack trace: #0 /opt/lampp/htdocs/p1/Smarty-3.0.8/libs/sysplugins/smarty_internal_template.php(552): Smarty_Internal_Template->isExisting(true) #1 /opt/lampp/htdocs/p1/Smarty-3.0.8/libs/Smarty.class.php(338): Smarty_Internal_Template->getRenderedTemplate() #2 /opt/lampp/htdocs/p1/Smarty-3.0.8/libs/Smarty.class.php(382): Smarty->fetch('index.tpl', NULL, NULL, NULL, true) #3 /opt/lampp/htdocs/p1/index.php(19): Smarty->display('index.tpl') #4 {main} thrown in /opt/lampp/htdocs/p1/Smarty-3.0.8/libs/sysplugins/smarty_internal_template.php on line 163
Thanks in advance
Barani |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sat Jul 16, 2011 4:37 pm Post subject: |
|
|
It's most likely that $smarty->template_dir does not point to the location of index.tpl. |
|
Back to top |
|
baranikannan Smarty n00b
Joined: 16 Jul 2011 Posts: 2
|
Posted: Sun Jul 17, 2011 4:17 pm Post subject: Thanks |
|
|
Hi,
Thank you very much for your response. my R&D left me in a system crash and I am rebuilding my environment. I will try and update you. Again Thank you very much for quick reply. |
|
Back to top |
|
phantom90ro Smarty n00b
Joined: 20 Jul 2011 Posts: 2
|
Posted: Wed Jul 20, 2011 9:54 pm Post subject: |
|
|
i have almost the same problem i will post it here
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "c:\xampp\htdocs\smarty\templates\header.tpl" on line 3 "{popup_init src="/javascripts/overlib.js"}" unknown tag "popup_init"' in D:\Smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php:431 Stack trace: #0 D:\Smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php(253): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "po...', 3) #1 D:\Smarty\libs\sysplugins\smarty_internal_templateparser.php(2319): Smarty_Internal_TemplateCompilerBase->compileTag('popup_init', Array) #2 D:\Smarty\libs\sysplugins\smarty_internal_templateparser.php(2812): Smarty_Internal_Templateparser->yy_r35() #3 D:\Smarty\libs\sysplugins\smarty_internal_templateparser.php(2912): Smarty_Internal_Templateparser->yy_reduce(35) #4 D:\Smarty\libs\sysplugins\smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(11, '?') #5 D:\Smarty\libs\sysplugins\smarty_internal_templatecomp in D:\Smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 431
please help me i am tired and i want to install this today thanks |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Wed Jul 20, 2011 10:46 pm Post subject: |
|
|
The demo template header.tpl does contain a call of the {popup_init...} plugin which was removed from the distribution.
Delete line 3 in header.tpl. |
|
Back to top |
|
Apple37 Smarty n00b
Joined: 24 Jul 2011 Posts: 1
|
Posted: Sun Jul 24, 2011 7:46 pm Post subject: |
|
|
thanks |
|
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
|