Connecting Tech Pros Worldwide Help | Site Map

Undefined variable error with new install of PHP-Nuke

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 01:10 AM
Dan Finn
Guest
 
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



  #2  
Old July 17th, 2005, 01:10 AM
Hector Gonzalez
Guest
 
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...[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]


  #3  
Old July 17th, 2005, 01:10 AM
Dan Finn
Guest
 
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...[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]


  #4  
Old July 17th, 2005, 01:10 AM
Hector Gonzalez
Guest
 
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...[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]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.