Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
smarty configuration with wampserver... ERROR

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


Joined: 29 Dec 2012
Posts: 5

PostPosted: Sat Dec 29, 2012 4:52 pm    Post subject: smarty configuration with wampserver... ERROR Reply with quote

Please help.. I get the following when I run the application

( ! ) SCREAM: Error suppression ignored for
( ! ) Fatal error: Uncaught exception 'SmartyException' with message 'PHP5 requires you to call __construct() instead of Smarty()' in C:\wamp\www\tshirtshop\libs\smarty\sysplugins\smarty_internal_templatebase.php on line 803
( ! ) SmartyException: PHP5 requires you to call __construct() instead of Smarty() in C:\wamp\www\tshirtshop\libs\smarty\sysplugins\smarty_internal_templatebase.php on line 803
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Sun Dec 30, 2012 3:49 am    Post subject: Reply with quote

If you extend the Smarty class you must use the PHP5 constructor functions __construct ().

See http://www.smarty.net/docs/en/installing.smarty.extended.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