Changing table prefix

For years we have used the table prefix DDB8_. But since we recently have been able to upgrade to the latest release of DaDaBIK, we wanted to change that prefix to DDB_.
I did following things:
- I changed all the prefixes of the DaDaBIK-tables to DDB_
- Where a table was mentioned in the DaDaBIK-tables, I also changed the value in that table
Note: so I applied changes to following tables: DDB_forms, DDB_forms_preview, DDB_permissions & DDB_table_list
- In custom_config.php I changed one line to $prefix_internal_table = 'DDB_';

The I restarted DaDaBIK and everything seems to work fine, BUT when I try to see the (contents of the)table users in DaDaBIK I get the error message I added.
When I change the table name DDB_groups to DDB8_groups then I can see the (contents of the) table users. BUT I cannot see the (contents of the) table groups anymore!

I also explicitly added following line to custom_config.php: $groups_table_name = 'DDB_groups';
But that didn't make any difference (when the actual table name was DDB_groups).

What am I doing wrong?

Kind greetings,

Hendrik
 

Attachments

  • Error message table users.jpg
    Error message table users.jpg
    51.8 KB · Views: 0

eugenio

Administrator
Staff member
Hello,
as documented in config.php, you cannot change the prefix after the installation of DaDaBIK.
My advise is to restore the previous situation using a backup.


Best,
 
Top