Page 1 of 1

Reinstalled CMSMS with no prefix, restored db with prefixes

Posted: Tue Apr 28, 2020 11:13 am
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

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

Posted: Tue Apr 28, 2020 5:29 pm
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.

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

Posted: Thu Apr 30, 2020 3:35 pm
by cerdal
for anyone else with this problem I see the answer I wanted is one line in config.php:

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