Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

SmartyValidate 3.0 don't work

 
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
cattat
Smarty n00b


Joined: 15 Apr 2011
Posts: 2

PostPosted: Fri Apr 15, 2011 9:03 am    Post subject: SmartyValidate 3.0 don't work Reply with quote

Hi,

I use Smarty Validate for a form and I received the message: Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "./templates/login/register.tpl" on line 9 "{validate id='uname' form='register_form' message='Full Name cannot be empty'}" unknown tag "validate"' in /home/officent/public_html/other/libs/sysplugins/smarty_internal_templatecompilerbase.php:425

Knows anyone which is the problem?

Thank you
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Fri Apr 15, 2011 1:53 pm    Post subject: Reply with quote

Looks like the content of the plugins folder of the SmartyValidate distribution was not copied into the Smarty plugins folder or made accessable by the $smarty->plugins_dir setting.
Back to top
View user's profile Send private message
cattat
Smarty n00b


Joined: 15 Apr 2011
Posts: 2

PostPosted: Mon Apr 18, 2011 7:13 am    Post subject: Reply with quote

That was the problem... Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons 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