Permanent link issue
-
When I try to fix permanent links, It is fixed but I am getting warning message at the top like the following
is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/mysite:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/mysite/public_html/blog/wp-admin/options-permalink.php on line 113
Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/mysite:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/mysite/public_html/blog/wp-admin/includes/misc.php on line 130
I edited tboth files and have seen the line 113 as follows
if ( ( ! file_exists($home_path . ‘.htaccess’) && is_writable($home_path) ) || is_writable($home_path . ‘.htaccess’) )
$writable = true;and line 130 as
if ((!file_exists($htaccess_file) && is_writable($home_path) && $wp_rewrite->using_mod_rewrite_permalinks()) || is_writable($htaccess_file)) {
Any help will be a great relief.
- The topic ‘Permanent link issue’ is closed to new replies.