• 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s a server configuration issue. Try speaking to your hosting provider.

    Thread Starter Gisha James

    (@gjames)

    Thank you Esmi. I will speak to them and try to fix.

    If anyone thinks that we can do something on the code, please post it here.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permanent link issue’ is closed to new replies.