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

Upgrade from 2 to 3 error

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3
View previous topic :: View next topic  
Author Message
johnf
Smarty Rookie


Joined: 29 Nov 2015
Posts: 7

PostPosted: Sun Nov 29, 2015 10:05 pm    Post subject: Upgrade from 2 to 3 error Reply with quote

I had smarty 2, changed servers and php then it would not add to database or make changes when editing...figured should upgrade to 3 but then this error..

Fatal error: Uncaught --> Smarty: Call of unknown method 'register_function'. <-- thrown in C:\wamp\www\XXXXX\libs\sysplugins\smarty_internal_templatebase.php on line 554

Can anyone help with some tips on how to render this..thanks
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Thu Dec 10, 2015 5:13 am    Post subject: Reply with quote

Read the upgrade notes. You must include and instance the SmartyBC class when you what continue to use the Smarty2 API.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty 3 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