Page 1 of 1

Cannot Access Website or Admin

Posted: Fri Jul 13, 2018 8:51 am
by CapereSpiritum
I have several websites using CMSMS. After upgrading to PHP v7.1
2 of my sites went down a short while after the upgrade.
An initial view of the sites and the admin area seemed ok but several days later, they went down.

I get this message
Fatal error: Attempt to connect to database db431056617 on dbo431056617@db431056617.db.1and1.com failed in /homepages/34/d281596727/htdocs/AWNW/lib/adodb.functions.php on line 61

The sites are:
http://www.artworknetwork.co.uk and http://www.best-fishing.co.uk/

I was in the process up redesigning both sites and using the latest CMSMS. Now I cannot access the page data to do so.

Thanks
Simon
:o

Re: Cannot Access Website or Admin

Posted: Fri Jul 13, 2018 10:07 am
by Rolf
Is there 'mysqli' here in your config file ? https://docs.cmsmadesimple.org/configur ... onfig_dbms
Clear cache.

Re: Cannot Access Website or Admin

Posted: Mon Jul 30, 2018 7:54 am
by Rolf
You have tried to check that line in the config file?

Re: Cannot Access Website or Admin

Posted: Tue Sep 18, 2018 2:04 pm
by CapereSpiritum
Hi Rolf

Sorry for the delay. I've been undergoing treatment for cancer. It's been a bit rough for a while...

Anyway, my config file is as below

Code: Select all

<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'HOSTNAME';
$config['db_username'] = 'USERNAME';
$config['db_password'] = 'PASSWORD';
$config['db_name'] = 'DBNAME';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 3306;
$config['timezone'] = 'Europe/London';
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
?>
The site did actually work for a while after upgrade.
My heads a bit mashed, any assistance would be appreciated and a 'Coffee' will be sent to you :)

Thanks
Simon

Re: Cannot Access Website or Admin

Posted: Tue Sep 18, 2018 2:51 pm
by DIGI3
I would guess that something has changed on your host - either the database port, the database server name, or something else related to the db. It doesn't sounds like a cmsms issue specifically.