[ phpweather-Bugs-603857 ] XML in URL and parse failures
Brought to you by:
iridium
From: <no...@so...> - 2002-09-22 09:42:41
|
Bugs item #603857, was opened at 2002-09-03 08:45 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=603857&group_id=23245 Category: Installation Group: phpweather-2.x Status: Open Priority: 5 Submitted By: Chris Sohns (csohns) Assigned to: Nobody/Anonymous (nobody) Summary: XML in URL and parse failures Initial Comment: 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/>? ------------ Now I'm sure I could resolve this by turning on register globals, but the code should be patched to not rely exclusivly on $PHP_SELF seeing as how register globals is now turned off by default. Next 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_optiongro up.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. ---------------------------------------------------------------------- >Comment By: Martin Geisler (gimpster) Date: 2002-09-22 11:42 Message: Logged In: YES user_id=104098 Yes, you're right - things break when register_globals are turned off which is the default for new PHP 4.2.0 installations. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377952&aid=603857&group_id=23245 |