473,569 Members | 2,601 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2463

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

Similar topics

0
1880
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 theme. It just inserts into nuke_stories the contents of nuke_queue, then empties the latter. I know it's rough and ready. Are there any database...
0
1768
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 this is possible? Some of the problems I'm finding with Splatt are it doesn't work well with various themes. Plus, IMO it's not organized looking...
2
3292
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 into the directory you want to use on you web server, if you're unsure where that is, ask you system administrator.
0
1699
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; include("header.php");
2
2297
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: I can see new articles, but only for the sections listed in the block. The idea is to change also the sections, joined with the new articles...
3
8262
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 /htdocs/nuke/html/mainfile.php on line 16 PHP Notice: import_request_variables(): No prefix specified - possible security hazard in
0
1577
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 php+mysql and javascript. So, my
1
2733
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 register through phpnuke to automatically be register with my standalone phpBB? If this is not possible, how can I transport my standalone phpbb to...
2
1764
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 completely blank page. Looking at the html source in the, it is a valid html file but with no content at all. Any ideas?
0
7701
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7615
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8130
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7677
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7979
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
940
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.