|
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 |
barry.dunnage Smarty Rookie
Joined: 18 Sep 2011 Posts: 14
|
Posted: Sun Sep 18, 2011 12:32 pm Post subject: instalation problem |
|
|
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 |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sun Sep 18, 2011 6:53 pm Post subject: |
|
|
Looks like you are using PHP4 style constructors where the function name is Smarty. You must use PHP5 __construct() |
|
Back to top |
|
barry.dunnage Smarty Rookie
Joined: 18 Sep 2011 Posts: 14
|
Posted: Mon Sep 19, 2011 5:34 am Post subject: |
|
|
thanks for that.
whats the best place to keep up with is it this site |
|
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
|