|
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 |
chrisg101 Smarty Rookie
Joined: 25 Feb 2004 Posts: 7
|
Posted: Wed Jun 09, 2004 11:48 pm Post subject: SmartyValidate connect() nor working |
|
|
Could anyone suggest why (using the SmartyValidate plugin) the following line does not work:
$smarty = new TSmarty; // my setup smarty class
SmartyValidate::connect($smarty);
keeps coming up with error:
Fatal error: Call to undefined function: connect() in c:\xtranet\media\catalogue.item.php on line 40
I'm not sure what I am doing wrong here. I have included the SmartyValidate class fine and started the session. I know sessions work because I am already using them throughout this project.
Appreciate any guesses. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Jun 10, 2004 1:38 pm Post subject: |
|
|
Make sure you are using the latest (2.1-b1 at the moment), connect() is a new class method. Otherwise, use the README that came with your distribution. |
|
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
|