473,795 Members | 3,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Undefined variable error with new install of PHP-Nuke

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] [error] PHP Notice: Undefined variable:
HTTP_USER_AGENT in /htdocs/nuke/html/mainfile.php on line 16
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: import_request_ variables():
No prefix specified - possible security hazard in
/htdocs/nuke/html/mainfile.php on line 39
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: Undefined variable:
forum_admin in /htdocs/nuke/html/mainfile.php on line 69
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: Undefined variable:
inside_mod in /htdocs/nuke/html/mainfile.php on line 72
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: Undefined variable:
inside_mod in /htdocs/nuke/html/db/db.php on line 44
[Sun Nov 16 20:20:16 2003] [error] PHP Fatal error: Call to undefined
function: message_die() in /htdocs/nuke/html/db/db.php on line 88

i know this is semi-ot but i think other people have had this problem
before and it's been discussed here. i just couldn't find any solutions
when searching groups.google.c om. any help would be really appreciated.

Thanks
Dan
Jul 17 '05 #1
3 8274
this has to do with the error reporting settings in your php configuration
file, (aka php.ini)

error_reporting = E_ALL & ~E_NOTICE

that should do it..

-Hector
"Dan Finn" <df***@studenta dvantage.com> wrote in message
news:hr******** ***********@typ hoon.sonic.net. ..
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] [error] PHP Notice: Undefined variable:
HTTP_USER_AGENT in /htdocs/nuke/html/mainfile.php on line 16
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: import_request_ variables(): No prefix specified - possible security hazard in
/htdocs/nuke/html/mainfile.php on line 39
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: Undefined variable:
forum_admin in /htdocs/nuke/html/mainfile.php on line 69
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: Undefined variable:
inside_mod in /htdocs/nuke/html/mainfile.php on line 72
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: Undefined variable:
inside_mod in /htdocs/nuke/html/db/db.php on line 44
[Sun Nov 16 20:20:16 2003] [error] PHP Fatal error: Call to undefined
function: message_die() in /htdocs/nuke/html/db/db.php on line 88

i know this is semi-ot but i think other people have had this problem
before and it's been discussed here. i just couldn't find any solutions
when searching groups.google.c om. any help would be really appreciated.

Thanks
Dan

Jul 17 '05 #2
hmm...now I just get the following error:

Fatal error: Call to undefined function: message_die() in
/htdocs/nuke/html/db/db.php on line 88
here's line 88 of that file:

message_die(CRI TICAL_ERROR, "Could not connect to the database");

and still a broken PHP-Nuke
"Hector Gonzalez" <hg*******@quad grafix.com> wrote in message
news:p8******** ************@co mcast.com...
this has to do with the error reporting settings in your php configuration
file, (aka php.ini)

error_reporting = E_ALL & ~E_NOTICE

that should do it..

-Hector
"Dan Finn" <df***@studenta dvantage.com> wrote in message
news:hr******** ***********@typ hoon.sonic.net. ..
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] [error] PHP Notice: Undefined variable:
HTTP_USER_AGENT in /htdocs/nuke/html/mainfile.php on line 16
[Sun Nov 16 20:20:16 2003] [error] PHP Notice:

import_request_ variables():
No prefix specified - possible security hazard in
/htdocs/nuke/html/mainfile.php on line 39
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: Undefined variable:
forum_admin in /htdocs/nuke/html/mainfile.php on line 69
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: Undefined variable:
inside_mod in /htdocs/nuke/html/mainfile.php on line 72
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: Undefined variable:
inside_mod in /htdocs/nuke/html/db/db.php on line 44
[Sun Nov 16 20:20:16 2003] [error] PHP Fatal error: Call to undefined
function: message_die() in /htdocs/nuke/html/db/db.php on line 88

i know this is semi-ot but i think other people have had this problem
before and it's been discussed here. i just couldn't find any solutions
when searching groups.google.c om. any help would be really appreciated.

Thanks
Dan


Jul 17 '05 #3
that is not a php function, it could be a php-nuke function, I don't use
nuke, .. sorry, don't know about that one

- try reinstalling nuke?

-Hector
"Dan Finn" <df***@studenta dvantage.com> wrote in message
news:bK******** ***********@typ hoon.sonic.net. ..
hmm...now I just get the following error:

Fatal error: Call to undefined function: message_die() in
/htdocs/nuke/html/db/db.php on line 88
here's line 88 of that file:

message_die(CRI TICAL_ERROR, "Could not connect to the database");

and still a broken PHP-Nuke
"Hector Gonzalez" <hg*******@quad grafix.com> wrote in message
news:p8******** ************@co mcast.com...
this has to do with the error reporting settings in your php configuration file, (aka php.ini)

error_reporting = E_ALL & ~E_NOTICE

that should do it..

-Hector
"Dan Finn" <df***@studenta dvantage.com> wrote in message
news:hr******** ***********@typ hoon.sonic.net. ..
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] [error] PHP Notice: Undefined variable:
HTTP_USER_AGENT in /htdocs/nuke/html/mainfile.php on line 16
[Sun Nov 16 20:20:16 2003] [error] PHP Notice:

