Page 1 of 1

[Solved] Problem moving CMSms web site

Posted: Thu Oct 31, 2013 5:56 pm
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.

Re: Problem moving CMSms web site

Posted: Thu Oct 31, 2013 5:57 pm
by Rolf
Cleared cache?

Re: Problem moving CMSms web site

Posted: Thu Oct 31, 2013 6:03 pm
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?

Re: Problem moving CMSms web site

Posted: Thu Oct 31, 2013 6:14 pm
by Rolf
Remove the content of the folders:
- tmp/cache
- tmp/templates_c

Re: Problem moving CMSms web site

Posted: Thu Oct 31, 2013 6:40 pm
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...

Re: Problem moving CMSms web site

Posted: Thu Oct 31, 2013 6:53 pm
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).

Re: Problem moving CMSms web site

Posted: Thu Oct 31, 2013 7:08 pm
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!

Re: Problem moving CMSms web site

Posted: Thu Oct 31, 2013 7:15 pm
by bryanhiggs
I'd set this topic to "solved", if I could only figure out how to do that...

Re: Problem moving CMSms web site

Posted: Thu Oct 31, 2013 7:21 pm
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'