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, 59 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 - FIX: undefined function: message_die in db.php 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
medigangsta
Nuke Cadet
Nuke Cadet


Joined: Jan 10, 2004
Posts: 4


PostPosted: Fri Jul 16, 2004 11:03 am Reply with quoteBack to top

First off, thanks for the reply.

We weren't using persistent connections until my colleague turned them on during another crash earlier today, and it seemed to - at least temporarily - solve our problem.

Why is there no need for persistent connections? We seem to be performing better with them on.
Find all posts by medigangstaView user's profileSend private message
vjg
Captain
Captain


Joined: Oct 26, 2003
Posts: 553


PostPosted: Fri Jul 16, 2004 6:01 pm Reply with quoteBack to top

You can run out fast with persistent connections. The host I'm on, lunarpages.com, runs all mySQL databases set to 50 connections and specifies that you shoul *not* use persistent connections. I never see complaints about running out of connections.

- Virgil

_________________
Image
Find all posts by vjgView user's profileSend private message
buildingmaster01
Nuke Soldier
Nuke Soldier


Joined: Aug 03, 2004
Posts: 16


PostPosted: Tue Aug 03, 2004 9:23 am Reply with quoteBack to top

I have the Fatal error: Call to undefined function: message_die() in /home/directory/public_html/db/db.php on line 88 problem.

I just moved all my site's files to a new server. My site has CPanel/phpmyadmin access now, so if there's anything I need to set-up in there, please tell me.

I changed the config.php file's username and password for the new server. How can I figure out what the host and dbname is suppose to be???

I have MySQL as the type, and both the prefix/user prefix are nuke. MySQL is said to be working perfectly on the server.

Please help ASAP, thank you in advance.
Find all posts by buildingmaster01View user's profileSend private message
buildingmaster01
Nuke Soldier
Nuke Soldier


Joined: Aug 03, 2004
Posts: 16


PostPosted: Tue Aug 03, 2004 1:23 pm Reply with quoteBack to top

I read up on how to install phpnuke with phpmyadmin. The error I posted above is gone. I now have these errors:

