Modules error on changing database

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Modules error on changing database

Post by christiaans »

Hey guys,

I am bumping into a modules error when changing database. I installed CMSms (1.3.1) on a localhost, and am now trying to upload it to a website, which uses a different database name. This causes all modules to stop working, however, all the content still displays (in the admin section).

How is this possible??

Any help is very much appreciated!
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: Modules error on changing database

Post by stopsatgreen »

Have you updated the paths in config.php?
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: Modules error on changing database

Post by christiaans »

Yes, everything is updated properly, that's what is so weird about it.
cyberman

Re: Modules error on changing database

Post by cyberman »

You can try to run install wizard once again (without creating tables and writing default content) ...
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: Modules error on changing database

Post by christiaans »

I might try that!

Thanks.
stopsatgreen
Power Poster
Power Poster
Posts: 322
Joined: Sat Feb 04, 2006 1:24 am

Re: Modules error on changing database

Post by stopsatgreen »

This exact situation happened to me a few days ago and it was because the paths in config.php hadn't been updated. Double-check that server paths, like:

Code: Select all

/home/mysite/public_html
Have been updated to reflect the new details.
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: Modules error on changing database

Post by christiaans »

stopsatgreen wrote: This exact situation happened to me a few days ago and it was because the paths in config.php hadn't been updated. Double-check that server paths, like:

Code: Select all

/home/mysite/public_html
Have been updated to reflect the new details.
I triple checked everything, and still doesn't work. I'm going to run the install wizard again first.
Post Reply

Return to “CMSMS Core”