import_request_ variables():
No prefix specified - possible security hazard in
/htdocs/nuke/html/mainfile.php on line 39
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: Undefined variable:
forum_admin in /htdocs/nuke/html/mainfile.php on line 69
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: Undefined variable:
inside_mod in /htdocs/nuke/html/mainfile.php on line 72
[Sun Nov 16 20:20:16 2003] [error] PHP Notice: Undefined variable:
inside_mod in /htdocs/nuke/html/db/db.php on line 44
[Sun Nov 16 20:20:16 2003] [error] PHP Fatal error: Call to undefined
function: message_die() in /htdocs/nuke/html/db/db.php on line 88

i know this is semi-ot but i think other people have had this problem
before and it's been discussed here. i just couldn't find any solutions when searching groups.google.c om. any help would be really appreciated.
Thanks
Dan



Jul 17 '05 #4

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

Similar topics

5
68847
by: Randell D. | last post by:
Folks, I feel like pulling my hair out - I tried unsuccessfully over the past few days to install ImagMagick but because of version conflicts and missing libraries I had to give up. I originally choose ImageMagick because I've heard so much about it. I then decided to go with the inbuilt GD tools since I'm using PHP 4.3.3 that I compiled with --with-gd. I can use some of the image functions in PHP so why is this one undefined? What...
6
3872
by: Will | last post by:
I downloaded a webcounter from http://www.math.sunysb.edu/~shafikov/computing/webcounter. It seems to be working but I have the following being printed to the page: Notice: Undefined variable: counter in g:\program files\apache group\apache\htdocs\dev\webcounter.php on line 73 Notice: Undefined variable: prefix in g:\program files\apache group\apache\htdocs\dev\dbclass.php on line 33
3
6127
by: Jason | last post by:
hello, i am new to PHP, so go easy. I am using the examples in the book: PHP: Your Visual Blueprint For Creating Open Source, Server Side Content In the section where they talk about getting values from a form submission, the book says:
1
10013
by: annie | last post by:
Can anyone point me in the right direction here? I've got this little image script <?php $im = ImageCreate(200,200); $white = ImageColorAllocate($im,oxFF,oxFF,oxFF); $black = ImageColorAllocate($im,ox00,ox00,ox00); ImageFilledRectangle($im,50,50,150,150,$black); header("content-type: image/png");
7
2815
by: Coder Droid | last post by:
I decided to run some code with errors set to E_ALL, just to see what I would run across. It caught a few things, but 90% or better of the messages were of the 'undefined' kind: PHP Notice: Undefined variable PHP Notice: Undefined index PHP Notice: Undefined property I'd like to go back and fix what I can, but I'm wondering: how good or bad is this? I mean, I rely on the fact that the first use of a variable
1
18085
by: drewmania001 | last post by:
i've read various info on the web including the following http://php.mirrors.ilisys.com.au/manual/en/ref.mysqli.php mySQL Version 4.1.16 PHP Version 5.1.2 with Zend Engine v2.1.0 OS Windows NT SERVER(2003) 5.2 build 3790 see http://drew.bounceme.net/phpinfo.php for more details
3
5151
by: dumbledad | last post by:
Hi All, I know this comes up lots but I have tried the previously posted solutions and they are not working for me. I have a new installation of MySQL and PHP running on Windows Server 2003 SP2 with IIS 6. I installed MySQL 5.0.20 from the installer in mysql-5.0.20-win32.zip at http://dev.mysql.com/downloads/mysql/5.0.html (and administrator 1.1.9 and query browser 1.1.20). I installed PHP 5.1.2 from the installer...
5
4521
by: Dan Fulbright | last post by:
I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors when running go-pear.bat: mmap cache can't open phar://go-pear.phar/index.php mmap cache can't open phar://go-pear.phar/PEAR/Start/CLI.php mmap cache can't open phar://go-pear.phar/PEAR/Start.php There are 20 of these lines. After continuing through the script, it dies with this error:
2
3449
by: Bob Bruyn | last post by:
I've recently installed Apache 2 and php 5.2 on my WIndows XP machine. Everything is up and running. I'm passing some vars via the URL. It works fine online: http://www.torusdesign.nl/spry/test.php?folder=schilderijen/vrij_werk&navColor=SchilderijenNAV This is the code: <?php echo $folder; ?> <?php echo $navColor; ?>
4
6343
by: mattehz | last post by:
Hey there, I am trying to upload old source files and came across these errors: Warning: Invalid argument supplied for foreach() in /home/mattehz/public_html/acssr/trunk/inc_html.php on line 59 Notice: Undefined index: args in /home/mattehz/public_html/acssr/trunk/inc_error.php on line 92 Warning: Invalid argument supplied for foreach() in /home/mattehz/public_html/acssr/trunk/inc_error.php on line 92
0
9672
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10214
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10164
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10001
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9042
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.