You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 63 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - message_die() on line 88 [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Fri Apr 11, 2003 5:03 am Reply with quoteBack to top

Here is the symptomatic error messages:
Code:
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.]

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff

Last edited by Raven on Fri Jun 20, 2003 10:39 am; edited 1 time in total
Find all posts by RavenView user's profileSend private messageVisit poster's website
gab
Nuke Soldier
Nuke Soldier


Joined: Jun 02, 2003
Posts: 13


PostPosted: Thu Jun 05, 2003 2:32 am Reply with quoteBack to top

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!
Find all posts by gabView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Thu Jun 05, 2003 3:08 am Reply with quoteBack to top

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.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
gab
Nuke Soldier
Nuke Soldier


Joined: Jun 02, 2003
Posts: 13


PostPosted: Thu Jun 05, 2003 3:25 am Reply with quoteBack to top

Hi,

turned on debugs for

Debug for PHPNuke
Debug for phpBB Forums - 6.5 Release
sql_layer.php Debug


Nothing, only this error message mentioned above.



EDIT: Oh, sorry, I did not see that I should only post if it helps with new info. Rolling Eyes Cool


Last edited by gab on Thu Jun 05, 2003 5:34 am; edited 1 time in total
Find all posts by gabView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Thu Jun 05, 2003 5:30 am Reply with quoteBack to top

If you look at that link that you posted, it tells you all kinds of stuff Smile
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, session_start, session_time, session_ip, session_page, session_logged_in) VALUES ('49fdea5fe5466394609cce093aaa9168', 1, 1054819666, 1054819666, 'cf2bc3cb', 0, 0)

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.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
gab
Nuke Soldier
Nuke Soldier


Joined: Jun 02, 2003
Posts: 13


PostPosted: Thu Jun 05, 2003 5:36 am Reply with quoteBack to top

ok, thanks a lot for your help.

I will try to get 4images out of the table, because right now I can setup new tables.

Lets see what will happen then!

Greg
Find all posts by gabView user's profileSend private message
daphne
Nuke Cadet
Nuke Cadet


Joined: May 22, 2003
Posts: 9


PostPosted: Mon Jun 16, 2003 12:57 pm Reply with quoteBack to top

is there a connection to my problem?

phpBB : Critical Error

Error doing DB query userdata row fetch

DEBUG MODE

SQL Error : 1016 Can't open file: 'nuke_users.MYI'. (errno: 145)

SELECT u.*, s.* FROM nuke_bbsessions s, nuke_users u WHERE s.session_id = '7724e35404608505277617df42f442f1' AND u.user_id = s.session_user_id

Line : 308
File : /home/habbofan/public_html/forum/includes/sessions.php




message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?



phpBB : Critical Error

Could not obtain lastvisit data from user table

DEBUG MODE

SQL Error : 1016 Can't open file: 'nuke_users.MYI'. (errno: 145)

SELECT * FROM nuke_users WHERE user_id = 1

Line : 102
File : /home/habbofan/public_html/forum/includes/sessions.php
Find all posts by daphneView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Mon Jun 16, 2003 1:04 pm Reply with quoteBack to top

You need to use phpmyadmin and run a repair on that table 'nuke_users. It's hosed.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
daphne
Nuke Cadet
Nuke Cadet


Joined: May 22, 2003
Posts: 9


PostPosted: Mon Jun 16, 2003 1:11 pm Reply with quoteBack to top

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
Find all posts by daphneView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Mon Jun 16, 2003 1:13 pm Reply with quoteBack to top

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 Wink ?

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
daphne
Nuke Cadet
Nuke Cadet


Joined: May 22, 2003
Posts: 9


PostPosted: Mon Jun 16, 2003 1:15 pm Reply with quoteBack to top

lol no not really, but thats the price to pay.
thanks a lot, you're a great help Smile
but i dont have a repair option. oh oh Sad
Find all posts by daphneView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Mon Jun 16, 2003 1:18 pm Reply with quoteBack to top

Seriously, this continues to substantiate that the message die() error is 99.99% caused by a problem in the connection to MySQL.

Good luck!

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
gab
Nuke Soldier
Nuke Soldier


Joined: Jun 02, 2003
Posts: 13


PostPosted: Mon Jun 16, 2003 1:29 pm Reply with quoteBack to top

Hi,

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.... Wink
Find all posts by gabView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Mon Jun 16, 2003 1:35 pm Reply with quoteBack to top

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.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
gab
Nuke Soldier
Nuke Soldier


Joined: Jun 02, 2003
Posts: 13


PostPosted: Mon Jun 16, 2003 1:37 pm Reply with quoteBack to top

Raven wrote:
If you look at that link that you posted, it tells you all kinds of stuff Smile
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....

Cool
Find all posts by gabView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.267 Seconds - 179 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::