Moving site - problem.
Moving site - problem.
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?
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?
Re: Moving site - problem.
Check your paths in config.php (root)
Ronny
Ronny
Re: Moving site - problem.
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.
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.
Re: Moving site - problem.
Did you clear cache after moving to the new directory.
Check the rights on the directories. (tmp and cache or tmp/cache specifically)
Ronny
Check the rights on the directories. (tmp and cache or tmp/cache specifically)
Ronny
Re: Moving site - problem.
@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.
All done. No effect

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.
Re: Moving site - problem.
what does this mean?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
Should I delete the contentcache.php in the cache folder, or is this an action within the admin panel?
Re: Moving site - problem.
factor1,
it is in the admin
Site Admin » Global Settings and than the first option.
Ronny
it is in the admin
Site Admin » Global Settings and than the first option.
Ronny
Re: Moving site - problem.
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.
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.
Re: Moving site - problem.
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
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
Re: Moving site - problem.
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.
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.
Re: Moving site - problem.
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.
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.
Re: Moving site - problem.
What if you choose "view site" from the admin, is that working?
Ronny
Ronny
Re: Moving site - problem.
nope.
Neither will an edit preview.
Neither will an edit preview.
Re: Moving site - problem.
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?
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?
Re: Moving site - problem.
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.
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.