FATAL ERROR: Could not find database connection key (2)
Posted: Thu Jun 20, 2013 12:46 pm
Note: We posted this topic before but Calguy told us to upgrade first (from 1.11.5) in order to "see if the problem persists. Your (Our) version of CMSMS is unsupported."
So we did but unfortunately the problem is still very much there. Hopefulle there someone who can give us a hint...
This is/was our original post:
Hello everybody,
We have this this very annoying problem, maybe someone can help us out...
Since a few months we regularly get this fatal error:
/var/www/vhosts/abteam.nl/httpdocs/lib/adodb.functions.php:52 - offsetGet
/var/www/vhosts/abteam.nl/httpdocs/lib/classes/class.CmsApp.php:229 - adodb_connect
/var/www/vhosts/abteam.nl/httpdocs/include.php:186 - GetDb
/var/www/vhosts/abteam.nl/httpdocs/admin/listcontent.php:22 - require_once
FATAL ERROR: Could not find database connection key dbms in the config file
Then when we refresh this fatal error message will sometimes (most of the times) go away.
We've contacted our hosting company several times but they cannot figure out what is going wrong here.
Can someone see what is happening here?
Thanks in advance.
Maybe this is related: we always have to login twice(...). The first time (per session) we login we always get a new, fresh login-screen again. Only when we login a second time we are forwarded to our administration pages...
Ron Hoenson
Here's our configuration (updated):
----------------------------------------------
Cms Version: 1.11.7
Installed Modules:
CMSMailer: 5.2.1
FileManager: 1.4.3
MenuManager: 1.8.5
ModuleManager: 1.5.5
News: 2.12.12
Uploads: 1.14.4
Search: 1.7.8
ThemeManager: 1.1.8
CGSmartImage: 1.10.10
Statistics: 1.1.3
Guestbook: 1.4_RC2
FormBuilder: 0.7.3
Captcha: 0.4.6
CGSimpleSmarty: 1.6.2
CGExtensions: 1.35
Statistics: 1.1.3
CGBlog: 1.9.12
CMSPrinting: 1.0.4
MicroTiny: 1.2.5
Printing: 1.1.2
Config Information:
php_memory_limit:
process_whole_template: 1
max_upload_size: 96000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: nl_NL.utf8
default_encoding:
admin_encoding: utf-8
set_names: false
Php Information:
phpversion: 5.3.3
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 256M
max_execution_time: 90
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 96M
upload_max_filesize: 96M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.77
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
----------------------------------------------
So we did but unfortunately the problem is still very much there. Hopefulle there someone who can give us a hint...
This is/was our original post:
Hello everybody,
We have this this very annoying problem, maybe someone can help us out...
Since a few months we regularly get this fatal error:
/var/www/vhosts/abteam.nl/httpdocs/lib/adodb.functions.php:52 - offsetGet
/var/www/vhosts/abteam.nl/httpdocs/lib/classes/class.CmsApp.php:229 - adodb_connect
/var/www/vhosts/abteam.nl/httpdocs/include.php:186 - GetDb
/var/www/vhosts/abteam.nl/httpdocs/admin/listcontent.php:22 - require_once
FATAL ERROR: Could not find database connection key dbms in the config file
Then when we refresh this fatal error message will sometimes (most of the times) go away.
We've contacted our hosting company several times but they cannot figure out what is going wrong here.
Can someone see what is happening here?
Thanks in advance.
Maybe this is related: we always have to login twice(...). The first time (per session) we login we always get a new, fresh login-screen again. Only when we login a second time we are forwarded to our administration pages...
Ron Hoenson
Here's our configuration (updated):
----------------------------------------------
Cms Version: 1.11.7
Installed Modules:
CMSMailer: 5.2.1
FileManager: 1.4.3
MenuManager: 1.8.5
ModuleManager: 1.5.5
News: 2.12.12
Uploads: 1.14.4
Search: 1.7.8
ThemeManager: 1.1.8
CGSmartImage: 1.10.10
Statistics: 1.1.3
Guestbook: 1.4_RC2
FormBuilder: 0.7.3
Captcha: 0.4.6
CGSimpleSmarty: 1.6.2
CGExtensions: 1.35
Statistics: 1.1.3
CGBlog: 1.9.12
CMSPrinting: 1.0.4
MicroTiny: 1.2.5
Printing: 1.1.2
Config Information:
php_memory_limit:
process_whole_template: 1
max_upload_size: 96000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: nl_NL.utf8
default_encoding:
admin_encoding: utf-8
set_names: false
Php Information:
phpversion: 5.3.3
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 256M
max_execution_time: 90
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 96M
upload_max_filesize: 96M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.77
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
----------------------------------------------