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

SmartyValidate connect() nor working

 
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 -> Plugins
View previous topic :: View next topic  
Author Message
chrisg101
Smarty Rookie


Joined: 25 Feb 2004
Posts: 7

PostPosted: Wed Jun 09, 2004 11:48 pm    Post subject: SmartyValidate connect() nor working Reply with quote

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
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Thu Jun 10, 2004 1:38 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
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 -> Plugins 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