Warning: head(themes//theme.php): failed to open stream: No such file or directory in /home/directory/public_html/header.php on line 31

Warning: head(): Failed opening 'themes//theme.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/directory/public_html/header.php on line 31

Fatal error: Call to undefined function: themeheader() in /home/directory/public_html/header.php on line 47
Find all posts by buildingmaster01View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12373


PostPosted: Tue Aug 03, 2004 1:23 pm Reply with quoteBack to top

I'd talk to your server's host about that. Usually your host is localhost while your dbname is your account username.

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
buildingmaster01
Nuke Soldier
Nuke Soldier


Joined: Aug 03, 2004
Posts: 16


PostPosted: Tue Aug 03, 2004 1:28 pm Reply with quoteBack to top

Thanks, I got the line 88 problem solved. Do you have any suggestions as to the other errors?
Find all posts by buildingmaster01View user's profileSend private message
YMHEE_BCEX
Nuke Cadet
Nuke Cadet


Joined: Aug 16, 2004
Posts: 5


PostPosted: Sun Sep 12, 2004 5:19 pm Reply with quoteBack to top

I read through this thread, and I am puzzled... Nobody mentions that this message_die() or line 88 problem is really a bug in phpNuke that needs to be fixed. Not only it's a pesky bug, it obscures the real problem. The whole thread is dedicated to how to get to the real problem that is obscured by this bug.

The solutions is to include functions.php in db.php.
Code:
require_once("".$the_include."includes/functions.php");
Find all posts by YMHEE_BCEXView user's profileSend private message
ArtGuy
Nuke Cadet
Nuke Cadet


Joined: Sep 06, 2003
Posts: 6


PostPosted: Thu Oct 21, 2004 7:47 pm Reply with quoteBack to top

Hello there,

I added this:
require_once("".$the_include."includes/functions.php");
line in db.php and it created another problem. It stopped showing me the members' list and gave this error message:

Fatal error: Cannot redeclare get_db_stat() (previously declared in /home/cool/public_html/includes/functions.php:64) in /home/cool/public_html/includes/functions.php on line 64

So I had to remove it back. After the removal of it the members' list got back to normal.

Any other solution for the '....line 88' bug, please do let us.
Find all posts by ArtGuyView user's profileSend private message
arnoldkrg
Major
Major


Joined: Aug 03, 2003
Posts: 937

Location: United Kingdom

PostPosted: Fri Oct 22, 2004 3:15 am Reply with quoteBack to top

The message die problem was fixed from PHP-Nuke 7.2 onwards. The message that is displayed now reads
Quote:
There seems to be a problem with the MySQL server, sorry for the inconvenience.<br><br>We should be back shortly.</center></b>


So even though old versions of php-nuke were displaying a garbled error message, the problem always was, and still is the same. There is a problem connecting to the database. Any one of the usual culprits could be to blame. Some of these usual culprits are as follows

The database is not there
The username is wrong
The password is wrong
The user doesnt have permission to access the database.
The spelling or case of the details in config.php are wrong.
The dbase type is set as MySQL in config.php and the dbase is not MySQL
You didnt use a Decent Text Editor to edit config.php.

_________________
Image
Find all posts by arnoldkrgView user's profileSend private messageSend e-mailVisit poster's website
nikoholic
Nuke Soldier
Nuke Soldier


Joined: Nov 19, 2004
Posts: 10


PostPosted: Fri Nov 19, 2004 9:19 am Reply with quoteBack to top

just got finished installing nuke 6.5 on the server. I got it going for a minute then the errors started coming up and I'm stuck. Getting this.

Quote:
Warning: head(themes/CVS/theme.php): failed to open stream: No such file or directory in /usr/home/knightbree/domains/knightbreeddnb.com/public_html/nuke/header.php on line 144

Warning: head(): Failed opening 'themes/CVS/theme.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/knightbree/domains/knightbreeddnb.com/public_html/nuke/header.php on line 144

Fatal error: Call to undefined function: themeheader() in /usr/home/knightbree/domains/knightbreeddnb.com/public_html/nuke/header.php on line 168


read it had something to do with permissions but that wasn't true, maybe it's something with the server...

Any ideas??? Sad
Find all posts by nikoholicView user's profileSend private message
hubson
Sergeant
Sergeant


Joined: Feb 21, 2004
Posts: 103

Location: UK

PostPosted: Sun Nov 21, 2004 3:51 am Reply with quoteBack to top

sounds to me the theme isn't set up right, check to see if the theme.php file is in there
Find all posts by hubsonView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
oldsteel68
Corporal
Corporal


Joined: Jan 19, 2005
Posts: 61


PostPosted: Sat Jan 22, 2005 11:44 am Reply with quoteBack to top

im getting that die error. Im installing 6.5 . Im guessing the problem is in my config. How do i know what my username and pass is? Also sitekey?

Thanks..
Find all posts by oldsteel68View user's profileSend private message
maho
Corporal
Corporal


Joined: Aug 15, 2004
Posts: 54


PostPosted: Mon Jan 24, 2005 8:38 pm Reply with quoteBack to top

This was strange ! ...........

my username and password on config changed to my admin password and username to db name "which is different then db pass or username when logging into mysql" sooooooooooooo explain how can my pass and username get changed ? on config.php ?
Find all posts by mahoView user's profileSend private message
egawab
Nuke Cadet
Nuke Cadet


Joined: Jan 27, 2005
Posts: 1


PostPosted: Thu Jan 27, 2005 1:22 am Reply with quoteBack to top

hope you find the solution





find the best forex resources

HTTP://WWW.FINDFOREX.COM


increase your hotmail account to 250 mB free

HTTP://www.abgz.com
Find all posts by egawabView user's profileSend private message
eastcoastgamers
Corporal
Corporal


Joined: Mar 12, 2004
Posts: 55

Location: Maine

PostPosted: Sun Apr 24, 2005 8:20 am Reply with quoteBack to top

i had the error that started this thread then i changed the line in db.php to this:

// message_die(CRITICAL_ERROR, "Could not connect to the database");
die("Could not connect to the database \n" . mysql_errno() . ": " . mysql_error(). "\n");

now my error is:

Could not connect to the database 1129: Host 'localhost.localdomain' is blocked because of many connection errors. Unblock with 'mysqladmin flush-hosts'

i'm no expert when it comes to this stuff. I'm not sure what flush-hosts is or what can do to correct ths error so i can view my site again. site has been up for a while now and just started having this problem.

_________________
Image
Find all posts by eastcoastgamersView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
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.711 Seconds - 180 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::