473,406 Members | 2,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

phpNuke - undefined function: message_die

There have been several messages on newsgroups about problems with
phpNUKE related to a post-installation error of:

Fatal error: Call to undefined function: message_die() in
/<serverpath-to-phpnuke>/db/db.php on line 88

Well, I figured out the problem, so I'm posting it here.

ANSWER: You don't have your database configured correctly is the short
answer, and I can't help you there except that it is most likely one
or more of the variables $dbhost, $dbuname, $dbpass, or $dbtype in the
config.php file. Once you get the database configured correctly, the
message goes away.

The message_die function is a phpNuke function and is included in the
<nukefiles>/html/includes/functions.php file. However, the function
only appears to be called from .../modules/Forums/common.php. I'm not
a phpNuke author/developer, but I spent a few minutes glancing through
code. Since this function is used all over the place, then it needs to
be called from either mainfiles.php or something similar so if this
error occurs, the function is actually loaded and ready to work. I'm
assuming the test/qa team didn't have a check like this in their
validation process.

I had this same problem myself (I hope that's obvious), but couldn't
find an answer in Google groups (where I go for answers all the time).
Thus I include it here, trying to give back to the community. I'm also
submitting it to the phpNuke team.

Good luck...

Mark
Jul 17 '05 #1
0 2451

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: John Beardsworth | last post by:
Hi I'm customising phpNuke as an intranet application. The client would like the option of letting users post news stories without administrators' approval, so I've added a function to the...
0
by: Keegan Alex | last post by:
Hi folks... I just installed phpnuke, and it's a great program. One problem is the Splatt forum really stinks. I'd LOVE to replace it with phpBB, but I'm not sure how. Can someone tell me if...
2
by: Keegan Alex | last post by:
Hi folks, I downloaded PHP-Nuke 6.7, and after reading the INSTALL file, it looks very simple... but either i'm reading them wrong or they're very flawed. First, it says: Untar the package...
0
by: Leigh | last post by:
Hi, I am trying to buld a new module for phpnuke, the index.php page just to display a simple menu, the code forthe menu is below function set_menu() { global $module_name;...
2
by: Wolf | last post by:
Hi to all! With your past help I make a new block in wich you can see last articles I inserted in my phpnuke. You can see it at http://www.italialibri.org, under the title. But I have a problem:...
3
by: Dan Finn | last post by:
OpenBSD 3.2 Apache 1.3.26 PHP 4.3.4 PHP-Nuke 6.9 getting these in the apache error log: Sun Nov 16 20:20:16 2003] PHP Notice: Undefined variable: HTTP_USER_AGENT in...
0
by: cjescudero | last post by:
Hello: I am going to develop a web site to manage a conference, i.e.: - Submission of presentations - Registration of assistants - Hotel booking - … I have experience in programming...
1
by: Leave Me Alone | last post by:
Hey folks... I have a standalone phpBB forums and just recently installed PHPNuke on my website. I know phpnuke comes with it's own version of phpBB. How can I make it possible for members who...
2
by: anon | last post by:
I copied over the phpnuke html files (latest version from sourceforge), created a mysql DB, added the settinsg to the config file. Anything else I need to do? When I run admin.php, I get a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.