Thu Apr 10 19:24:48 2003] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Call to undefined function: message_die() in C:\web\db\db.php on line 88
[Thu Apr 10 19:24:48 2003] [error] [client xxx.xxx.xxx.xxx] PHP Warning: (null)() [<a href='http://www.php.net/ref.outcontrol'>ref.outcontrol</a>]: output handler 'ob_gzhandler' cannot be used twice in Unknown on line 0
First of all and most importantly, make sure that your TYPE, USERNAME, and PASSWORD are correct for your database connection in your config file. Run the conntest script from this site to verify. If they are, then that doesn't mean that nuke can connect the same way. Please post conntest and analyzer link.
[Edited by Raven 6-20-2003. Removed alternate solution as it still points to an incorrect config.php setup.]
Last edited by Raven on Fri Jun 20, 2003 10:39 am; edited 1 time in total
gab Nuke Soldier
Joined: Jun 02, 2003
Posts: 13
Posted:
Thu Jun 05, 2003 2:32 am
Hi,
I have got something similar. When I want to go to forums I only get this error message:
Quote:
message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?
I searched the forum and did not find something.
This happens after an update 6.0 to 6.5.
Any idea what this means?
I applied the modification posted above, but still the same.
EDIT: The forum admin section is working fine!
Raven General
Joined: Mar 22, 2003
Posts: 5233
Location: USA
Posted:
Thu Jun 05, 2003 3:08 am
There are usually other errors that accompany this message. Those errors usually mean there is a problem with your MySQL settings. What other errors are you receiving? If there are other errors about 'undefined functions', etc. read the welcome announcement in the forum index as to how to turn the SQL debug option on. Then post back if that helps to isolate the error.
Line : 220
File : /home/www/web1/html/nuk/html/includes/sessions.php
The application that uses the table '4Images_session' appears to be the problem. Is it compatible with nuke v6.5? This does not appear to be a core nuke issue and we do not support third party modules/applications. You will need to contact the author.
thanks for the quick reply.
oh that doesnt sound too good. weird. how could this happen?
uhm, what do i have to repair. my user or all users?
i cant log in with my normal user only as admin.
oh no, i cant access the table in mysql admin:
Can't open file: 'nuke_users.MYI'. (errno: 145)
Error
SQL-query :
SHOW KEYS FROM `nuke_users`
MySQL said:
Can't open file: 'nuke_users.MYI'. (errno: 145)
Back
Last edited by daphne on Mon Jun 16, 2003 1:13 pm; edited 1 time in total
Raven General
Joined: Mar 22, 2003
Posts: 5233
Location: USA
Posted:
Mon Jun 16, 2003 1:13 pm
You repair the table using the Repair option in phpmyadmin. Somehow the table went bad. You may lose nothing, some, or (worst case) all of the table. But, of course, you have backups, right ?
I think I located how the error happened on my system. I did a upgrade from 6.0 to 6.5. Then I used the move.php to move the forum splatt to phpBB port. After that I got always ( I tried several times) the error msg die.
I solved it (?) when I disabled all (!) modules and blocks in 6.0 before I did call the move.php. After that I could reactivate the modules and blocks, and everything was fine in 6.5. I did not use a chat and another block that seemed quite old fashioned to me.
Furtunatly I had some backups, so I did not use a lot of content. And it is a good idea to make some backups during this kind of test, that leads to relaxed testing. It is quite easy to make a backup with phnnuke, only the table and a tar file of the files...
Maybe this help someony in some way...
And, Raven, I also tried the repair function during that jurney, but on my system it was no success. Anyway, always a thing to try during trubleshooting....
Raven General
Joined: Mar 22, 2003
Posts: 5233
Location: USA
Posted:
Mon Jun 16, 2003 1:35 pm
Repair is a MySQL, not nuke function. Whenever you get an error like this Can't open file: 'nuke_users.MYI'. (errno: 145) Repair is your ONLY option. You were experiencing a different problem from your explanation, although the error message is the same (message_die()) because it results in a communication error between PHP and MySQL.
If you look at that link that you posted, it tells you all kinds of stuff
Quote:
phpBB : Critical Error
Error creating new session
DEBUG MODE
SQL Error : 1054 Unknown column 'session_start' in 'field list'
INSERT INTO 4images_sessions (session_id, session_user_id, ....
Believe it or not, I did *not* see this msgs on my PC, NT4.0 with IE, they simply where not shown. Only on another PC I used later I saw that, and I was quite surprised! And I am still wondering why there were not visible....
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