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

PHP 5.3 and Smarty 2.6

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


Joined: 08 Oct 2012
Posts: 6

PostPosted: Sun Nov 18, 2012 5:57 pm    Post subject: PHP 5.3 and Smarty 2.6 Reply with quote

I have moved an application using Smarty 2.6 to a new server. It threw dozens of errors that I solved by messing with the direct paths to required files. Now, I get this error and I have no idea what to do:

Fatal error: Call to a member function createTemplate() on a non-object in /home/solidwhi/public_html/smarty26/tracker/include/sysplugins/smarty_internal_templatebase.php on line 47

I suspect this has to do with include path and/or the server having a newer version of PHP than the previous server.

How do I add to the include_path and fix this error?
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Mon Nov 19, 2012 9:49 am    Post subject: Reply with quote

createTemplate() and the file smarty_internal_templatebase.php belong to Smarty 3.1 and not Smarty 2.6.
Back to top
View user's profile Send private message
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 -> Smarty Development 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