Issues After Migration from one host to another

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
chompy
New Member
New Member
Posts: 6
Joined: Fri Nov 03, 2017 11:54 am

Issues After Migration from one host to another

Post by chompy »

I've found myself trying to migrate a Simple CMS site over for a client, and the migration of the files and database seemed straightforward on the face of it.

But when I load the site I get the following error "string(113) "Smarty error: [in tpl_top:23 line 1]: [plugin] unknown tag - 'process_pagedata' (core.load_plugins.php, line 124)""

At the log in screen when I log in and on the admin panel I get "ERROR: The CGExtensions module could not be found"

The site is running 1.7.1.

I find forum posts about both of these issues but not both of them together.

I'd appreciate any advice I can get with this.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Issues After Migration from one host to another

Post by paulbaker »

Welcome chompy.

Did you follow this?:
https://docs1.cmsmadesimple.org/moving

Walk us through the exact steps you took to move the site.

Did you clear CMSMS cache after the move?

Lastly version 1.7.1 is hidously out of date, you will need to upgrade:
https://docs.cmsmadesimple.org/upgrading/to-cmsms-2.x
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
chompy
New Member
New Member
Posts: 6
Joined: Fri Nov 03, 2017 11:54 am

Re: Issues After Migration from one host to another

Post by chompy »

Hi Paul,

Sorry for the delayed reply.

I was constrained by not having access to the admin panel prior to moving the site. But I've since cleared the caches via FTP, and thats the resolved the error present on the public facing side of the site. Now there just seems to be no css or content, beyond elements of the footer and header.

The "ERROR: The CGExtensions module could not be found" on the admin site presents still.

I've checked the paths on the config file and they all seem to be fine. Double checking now.

With regards to version of the CMS, I was shocked by that as well. I changed the PHP version on the new hosting instance to 5.3 just in case. But my logic was to resolve these issues 1st, then update the CMS. I assume updating is going to break one or more parts of the site.

FYI, The former dev, changed the website's domain name mid life, but the Mysql database username etc has remained the same between both domain names. But im not sure how he has changed the domain over. He's kept the old domain as the primary domain at a hosting level, and then just seems to have parked the new one, then there are URL redirects.

Its all very messy.

Thanks for taking the time to reply to this if you, really helpful.
chompy
New Member
New Member
Posts: 6
Joined: Fri Nov 03, 2017 11:54 am

Re: Issues After Migration from one host to another

Post by chompy »

Hi Paul,

I did not follow the steps specific to migrating over SimpleCMS until after I migrated over. But after clearing the cache via FTP that has resolved the error on the front site. Now it just seems like there is no CSS, or perhaps no body content, just a footer, and a header.

I agree that the website's CMS version needs to be updated, but my plan was to do this one I had migrated the site over, just to avoid any additional problems. I set the PHP version on the new website hosting instance to 5.3 just to be on the safe side.

I have reviewed the config file and the pathways all seem to be correct. Although I am checking them again now.

The main issue I want to solve at this stage is the "ERROR: The CGExtensions module could not be found" one.

FYI. The website's domain name was changed mid-life, but the username for the Mysql database etc remained the same both on the old host and the new host. How the dev did this, is not 100% clear to me, coming from a WordPress background. But he seems to have set up the new domain name as a parked domain, and then setup URL rewrites etc via the config file etc.

The parked domain itself doesn't appear to just simply mirror the old domain's content. My current theory at the moment is this must be the cause of the current issue, and the issue is obscured by the usernames and file pathways being the same between the domain names. If that makes sense.

Sorry for the poor syntax etc, my last attempt at writing a reply didn't seem to post.

Thank you in advance if you choose to reply. Its greatly appreciated.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Issues After Migration from one host to another

Post by paulbaker »

My money is on either:

1) incorrect config.php after the server move, so post it here and xxxxx usernames and passwords

2) some module is crashing that worked ok on the old server but not on the new, so post your system info (see link in my signature for how).
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
chompy
New Member
New Member
Posts: 6
Joined: Fri Nov 03, 2017 11:54 am

Re: Issues After Migration from one host to another

Post by chompy »

The config file can be found below:

https://codeshare.io/5g0DQ0

I do not seem to be able to view system information from within the simplecms admin panel. See the screenshot below:

https://www.dropbox.com/s/72vckexgifwie ... t.jpg?dl=0
chompy
New Member
New Member
Posts: 6
Joined: Fri Nov 03, 2017 11:54 am

Re: Issues After Migration from one host to another

Post by chompy »

Ok, I have resolved the issue with "ERROR: The CGExtensions module could not be found" issue.

Now I just don't seem to have any content beyond some text from the header and footer. No CSS either. Can see the pages on the admin side.
chompy
New Member
New Member
Posts: 6
Joined: Fri Nov 03, 2017 11:54 am

Re: Issues After Migration from one host to another

Post by chompy »

Just enabled debug mode via config. Now the CSS and page content is visible and i'm getting the following errrors:

https://pastebin.com/8buvn295
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Issues After Migration from one host to another

Post by paulbaker »

Some thoughts:

Are you absolutely certain all your paths in config.php are now correct for the new location?

You have pretty URLs set up in the #URL Settings section of config.php, do you have appropriate .htaccess file set up too?

How did you solve the CGExtensions problem? Might give a clue as to what is going on.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
Post Reply

Return to “The Lounge”