Page 1 of 1

Error "can't connnect to database"

Posted: Tue Dec 22, 2009 7:34 pm
by ugogo.info
Script URL: http://www.ugogo.info/helpdesk
Version of script: 2.1
Hosting company: www.ids-hosting.co.za
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

can't connect to database
cannot connect to database
connect to database

Write your message below:

I've been using Hesk successful for over 3 months.

Suddenly, today when you go to our above url, we get this message "can't connect to database" where the knowledge article usually are displayed, and the Administrator Login link also disappeared from the foot of ht epage.

We did a check on cpanel - it says the database is fine.

I recall this happend a few weeks back, but after a few minutes it went back to normal.

I'd appreciate any advice on what this is and how to get it working again.

Thanks!

Posted: Tue Dec 22, 2009 8:19 pm
by Klemen
Nothing in the Hesk obviously changed so it indeed is a database connection error, not a Hesk-related error.

You might get more info about the actual error if you download the hesk_settings.inc.php file from the server, open it in Notepad, change

Code: Select all

$hesk_settings['debug_mode']=0;
to

Code: Select all

$hesk_settings['debug_mode']=1;
and upload it back to the server.

Posted: Tue Dec 22, 2009 8:41 pm
by ugogo.info
Thanks! That was a really fast reply!

The debug told me exactly what was wrong, and I fixed it right away then disabled debug. Its working - all back to normal.