php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3855 Undefined Variabla
Submitted: 2000-03-17 03:13 UTC Modified: 2000-05-19 13:13 UTC
From: mad_max at shovel dot dip dot pl Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 4 Patch Level 1 OS: Slackware Linux 2.2.14/Apache 1.
Private report: No CVE-ID: None
 [2000-03-17 03:13 UTC] mad_max at shovel dot dip dot pl
Heh, it started just like a hell... Error: undefined variable in everywhere...
I guess it has something to do with date handling because I didn't change _anything_ in server config and it went up.
And the most (un)funniest thing that I get is:
Warning! Undefined variable HTTP_REFERER in somewhere...

Let' hope we get a patch soon ;-)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-19 12:54 UTC] sterling at cvs dot php dot net
you need to compile with --enable-track-vars.
 [2000-05-19 13:13 UTC] zeev at cvs dot php dot net
--enable-track-vars actually has nothing to do with it:

- Recent versions of PHP 4.0 have track-vars enabled by default.
- HTTP_REFERER is not related to track-vars;  It's an environment variable (or a server environment variable).  If it's missing, it means the server did not supply it, which is quite common, if there's no referer (e.g., if the user connected to the URL directly, and wasn't refered from any other site).
 [2002-06-30 21:57 UTC] vietbq at hotmail dot com
hi everybody..

I'm in suck with this problem.. , PHP 4.2.1 for Win32, running in Apache 1.3.24 - win32 and mySQL 3.23.33-win32..

but, when I've installed everything (shoutbox, chat script, forum, phpCard, guestbook, etc..) but my browser noticed : "Undefined variables.... in xx lines"..

althrought I've installed with document of author's scripts.. but, it've not running ... should I do now ???

Can you help me ??? Be quickly as soon as possible..

*P/S : my PC config : Win2K Prof. , MS Office XP , P III 933Mhz, Ram 128Mb, Apache 1.3.24 , mySQL 3.23.33, PHP 4.2.1 - all of them for Windows 32bit...

Thank a lot !!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 24 12:01:31 2024 UTC