Upgrade from 9.2.2 to 11.12: Base table or view not found: 1146 Table 'db.dadabik_config' doesn't exist

Hello,

I have upgrade my DaDaBIK version from 9.2.2 to 11.12. with "up.php"
And then I want to access to my application (after I set $debug_mode =1;) the browser write:

[08] Error: during query execution. SELECT * FROM `dadabik_config`
The DBMS server said: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db.dadabik_config' doesn't exist

If this error persists when you open a page, try to logout and login again (this removes a possibly wrong search filter).

I look to my database and yes, there is no table "dadabik_config".

What can I do?
Regards
Michael
 
Hello,

I found the bug.
During the update routine, the up.php cut all my prefix from the tables:
Befor I have "dadabik_*" tables and now I have "_*" tabels.

So I change
$prefix_internal_table = 'dadabik_';
to
$prefix_internal_table = '_';
and now it works.

Regards
Michael
 

eugenio

Administrator
Staff member
Hello,
I think the upgrade did not work as expected, the update routine doesn't cut prefixes.
I strongly suggest to revert the application back to its original state (9.2.2), to try again the upgrade on a copy of the installation and to post here the screenshots of the upgrade process.

Best,
 
Top