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

Moved Inherited App, Having an issue

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


Joined: 08 Oct 2012
Posts: 6

PostPosted: Mon Oct 08, 2012 6:24 pm    Post subject: Moved Inherited App, Having an issue Reply with quote

Hello,

I have never seen Smarty before yesterday. I inherited an app that needs to be moved. Moved to a new server. Had issues with DB connection (MySQL via PEAR), but conquered that (I believe) but now have an issue I cannot seem to overcome:

If I go to index.php I get this error:

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

Any help would be appreciated.
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Mon Oct 08, 2012 8:36 pm    Post subject: Reply with quote

Are you sure that Smarty was installed correctly on the new server?

This is a strange error message which should not happen.
Back to top
View user's profile Send private message
hydrazi
Smarty Rookie


Joined: 08 Oct 2012
Posts: 6

PostPosted: Mon Oct 08, 2012 9:28 pm    Post subject: Reply with quote

I just moved files over. I guess I assumed it was similar to Joomla or other CMS.
Back to top
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Tue Oct 09, 2012 5:21 am    Post subject: Reply with quote

Smarty 3 requires at least PHP 5.2.
Is it possible that yor new Server is still on PHP 4?
Back to top
View user's profile Send private message
hydrazi
Smarty Rookie


Joined: 08 Oct 2012
Posts: 6

PostPosted: Thu Oct 11, 2012 2:52 pm    Post subject: Reply with quote

It is a server with PHP 5.2.17 on it.
Back to top
View user's profile Send private message
hydrazi
Smarty Rookie


Joined: 08 Oct 2012
Posts: 6

PostPosted: Fri Oct 12, 2012 5:15 pm    Post subject: Reply with quote

Are there tutorials for moving an app from one server to another?
Back to top
View user's profile Send private message
mohrt
Administrator


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

PostPosted: Fri Oct 12, 2012 7:16 pm    Post subject: Reply with quote

make sure you clear compiled templates (usually in templates_c dir) and cache files (in cache dir)
Back to top
View user's profile Send private message Visit poster's website
hydrazi
Smarty Rookie


Joined: 08 Oct 2012
Posts: 6

PostPosted: Tue Oct 16, 2012 5:53 pm    Post subject: Reply with quote

Yes, those are cleared.

I think the error I am seeing is saying that a parent constructor is not being called. Could it be my config is all screwed up?
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 -> General 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