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

Migrating Smarty to a new server

 
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
chewtoy
Smarty n00b


Joined: 01 Sep 2014
Posts: 3

PostPosted: Mon Sep 01, 2014 7:28 pm    Post subject: Migrating Smarty to a new server Reply with quote

Hi,

I'm a smarty newb, please forgive me for asking, but...

I have a client with an existing Smarty site. Would like to modify / update the site, but to do this, I need to copy it to my development server.

I have smarty installed on my dev server, can anyone direct me to proper procedures to backup the existing site and restore it to the development server?

Thanks!
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Wed Sep 03, 2014 4:19 pm    Post subject: Reply with quote

Depends on the "suite".
If it's written properly, all you ned to do is to migrate the project files, and correctly set php_value include_path to point to your copy of Smarty library.
Back to top
View user's profile Send private message
chewtoy
Smarty n00b


Joined: 01 Sep 2014
Posts: 3

PostPosted: Mon Sep 15, 2014 6:36 pm    Post subject: Reply with quote

Am getting the following error: "Warning: Smarty error: unable to read resource: "index.tpl" in /home/mitchtra/public_html/trind/smarty/libs/Smarty.class.php on line 1095"

Help?
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Tue Sep 30, 2014 3:38 pm    Post subject: Reply with quote

Well, the error message is quite obvious.
You did not set the path to template directory correctly.
Back to top
View user's profile Send private message
mohrt
Administrator


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

PostPosted: Tue Sep 30, 2014 4:27 pm    Post subject: Reply with quote

follow this:

http://www.smarty.net/forums/viewtopic.php?t=4500
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 -> 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