[solved] Migrating to a new host, some major problems

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.
Locked
rlindauer
New Member
New Member
Posts: 8
Joined: Wed Oct 31, 2007 10:36 pm

[solved] Migrating to a new host, some major problems

Post by rlindauer »

CMSMS 1.2.5
PHP 4.4.7
Apache/1.3.37
MySQL  5.0.45

I have moved the cms to a new host, setup and imported the database, and updated config.php. I also emptied the cache.

When I view the admin cp, I am seeing a whole bunch of this:

Code: Select all

--Add Me - module:SOMEMODULENAME string:plainquote--
I see this for every 3rd party module and in all the admin cp menus. How do I fix this?

The front end is displaying this:

Code: Select all

string(118) "Smarty error: [in template:18 line 5]: syntax error: unrecognized tag 'sitename' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in template:18 line 5]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:18 line 6]: syntax error: unrecognized tag 'metadata' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:18 line 8]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:18 line 9]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 10]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 11]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 12]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 16]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 21]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 24]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 25]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 57]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 57]: syntax error: unrecognized tag 'sitename' (Smarty_Compiler.class.php, line 590)" string(125) "Smarty error: [in template:18 line 58]: syntax error: unrecognized tag 'global_content' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:18 line 82]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 84]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:18 line 89]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 91]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:18 line 96]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 98]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 103]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 590)" string(120) "Smarty error: [in template:18 line 105]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 110]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 590)" string(120) "Smarty error: [in template:18 line 112]: syntax error: unrecognized tag 'root_url' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 122]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 127]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 590)" string(122) "Smarty error: [in template:18 line 129]: syntax error: unrecognized tag 'cms_module' (Smarty_Compiler.class.php, line 590)" string(124) "Smarty error: [in template:18 line 130]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 590)" string(119) "Smarty error: [in template:18 line 136]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 590)" string(116) "Smarty error: [in template:18 line 138]: syntax error: unrecognized tag 'news' (Smarty_Compiler.class.php, line 590)" string(124) "Smarty error: [in template:18 line 140]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 590)" string(124) "Smarty error: [in template:18 line 158]: syntax error: unrecognized tag 'cms_selflink' (Smarty_Compiler.class.php, line 590)" string(126) "Smarty error: [in template:18 line 165]: syntax error: unrecognized tag 'global_content' (Smarty_Compiler.class.php, line 590)"
Last edited by rlindauer on Thu Jun 05, 2008 11:48 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Migrating to a new host, some major problems

Post by calguy1000 »

Re-upload.... you obviously missed some files.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
rlindauer
New Member
New Member
Posts: 8
Joined: Wed Oct 31, 2007 10:36 pm

Re: Migrating to a new host, some major problems

Post by rlindauer »

I tried reuploading twice now. It's not missing files.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Migrating to a new host, some major problems

Post by calguy1000 »

Something has to be missing (or permissions wrong).

The {sitename} tag is found automatically in the file plugins/function.sitename.php.... the same with the title, description, and some other tags.

If those files aren't in the plugin directory, or can't be read by the httpd server, then you will get these errors.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Wiedmann
Forum Members
Forum Members
Posts: 233
Joined: Wed Mar 26, 2008 1:49 am

Re: Migrating to a new host, some major problems

Post by Wiedmann »

Sure your paths in "config.php" are correct?
rlindauer
New Member
New Member
Posts: 8
Joined: Wed Oct 31, 2007 10:36 pm

Re: Migrating to a new host, some major problems

Post by rlindauer »

The paths are correct in config.php. All the files that are supposed to be in plugins are there. I have uploaded, reuploaded, and verified that they are identical to our staging site (which works) and the live site.

Totally stumped...
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Migrating to a new host, some major problems

Post by Dr.CSS »

And all the folders/files are set to the correct permissions?...

Have you tried putting the install folder back in and running /install/upgrade.php?
rlindauer
New Member
New Member
Posts: 8
Joined: Wed Oct 31, 2007 10:36 pm

Re: Migrating to a new host, some major problems

Post by rlindauer »

Upgrade had no effect.

I have chmod 777 the cache yet the admin cp is still telling me "Cache folder is not writable."

I have made sure that the permissions are the same between staging and production.

I am sorry I cannot provide more information yet. I am still trying to get shell access so that I can poke around a bit deeper. My normal process for going live is to tar up the staging app and scp it to the production machine. Un tar, update config, and import the db and its working. Never had a problem with it. This time I was forced to use FTP.

Is there anything else I should check/do?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Migrating to a new host, some major problems

Post by Dr.CSS »

Try install but DO NOT WRITE TABLES...

This may show problem from a server side. like some folder/file not being writable, I've had instances where it needed 775 not 777 or it wouldn't work...
Wiedmann
Forum Members
Forum Members
Posts: 233
Joined: Wed Mar 26, 2008 1:49 am

Re: Migrating to a new host, some major problems

Post by Wiedmann »

I have chmod 777 the cache yet the admin cp is still telling me "Cache folder is not writable."
What happens, if you set your folders to 755 and files to 644?
rlindauer
New Member
New Member
Posts: 8
Joined: Wed Oct 31, 2007 10:36 pm

Re: Migrating to a new host, some major problems

Post by rlindauer »

Ok. wow.


So, the clients domain is not pointing to the server, so our access has been via IP.
Just for shits and giggles I updated my local hosts file to match the domain to that ip, updated the config with the new info and then flushed my dns cache. It actually works now. What in the hell? That makes no sense to me. Is there anything in the documentation about this?

Thanks for all your time with this :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Migrating to a new host, some major problems

Post by Dr.CSS »

[solved] ?...
rlindauer
New Member
New Member
Posts: 8
Joined: Wed Oct 31, 2007 10:36 pm

Re: Migrating to a new host, some major problems

Post by rlindauer »

mark wrote: [solved] ?...
I guess.

Still do not understand why using the IP would cause this problem.
Locked

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