Reinstalled CMSMS with no prefix, restored db with prefixes

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.
Locked
cerdal
New Member
New Member
Posts: 6
Joined: Mon May 23, 2011 8:37 am

Reinstalled CMSMS with no prefix, restored db with prefixes

Post by cerdal »

Hi,
I had a problem with an old CMSMS 1.9.4.3 site so I reinstalled from the CMSMS installer and restored the db from a backup.
Unfortunately I erased the cms_ prefix during the installation, forgetting that the files used it.

Is there somewhere I can add 'cms_' to the configuration or do I need to reinstall the system again?

Thanks,

Chris
cerdal
New Member
New Member
Posts: 6
Joined: Mon May 23, 2011 8:37 am

Re: Reinstalled CMSMS with no prefix, restored db with prefi

Post by cerdal »

I copied the tablenames from phpmyadmin and created a script in Editpad to rename them all.
I can now see all my data in phpmyadmin and I can log in to CMSMS admin, but no pages appear in Content/pages.

I'll reinstall it on my PC and try to find out what's going on.
cerdal
New Member
New Member
Posts: 6
Joined: Mon May 23, 2011 8:37 am

Re: Reinstalled CMSMS with no prefix, restored db with prefi

Post by cerdal »

for anyone else with this problem I see the answer I wanted is one line in config.php:

$config['db_prefix'] = 'cms_';
Locked

Return to “CMSMS Core”