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

Moving Smarty site to new host

 
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 -> Installation and Setup
View previous topic :: View next topic  
Author Message
fialkoff
Smarty n00b


Joined: 25 Jun 2009
Posts: 3

PostPosted: Thu Jun 25, 2009 8:39 pm    Post subject: Moving Smarty site to new host Reply with quote

Hi,

I am trying to transfer an existing Website built on Smarty to a new Web host.

Is there any documentation on how to change the configuration for the new host?

Is there a specific file I need to modify?

Thanks,
Josh

p.s. here is the error message I get after copying the files to the new host:


Warning: require_once(Smarty.class.php) [function.require-once]: failed to open stream: No such file or directory in /data/19/1/52/3/1867003/user/2028041/htdocs/main.php on line 8

Fatal error: require_once() [function.require]: Failed opening required 'Smarty.class.php' (include_path='..:.:/usr/services/vux/lib/php') in main.php on line 8
Back to top
View user's profile Send private message
mohrt
Administrator


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

PostPosted: Fri Jun 26, 2009 2:31 am    Post subject: Reply with quote

In your code you have:

Code:
require_once('Smarty.class.php');


PHP can't find it. You are best off giving the full system filepath here.
Back to top
View user's profile Send private message Visit poster's website
fialkoff
Smarty n00b


Joined: 25 Jun 2009
Posts: 3

PostPosted: Fri Jun 26, 2009 2:39 am    Post subject: Thanks! Reply with quote

Thanks Monte,
is that the only change I'll need to make?
-Josh[/img]
Back to top
View user's profile Send private message
mohrt
Administrator


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

PostPosted: Fri Jun 26, 2009 2:48 am    Post subject: Reply with quote

I have no idea, this are PHP issues, nothing to do with Smarty. You really need to understand PHP to move something like this.
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 -> Installation and Setup 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