Connecting Tech Pros Worldwide Help | Site Map

Undefined variable error with new install of PHP-Nuke

Dan Finn
Guest
 
Posts: n/a
#1: Jul 17 '05
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


Hector Gonzalez
Guest
 
Posts: n/a
#2: Jul 17 '05

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...[color=blue]
> 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:[/color]
import_request_variables():[color=blue]
> 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
>
>[/color]


Dan Finn
Guest
 
Posts: n/a
#3: Jul 17 '05

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...[color=blue]
> 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...[color=green]
> > 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:[/color]
> import_request_variables():[color=green]
> > 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
> >
> >[/color]
>
>[/color]


Hector Gonzalez
Guest
 
Posts: n/a
#4: Jul 17 '05

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...[color=blue]
> 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...[color=green]
> > this has to do with the error reporting settings in your php[/color][/color]
configuration[color=blue][color=green]
> > 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...[color=darkred]
> > > 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:[/color]
> > import_request_variables():[color=darkred]
> > > 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[/color][/color][/color]
solutions[color=blue][color=green][color=darkred]
> > > when searching groups.google.com. any help would be really[/color][/color][/color]
appreciated.[color=blue][color=green][color=darkred]
> > >
> > > Thanks
> > > Dan
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


Closed Thread