|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
fialkoff Smarty n00b
Joined: 25 Jun 2009 Posts: 3
|
Posted: Thu Jun 25, 2009 8:39 pm Post subject: Moving Smarty site to new host |
|
|
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 |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Fri Jun 26, 2009 2:31 am Post subject: |
|
|
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 |
|
fialkoff Smarty n00b
Joined: 25 Jun 2009 Posts: 3
|
Posted: Fri Jun 26, 2009 2:39 am Post subject: Thanks! |
|
|
Thanks Monte,
is that the only change I'll need to make?
-Josh[/img] |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Fri Jun 26, 2009 2:48 am Post subject: |
|
|
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 |
|
|
|
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
|