(get_settings(‘siteurl’) from wp-settings.php
-
My problem is with get_settings()
I’m trying to upgrade from WP 1.2.2 to 2, via 1.5.
Attempting to run wp-admin/upgrade.php, I get the following error message:Fatal error: Call to undefined function: get_settings()
in /…/wp-settings.php on line 53line 53 inlcudes:
get_settings('siteurl')
Can you suggest where I might look to manually set the siteurl?Will I run into a similar problem with
wp_cache_get()
?
Cheers
Warren// Code from filename: wp-settings.php
if (!strstr($_SERVER['PHP_SELF'], 'install.php') && !strstr($_SERVER['PHP_SELF'], 'wp-admin/import')) {
$querystring_start = '?';
$querystring_equal = '=';
$querystring_separator = '&';
//}
// Used to guarantee unique cookies
$cookiehash = md5(get_settings('siteurl'));
define('COOKIEHASH', $cookiehash);
} //end !$_wp_installing
- The topic ‘(get_settings(‘siteurl’) from wp-settings.php’ is closed to new replies.