mySQL Error Message question

Started by blindarkman, April 24, 2009, 05:04:45 AM

Previous topic - Next topic

blindarkman

I am currently getting this error

QuoteConnection Problems
Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.

I know the reason this is happening, my real question is, in what file, can I change this error.

I have checked in Sources/Errors.php and was unable to locate it.

I used the forum search and it just comes up with people asking why they getting it, not how they can change it.

Oops, would help if I told you I was running SMF v1.1.8 :P sorry.

JBlaze

Jason Clemons
Former Team Member 2009 - 2012

blindarkman

Quote from: JBlaze on April 24, 2009, 05:07:32 AM
What is repair_settings.php?
Use that to restore connection to your database.

As stated in the FIRST line, I know why this is happening, I just was woundering WHERE I can CHANGE the ERROR message.

Like instead of it saying:

QuoteSorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.

I would like to edit it to say:

QuoteWe are currently experiencing technical problems, should be back up shortly

Dragooon

The message is hardcoded in Subs-Auth.php in show_db_error.

blindarkman

Quote from: Dragooon on April 24, 2009, 05:20:50 AM
The message is hardcoded in Subs-Auth.php in show_db_error.

Thank you sir, :)

Advertisement: