423,099 Members | 2,471 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,099 IT Pros & Developers. It's quick & easy.

Undefined variable error with new install of PHP-Nuke

P: n/a
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.com. any help would be really appreciated.

Thanks
Dan
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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***@studentadvantage.com> wrote in message
news:hr*******************@typhoon.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.com. any help would be really appreciated.

Thanks
Dan

Jul 17 '05 #2

P: n/a
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(CRITICAL_ERROR, "Could not connect to the database");

and still a broken PHP-Nuke
"Hector Gonzalez" <hg*******@quadgrafix.com> wrote in message
news:p8********************@comcast.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***@studentadvantage.com> wrote in message
news:hr*******************@typhoon.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.com. any help would be really appreciated.

Thanks
Dan


Jul 17 '05 #3

P: n/a
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***@studentadvantage.com> wrote in message
news:bK*******************@typhoon.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(CRITICAL_ERROR, "Could not connect to the database");

and still a broken PHP-Nuke
"Hector Gonzalez" <hg*******@quadgrafix.com> wrote in message
news:p8********************@comcast.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***@studentadvantage.com> wrote in message
news:hr*******************@typhoon.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.com. any help would be really appreciated.
Thanks
Dan



Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.