Undefined variable error with new install of PHP-Nuke

This is a discussion on Undefined variable error with new install of PHP-Nuke within the PHP Language forums, part of the PHP Programming Forums category; OpenBSD 3.2 Apache 1.3.26 PHP 4.3.4 PHP-Nuke 6.9 getting these in the apache ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-17-2003
Dan Finn
 
Posts: n/a
Default 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.com. any help would be really appreciated.

Thanks
Dan


Reply With Quote
  #2 (permalink)  
Old 11-17-2003
Hector Gonzalez
 
Posts: n/a
Default Re: Undefined variable error with new install of PHP-Nuke

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" <dfinn@studentadvantage.com> wrote in message
news:hrYtb.6846$Wy2.105115@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
>
>



Reply With Quote
  #3 (permalink)  
Old 11-17-2003
Dan Finn
 
Posts: n/a
Default Re: Undefined variable error with new install of PHP-Nuke

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" <hgonzalez@quadgrafix.com> wrote in message
news:p82dnQWC1e4nyCWiRVn-tw@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" <dfinn@studentadvantage.com> wrote in message
> news:hrYtb.6846$Wy2.105115@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
> >
> >

>
>



Reply With Quote
  #4 (permalink)  
Old 11-17-2003
Hector Gonzalez
 
Posts: n/a
Default Re: Undefined variable error with new install of PHP-Nuke

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" <dfinn@studentadvantage.com> wrote in message
news:bKYtb.6851$Wy2.105048@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" <hgonzalez@quadgrafix.com> wrote in message
> news:p82dnQWC1e4nyCWiRVn-tw@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" <dfinn@studentadvantage.com> wrote in message
> > news:hrYtb.6846$Wy2.105115@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
> > >
> > >

> >
> >

>
>



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0