Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: babson on July 18, 2007, 07:03:17 AM

Title: TO CONNECT TO DATABASE
Post by: babson on July 18, 2007, 07:03:17 AM
I TRY TO VISIT MY WEBSITE YESTERDAY, THIS IS THE ERROR I GET, AND THE  SITE CAN NOT  SHOW.

$db_user = '***'; $db_passwd = '***'; $db_prefix = 'nairocom_'; $db_persist = 0; $db_error_send = 1; ########## Directories/Files ########## # Note: These directories do not have to be changed unless you move things.�$boarddir = '/home/nairocom/public_html'; # The absolute path to the forum's folder. (not just '.'!) $sourcedir = '/home/nairocom/public_html/Sources'; # Path to the Sources directory. ########## Error-Catching ########## # Note: You shouldn't touch these settings. $db_last_error = 1184697937; # Make sure the paths are correct... at least try to fix them.�if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt')) $boarddir = dirname(__FILE__); if (!file_exists($sourcedir) && file_exists($boarddir . '/Sources')) $sourcedir = $boarddir . '/Sources'; ?>
Warning: Cannot modify header information - headers already sent by (output started at /home/nairocom/public_html/Settings.php:49) in /home/nairocom/public_html/Sources/Subs-Auth.php on line 211

Warning: Cannot modify header information - headers already sent by (output started at /home/nairocom/public_html/Settings.php:49) in /home/nairocom/public_html/Sources/Subs-Auth.php on line 212

Warning: Cannot modify header information - headers already sent by (output started at /home/nairocom/public_html/Settings.php:49) in /home/nairocom/public_html/Sources/Subs-Auth.php on line 213
Connection Problems
Sorry, SMF was unable to connect to the database.

AND DONT KNOW WHAT TO DO AGAIN, PLS CAN SOMEONE THERE TELL ME WHAT TO DO TO HAVE ACCESS TO MY WEBSITE AGAIN? THE SITE IS www.nairakobo.com. U CAN VISIT THE SITE AND SEE THE ERROR AGAIN.

THX.
Title: Re: TO CONNECT TO DATABASE
Post by: Harro on July 18, 2007, 07:12:13 AM
Please don't TRIPLE post.
Duplicate topics here (http://www.simplemachines.org/community/index.php?topic=183281.0) and here (http://www.simplemachines.org/community/index.php?topic=183279.0)

Topic locked.