I have a forum which has been going well for years.
Then all of a sudden, this morning, I get this error when trying to log in: Fatal error: Call to undefined function: message_die() in /var/www/html/phpnuke/db/db.php on line 88
It came out of nowhere - I haven't done a thing - and this just happened.
The help offered there looks like it's based on the assumption that the person getting the error has just installed something or done something....
I have not logged into my admin account - I haven't done anything and this error came.
So, I am wondering:
a. What can I do to fix it? I do not know php and am not a programmer. The suggestions in that link are with reference to things that are in place and haven't been changed. To tell the truth, I don't know how to check them.
b. If those are the only possible sources of problems, does this mean somebody messed with my site?
Thanks
_________________ Everybody has their own agenda.
Patro Corporal
Joined: May 26, 2005
Posts: 69
Location: Singapore
Posted:
Mon Mar 10, 2008 7:53 pm
OK, I'm not THAT helpless...I found my config.php file and downloaded it.
Let me address each concern in the karakas-online link you gave me:
*
Are you sure you downloaded *all* the files? Maybe some file is missing. Perhaps you wanted to save some bandwidth and omitted some crucial file or directory, or subdirectory.
I have no reason to believe any files have been moved. I haven't been downloading anything or been in the admin side in months.
*
You didn't enter "MySQL" as the dbtype in config.php (see Section 3.7). It must be exactly with a Capital M, a small y, and capital S, Q and L.
MySQL is written properly (case sensitive) in that file.
*
The code tries to select the database, but the database is not there. Create the database and populate it with tables (see Section 3.2.4).
I have no reason to believe the database is not there. How can I check if it's there or not? It was there 12 hours ago.
*
You have some error in the config.php file (see Section 3.7). Double check that the username and password are correct. Don't forget, the " and ; are important. And DON'T remove the $ in front of the variables! If you used an editor like Notepad, Wordpad, or some editor that you are not 100% sure that works correctly, delete the config.php file, get a fresh copy and edit it with a decent text editor (see Chapter 11).
I determined that the ID and PW were correct, as stated here: $dbhost = 'localhost';
$dbuname = 'carfreaks';
$dbpass = 'PASSWORD
PS I would post my phpnuke version number but I don't know it, or know how to find it!
_________________ Everybody has their own agenda.
Patro Corporal
Joined: May 26, 2005
Posts: 69
Location: Singapore
Posted:
Tue Mar 11, 2008 1:46 am
I downloaded the db.php file in question, reuploaded it and it solved the issue.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum