Bug in CMSMS Schema Creation

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
merrony
New Member
New Member
Posts: 7
Joined: Thu Oct 08, 2009 10:19 am

Bug in CMSMS Schema Creation

Post by merrony »

Hi,

After several successful installations in separate databases over the last few months I today tried installing a second CMSMS instance into an existing database.  Although the installation has 'worked' to an extent, I notice that no indexes were created on any tables for the second CMS  in the database.

Looking quickly at the database, it seems that the index names do not include the database prefix, so they will only be created for the first CMSMS installation in any database.

CMSMS 1.6.6
Linux
Postgresql 8.2

In my case the site is very small, so indexes are not a big issue, but for others this could cause problems.

Steve
Last edited by merrony on Sun Jan 24, 2010 2:19 pm, edited 1 time in total.
Peciura

Re: Bug in Schema Creation

Post by Peciura »

What is value of "$config['db_prefix']" for the second installation ? If it differs from the first installation, tables with different name prefix are created.
merrony
New Member
New Member
Posts: 7
Joined: Thu Oct 08, 2009 10:19 am

Re: Bug in Schema Creation

Post by merrony »

As I said, the tables are all fine - they have the correct prefixes.  It's just the indexes that couldn't be created as the prefix is not prepended to them as it should be.
Locked

Return to “[locked] Installation, Setup and Upgrade”