Page 1 of 1

Confused: What do I need to look out for when migrating site to server?

Posted: Thu Jun 08, 2006 12:01 pm
by sarah_h
Hi All,

I've developed a site using CMSMS locally (great fun by the way - really good - I enjoyed making the templates etc!) This is what I've done in an attempt to migrate the site to a remote server:

Changed my config.php to the remote server settings

Transfered all files in the CMS folder

Created a database

Exported the SQL from my local server to the remote server

But I get references to my local stuff when I try to see the site remotely, look

Warning: _include(c:\program files\apache group\apache\htdocs\application_sites\cms_simple/tmp/templates_c\%%CB^CBC^CBC6D161%%template%3A17.inc): failed to open stream: No such file or directory in /home/users/web***/html/***.com/biocms/lib/content.functions.php on line 133

Warning: _include(): Failed opening 'c:\program files\apache group\apache\htdocs\application_sites\cms_simple/tmp/templates_c\%%CB^CBC^CBC6D161%%template%3A17.inc' for inclusion (include_path='/usr/local/lib/php:./') in /home/users/***/html/***.com/biocms/lib/content.functions.php on line 133


Where are these refs coming from?

Sarah

Re: Confused: What do I need to look out for when migrating site to server?

Posted: Thu Jun 08, 2006 12:09 pm
by tsw
doublecheck config.php escpcially all paths

and in admin, Site Admin -> Global Settings, and press claar cache button.

Re: Confused: What do I need to look out for when migrating site to server?

Posted: Thu Jun 08, 2006 12:39 pm
by sarah_h
Thanks tsw but still no joy!! Could it be something to do with my templates?

Re: Confused: What do I need to look out for when migrating site to server?

Posted: Thu Jun 08, 2006 1:03 pm
by Ted
Try removing everything in the tmp/templates_c and tmp/cache directories manually.  It seems like the compiled templates aren't getting cleared out for some reason.

Re: Confused: What do I need to look out for when migrating site to server?

Posted: Thu Jun 08, 2006 1:08 pm
by sarah_h
thanks do much, that did it, don't know why it didn't clear using the method above but it's nice to know that this is where the complilations are stored. Thanks again Ted.

Sarah