Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

instalation problem

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
barry.dunnage
Smarty Rookie


Joined: 18 Sep 2011
Posts: 14

PostPosted: Sun Sep 18, 2011 12:32 pm    Post subject: instalation problem Reply with quote

Fatal error: Uncaught exception 'SmartyException' with message 'Please use parent::__construct() to call parent constuctor' in C:\wamp\www\tshirtshop\libs\smarty\Smarty.class.php on line 785

smarty is working but i get this error on the site im developing. quite new any help appreciated Sad
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Sun Sep 18, 2011 6:53 pm    Post subject: Reply with quote

Looks like you are using PHP4 style constructors where the function name is Smarty. You must use PHP5 __construct()
Back to top
View user's profile Send private message
barry.dunnage
Smarty Rookie


Joined: 18 Sep 2011
Posts: 14

PostPosted: Mon Sep 19, 2011 5:34 am    Post subject: Reply with quote

thanks for that.

whats the best place to keep up with is it this site
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    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