get_home_path() confused if "WordPress address" and "Blog address" slightly different.
|Reported by:||csixty4||Owned by:|
get_home_path() in wp-admin/includes/file.php is trying to take the "home" address off the front of "siteurl" to get the path to .haccess. The "www." messes up the str_replace() call, and get_home_path() just returns "/" instead of the path to the WordPress files.
Additionally, user's server has open_basedir configured and gives error that "File(/) is not within the allowed path(s):" when is_writable($home_path) called in save_mod_rewrite_rules() (misc.php).
Told user to set both URLs to http://www.tuxotaku.com and it cleared up the problem.
Maybe add a warning message to the General admin screen if "siteurl" doesn't start with the URL from "home"?