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

General project discussion. NOT for help questions.
Post Reply
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

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

Post 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
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

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

Post by tsw »

doublecheck config.php escpcially all paths

and in admin, Site Admin -> Global Settings, and press claar cache button.
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

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

Post by sarah_h »

Thanks tsw but still no joy!! Could it be something to do with my templates?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

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

Post 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.
sarah_h
Forum Members
Forum Members
Posts: 189
Joined: Tue Apr 25, 2006 8:30 am

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

Post 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
Post Reply

Return to “General Discussion”