Moving site - problem.

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
grasnal

Moving site - problem.

Post by grasnal »

Hi!

I'm trying to move my site to new server. I made mysqldump and next import it on new machine, copied files and...

Get something like this when trying to access site in new localization:

string(106) "Smarty error: [in template:20 line 5]: [plugin] unknown tag - 'sitename' (core.load_plugins.php, line 123)" string(103) "Smarty error: [in template:20 line 5]: [plugin] unknown tag - 'title' (core.load_plugins.php, line 123)" string(106) "Smarty error: [in template:20 line 6]: [plugin] unknown tag - 'metadata' (core.load_plugins.php, line 123)" string(108) "Smarty error: [in template:20 line 7]: [plugin] unknown tag - 'stylesheet' (core.load_plugins.php, line 123)" string(111) "Smarty error: [in template:20 line 10]: [plugin] unknown tag - 'cms_selflink' (core.load_plugins.php, line 123)" string(103) "Smarty error: [in template:20 line 19]: [plugin] unknown tag - 'menu' (core.load_plugins.php, line 123)" string(109) "Smarty error: [in template:20 line 26]: [plugin] unknown tag - 'cms_module' (core.load_plugins.php, line 123)"
Fatal error: Call to undefined function: smarty_cms_function_sitename() in /(...path...)/tmp/templates_c/%%7E^7E8^7E8F1701%%template%3A20.php on line 9

Any ideas what went wrong?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Moving site - problem.

Post by RonnyK »

Check your paths in config.php (root)

Ronny
grasnal

Re: Moving site - problem.

Post by grasnal »

Ok, paths in config.php fixed and site is opening.

But there are still some problems:
1. There is no content and CSS in site. It looks like CMS engine only display template.
2. In admin panel i get this displayed over content:

Warning: Cannot modify header information - headers already sent by (output started at /alis_test/config.php:1) in /alis_test/lib/classes/class.admintheme.inc.php on line 161

Warning: Cannot modify header information - headers already sent by (output started at /alis_test/config.php:1) in /alis_test/lib/classes/class.admintheme.inc.php on line 164

Warning: Cannot modify header information - headers already sent by (output started at /alis_test/config.php:1) in /alis_test/lib/classes/class.admintheme.inc.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at /alis_test/config.php:1) in /alis_test/lib/classes/class.admintheme.inc.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at /alis_test/config.php:1) in /alis_test/lib/classes/class.admintheme.inc.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at /alis_test/config.php:1) in /alis_test/lib/classes/class.admintheme.inc.php on line 176

and many things in admin panel are displayed like this:

# --Add Me - module:MenuManager string:menumanager--
# --Add Me - module:ThemeManager string:friendlyname--
# --Add Me - module:CMSMailer string:friendlyname--
# --Add Me - module:FCKeditorX string:friendlyname--
# FeedbackForm
# --Add Me - module:Search string:search--
# --Add Me - module:VisitorStats string:friendlyname--

P.S. Sry for my english. It's not my native language.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Moving site - problem.

Post by RonnyK »

Did you clear cache after moving to the new directory.
Check the rights on the directories. (tmp and cache or tmp/cache specifically)

Ronny
grasnal

Re: Moving site - problem.

Post by grasnal »

@RonnyK:

All done. No effect :(. I put the fresh installation files on server for chcecking that every requirements are meet. And everything is OK. CMS install pass without any problems.

Dump of my DB was made using phpMyAdmin 2.9.2 on Mysql 4.1 (4.0.1 ? can't check it now) and the target server is also Mysql 4.*.

Ask me if you want know something more.
User avatar
factor1
Forum Members
Forum Members
Posts: 128
Joined: Thu Apr 13, 2006 11:24 pm

Re: Moving site - problem.

Post by factor1 »

RonnyK wrote: Did you clear cache after moving to the new directory.
Check the rights on the directories. (tmp and cache or tmp/cache specifically)

Ronny
what does this mean?

Should I delete the contentcache.php in the cache folder, or is this an action within the admin panel?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Moving site - problem.

Post by RonnyK »

factor1,

it is in the admin

Site Admin » Global Settings and than the first option.

Ronny
User avatar
factor1
Forum Members
Forum Members
Posts: 128
Joined: Thu Apr 13, 2006 11:24 pm

Re: Moving site - problem.

Post by factor1 »

would this explain why some of our sites (i have 9 total CMSms sites I had to move) are not showing anything on pages?

For example:
http://www.cohmaricopa.com/index.php  blank
http://tayloredstretching.com  blank

Some sites are fine, until you navigate to too many pages, like:
http://www.635online.com/    After the first few pages, it drops to blank pages.

All of these are on CMS version 0.12.1, Linux, Mysql 4.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Moving site - problem.

Post by RonnyK »

factor1,

did you check your config.php properly, check the root-path and check if the root-path doesn't end with a slash, also make sure that the rights are set open and that no other files are stored in the root, that are called index as well.

Ronny
User avatar
factor1
Forum Members
Forum Members
Posts: 128
Joined: Thu Apr 13, 2006 11:24 pm

Re: Moving site - problem.

Post by factor1 »

all config files are correct, and no slashes. All files belong to the psaserv group, and the user is of course each site accounts owner.

After initial copy, A site error came up as i had to chmod the tmp files to 777, then reload the site to a blank screen.

What odd, is that sites like : amyshope.org is perfect, no issues at all. Same copy method.
User avatar
factor1
Forum Members
Forum Members
Posts: 128
Joined: Thu Apr 13, 2006 11:24 pm

Re: Moving site - problem.

Post by factor1 »

ohh, and the admin panels all load just fine, and I can navigate to any and all pages in admin.

I am debating copying out all page content, and re-installing if I cant get it to load right. But that will be my last resort.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Moving site - problem.

Post by RonnyK »

What if you choose "view site" from the admin, is that working?

Ronny
User avatar
factor1
Forum Members
Forum Members
Posts: 128
Joined: Thu Apr 13, 2006 11:24 pm

Re: Moving site - problem.

Post by factor1 »

nope.

Neither will an edit preview.
User avatar
factor1
Forum Members
Forum Members
Posts: 128
Joined: Thu Apr 13, 2006 11:24 pm

Re: Moving site - problem.

Post by factor1 »

I did figure out one thing. I have 3 sites running 1.0.2. they seem to be just fine.

it seems to be the 8 other sites running 0.12.1.

think I could just copy over the upgrade files from 1.0.2, and everything would be fine and dandy?
User avatar
factor1
Forum Members
Forum Members
Posts: 128
Joined: Thu Apr 13, 2006 11:24 pm

Re: Moving site - problem.

Post by factor1 »

okay, my issue exactly.

Is tokenizer. i dont have it running, causing pages to render white. it was because I switched from PHP 4.3, to PHP 5.1 when I upgraded OS.

but I dont know how to enable tokenizer.
Locked

Return to “[locked] Installation, Setup and Upgrade”