Sorry, Service Is Temporarily Unavailable Message

Hi, i am getting this error message "sorry, service is temporarily unavailable". I restored my website and get this error. Please help.

Clear cache.

i cleared the cache in my browser and also deleted the var/cache folder as well.

View the page source then and see if it is giving you an error.

how do i do that? sorry i am new to this.

Ok it says the following:

Message
Cannot connect to the database server

Error at
init.php, line: 83

Backtrace
File:index.php
Line:24
Function:require


-->

Did your data base credentials change? In /config.local.php you need to make sure the data base information is correct.

/*
 * Database connection options
 */
$config['db_host'] = '%DB_HOST%';
$config['db_name'] = '%DB_NAME%';
$config['db_user'] = '%DB_USER%';
$config['db_password'] = '%DB_PASSWORD%';

$config[‘database_backend’] = ‘mysqli’;

i checked the data base and everything is correct.

i checked the data base and everything is correct.

Please contact us via Customer Help Desk and provide temporary access to your server by clicking on the Add record link on the Access information page of your Help Desk account so that we could examine the issue.

To check database connection, please create the test.php file in the root directory of cs-cart installation with the following code:

$connect = mysql_connect($dbhost, $dbuser, $dbpass) or die(“Unable to Connect to ‘$dbhost’”);
mysql_select_db($dbname) or die(“Could not open the db ‘$dbname’”);

Then run this script in your browser and check the result

I checked the database info again and changed it again and it fixed the issue! Thank you guys for the help!!!!

I was so, when out of space on the server. Backups occupied all the available space.

i myself am getting this same msg Database (error)
Error: Got error 28 from storage engine (1030)
Query: SELECT distinct csla_orders.order_id, csla_orders.issuer_id, csla_orders.user_id, csla_orders.is_parent_order, csla_orders.parent_order_id, csla_orders.company_id, csla_orders.timestamp, csla_orders.firstname, csla_orders.lastname, csla_orders.email, csla_orders.phone, csla_orders.status, csla_orders.total, invoice_docs.doc_id as invoice_id, memo_docs.doc_id as credit_memo_id, csla_order_data.data as points FROM csla_orders LEFT JOIN csla_order_docs as invoice_docs ON invoice_docs.order_id = csla_orders.order_id AND invoice_docs.type = 'I' LEFT JOIN csla_order_docs as memo_docs ON memo_docs.order_id = csla_orders.order_id AND memo_docs.type = 'C' LEFT JOIN csla_order_data ON csla_order_data.order_id = csla_orders.order_id AND csla_order_data.type = 'W' WHERE 1 AND csla_orders.is_parent_order != 'Y' AND csla_orders.status IN ('I') AND csla_orders.status != 'N' AND (csla_orders.timestamp >= 1471899766 AND csla_orders.timestamp <= 1474578166) ORDER BY csla_orders.timestamp desc, csla_orders.order_id desc LIMIT 0, 5

i myself am getting this same msg Database (error)
Error: Got error 28 from storage engine (1030)
Query: SELECT distinct csla_orders.order_id, csla_orders.issuer_id, csla_orders.user_id, csla_orders.is_parent_order, csla_orders.parent_order_id, csla_orders.company_id, csla_orders.timestamp, csla_orders.firstname, csla_orders.lastname, csla_orders.email, csla_orders.phone, csla_orders.status, csla_orders.total, invoice_docs.doc_id as invoice_id, memo_docs.doc_id as credit_memo_id, csla_order_data.data as points FROM csla_orders LEFT JOIN csla_order_docs as invoice_docs ON invoice_docs.order_id = csla_orders.order_id AND invoice_docs.type = 'I' LEFT JOIN csla_order_docs as memo_docs ON memo_docs.order_id = csla_orders.order_id AND memo_docs.type = 'C' LEFT JOIN csla_order_data ON csla_order_data.order_id = csla_orders.order_id AND csla_order_data.type = 'W' WHERE 1 AND csla_orders.is_parent_order != 'Y' AND csla_orders.status IN ('I') AND csla_orders.status != 'N' AND (csla_orders.timestamp >= 1471899766 AND csla_orders.timestamp <= 1474578166) ORDER BY csla_orders.timestamp desc, csla_orders.order_id desc LIMIT 0, 5

This error indicates that there is a lack of free disk space on your server for the database. You should contact your server administrators regarding this problem.