Fatal error: Table 'dbname.settings' doesn't exist

Post Reply
alexscj
Posts: 97
Joined: Mon Apr 01, 2013 3:04 pm

Fatal error: Table 'dbname.settings' doesn't exist

Post by alexscj » Tue May 15, 2018 6:16 am

Hello,

immediately after installing the latest version of TCMS, I'm getting this fatal error on the admin page after login:

Code: Select all

Fatal error: Uncaught exception 'Exception' with message 'Mysql error:: 1146 (Table 'DB_NAME.settings' doesn't exist) (db_link) in query SELECT value FROM settings WHERE name = 'script_messages_verbose_level' . (porndig.video) ' in /PATH_TO_TCMS/includes/db_modules/mysql.php:129 Stack trace: #0 /PATH_TO_TCMS/includes/db_modules/mysql.php(159): db_error('SELECT value FR...', 1146, 'Table 'cms_porn...', 'db_link') #1 /PATH_TO_TCMS/includes/db_modules/mysql.php(263): db_query('SELECT value FR...', 'db_link') #2 /PATH_TO_TCMS/includes/libs/functions.php(0): db_val() #3 /PATH_TO_TCMS/includes/db_modules/mysql.php(123): write_script_warning('Mysql error 114...', 'core_errors') #4 /PATH_TO_TCMS/includes/db_modules/mysql.php(159): db_error('select * from s...', 1146, 'Table 'cms_porn...', 'db_link') #5 /PATH_TO_TCMS/includes/prepare.php(0): db_query() #6 /PATH_TO_TCMS/in in /PATH_TO_TCMS/includes/db_modules/mysql.php on line 129
Tried reinstalling with fresh db etc. but didn't help. On the same server, there are several TCMS latest version installed last week & running smoothly.

admin
Site Admin
Posts: 25173
Joined: Wed Sep 10, 2008 11:43 am

Re: Fatal error: Table 'dbname.settings' doesn't exist

Post by admin » Tue May 15, 2018 11:42 am

Sorry, yes.
It's been fixed already, try again plz
Have you done script update ?

alexscj
Posts: 97
Joined: Mon Apr 01, 2013 3:04 pm

Re: Fatal error: Table 'dbname.settings' doesn't exist

Post by alexscj » Tue May 15, 2018 1:57 pm

Tried again, all good!

admin
Site Admin
Posts: 25173
Joined: Wed Sep 10, 2008 11:43 am

Re: Fatal error: Table 'dbname.settings' doesn't exist

Post by admin » Tue May 15, 2018 2:03 pm

Great)
Have you done script update ?

Post Reply