Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Fatal error: Uncaught exception 'SmartyException

 
Post new topic   Reply to topic    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
newsmartyfan
Smarty Rookie


Joined: 18 Nov 2012
Posts: 5

PostPosted: Thu Dec 13, 2012 7:05 am    Post subject: Fatal error: Uncaught exception 'SmartyException Reply with quote

Fatal error: Uncaught exception 'SmartyException' with message 'Unable to parse resource name ""' in /home/evan29/public_html/smarty/libs/sysplugins/smarty_internal_template.php:941 Stack trace: #0 /home/evan29/public_html/smarty/libs/sysplugins/smarty_internal_template.php(546): Smarty_Internal_Template->__get('resource_object') #1 /home/evan29/public_html/smarty/libs/Smarty.class.php(338): Smarty_Internal_Template->getRenderedTemplate() #2 /home/evan29/public_html/smarty/libs/Smarty.class.php(382): Smarty->fetch(NULL, NULL, NULL, NULL, true) #3 /home/evan29/public_html/libraries/mysmarty.class.php(92): Smarty->display(NULL) #4 /home/evan29/public_html/cat.php(244): STemplate::display(NULL) #5 {main} thrown in /home/evan29/public_html/smarty/libs/sysplugins/smarty_internal_template.php on line 941
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 4589
Location: Hamburg / Germany

PostPosted: Thu Dec 13, 2012 3:15 pm    Post subject: Reply with quote

You must specify a template file in your display() call like:

$ssmarty->dsplay('index.tpl');
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Installation and Setup All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP