[Solved] Problem moving CMSms web site

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
bryanhiggs
Forum Members
Forum Members
Posts: 33
Joined: Tue Mar 30, 2010 8:00 pm

[Solved] Problem moving CMSms web site

Post by bryanhiggs »

Hi!

We're running CMSms 1.11 . Yup, I know it's a little old, but we're trying to make only small waves on our web site.

I have tried to copy our web site from one domain on our hosting provider to another subdomain on the same provider. I copied all the files to our other domain's file root, and changed the config.php file contents to refer to the new location. It is using the same database as the original web site.

I checked that the new, copied, web site worked, and it did.

I then removed all the files on the original domain, but unfortunately, I'm now getting the following errors when I try to use the new, copied, web site:

Code: Select all

Fatal error: Class 'Smarty_CMS' not found in /home/uucm_admin/old-site.uucm.org/lib/classes/class.CmsApp.php on line 383

Fatal error: Class 'UserOperations' not found in /home/uucm_admin/old-site.uucm.org/lib/classes/class.CmsApp.php on line 259
Clearly, I must have missed something in the re-configuration.

Could someone suggest what I need to do to fix this and get it going again in its new location?

Any help would be much appreciated.
Last edited by bryanhiggs on Thu Oct 31, 2013 7:31 pm, edited 2 times in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Problem moving CMSms web site

Post by Rolf »

Cleared cache?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
bryanhiggs
Forum Members
Forum Members
Posts: 33
Joined: Tue Mar 30, 2010 8:00 pm

Re: Problem moving CMSms web site

Post by bryanhiggs »

Thanks for the quick response.

I tried to follow the instructions at http://docs.cmsmadesimple.org/moving , where the first step is to clear the cache.

Yes, I did clear the cache, but it's possible that in the time it took me to copy the files, the cache might have become non-clear.

If I need to clear the cache again, how do I do that, given that I can't access the CMSms admin?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Problem moving CMSms web site

Post by Rolf »

Remove the content of the folders:
- tmp/cache
- tmp/templates_c
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
bryanhiggs
Forum Members
Forum Members
Posts: 33
Joined: Tue Mar 30, 2010 8:00 pm

Re: Problem moving CMSms web site

Post by bryanhiggs »

Thanks! I did that, and now I'm left with:

Code: Select all

Fatal error: Class 'Smarty_CMS' not found in /home/uucm_admin/old-site.uucm.org/lib/classes/class.CmsApp.php on line 383
We appear to be making some progress, but not quite there...
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Problem moving CMSms web site

Post by velden »

Do you happen to have an UDT (User Defined Tags) with a hard coded path?
(Extensions -> User Defined Tags)

That's the only place I can think of with a reference to the old path (besides config.php).
bryanhiggs
Forum Members
Forum Members
Posts: 33
Joined: Tue Mar 30, 2010 8:00 pm

Re: Problem moving CMSms web site

Post by bryanhiggs »

Thanks for all the responses!

I went into my config.php file and made sure that all the references to file paths and URLs were changed to refer to the new subdomain.

Now, it seems to be working!

I appreciate the responses to this!
bryanhiggs
Forum Members
Forum Members
Posts: 33
Joined: Tue Mar 30, 2010 8:00 pm

Re: Problem moving CMSms web site

Post by bryanhiggs »

I'd set this topic to "solved", if I could only figure out how to do that...
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Problem moving CMSms web site

Post by velden »

bryanhiggs wrote:I'd set this topic to "solved", if I could only figure out how to do that...
http://forum.cmsmadesimple.org/viewtopi ... 40&t=17166
3) After your problem is solved add [Solved] in the subject
[added] If you are the originator of the topic, you can click on the 'modify' button on the first post in the topic. This will provide a form which allows you to edit the subject, and even the content... please add [Solved] to the beginning of the subject, once your topic has been resolved, and click 'Save'
Locked

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