I presume you're running a version of PHP that doesn't have $PHP_SELF
defined for whatever reason? Probably goes away with register_globals being
turned off. I guess we should deal with this case now, since php defaults
this way now.
Chris, please enter a bug report on sourceforge.
Cheers,
Max
--
Quidquid latine dictum sit, altum viditur.
> -----Original Message-----
> From: php...@li...
> [mailto:php...@li...]On Behalf Of Chris
> Sohns
> Sent: 01 September 2002 17:18
> To: php...@li...
> Subject: XML in URL and session bug
>
>
> Upon completing the initial config, when I click the
> download config button I'm sent to this url which
> obviously doesn't exist:
>
> ------------
> http://localhost/phpweather-2.0.0/config/<br%20/><b>Notice</b>:%20
> %20Undefined%20variable:%20%20PHP_SELF%20in%20<b>/usr/local/apache
> /htdocs/weather/config/make_config.php</b>%20on%20line%20<b>404</b
> ><br%20/>?
> ------------
>
> then when I try to reload the config page, I get these
> errors:
>
> ------------
> Notice: Undefined variable: options in
> /usr/local/apache/htdocs/weather/config/make_config.php
> on line 287
>
> Warning: First argument to array_keys() should be an
> array in
> /usr/local/apache/htdocs/weather/config/make_config.php
> on line 287
>
> Warning: Invalid argument supplied for foreach() in
> /usr/local/apache/htdocs/weather/config/make_config.php
> on line 288
>
> Fatal error: Call to a member function on a non-object
> in
> /usr/local/apache/htdocs/weather/config/pw_optiongroup.php
> on line 117
> ------------
>
> and I continue to get that error until I delete the
> session or it times out. Once the session is gone,
> the cycle begins from scratch.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> PHPWeather-devel mailing list
> PHP...@li...
> https://lists.sourceforge.net/lists/listinfo/phpweather-devel
>
|