Forums

multiple errors updating options after upgrading to 2.8.1 (21 posts)

  1. Rab
    Member
    Posted 2 years ago #

    Hi folks,

    Just like the problem I experienced after using the automatic upgrade from 2.7.x to 2.8 and updating pages, the same thing appears to be happening when updating the (main) settings after a manual upgrade from 2.8 to 2.8.1. Thus far I haven't got any plugins installed and Akismet isn't active.

    Here's the errors again:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/.htaccess) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 130
    
    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 130
    
    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/.htaccess) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 130
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/web.config) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 155
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/4092272504a5b01e0926f6.tmp) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 629
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/4092272504a5b01e0926f6.tmp) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 632
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/web.config) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 629
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/web.config) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 632
    
    Warning: Cannot modify header information - headers already sent by (output started at /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php:130) in /usr/home/[username]/public_html/wp/wp-includes/pluggable.php on line 865

    Any ideas?

    Cheers,
    Robert

  2. Rab
    Member
    Posted 2 years ago #

    Also, I'm not sure whether it's related or not but these errors are appearing at the top of /wp-admin/options-permalink.php:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/.htaccess) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/options-permalink.php on line 110
    
    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/options-permalink.php on line 110
    
    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/.htaccess) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/options-permalink.php on line 110
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/.htaccess) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 130
    
    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 130
    
    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/.htaccess) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 130
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/web.config) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 155
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/6054390324a5b04a70a3fc.tmp) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 629
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/6054390324a5b04a70a3fc.tmp) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 632
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/web.config) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 629
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/web.config) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 632
  3. Rab
    Member
    Posted 2 years ago #

    Ok, in a strange turn of events the options errors appear to be gone, fixed themselves, don't ask me how. Still getting the errors on the permalinks page.

  4. Rab
    Member
    Posted 2 years ago #

    And it's back again. It seems to happen whenever the blog address is changed.

  5. Rab
    Member
    Posted 2 years ago #

    *bump*

  6. Rab
    Member
    Posted 2 years ago #

    The options-permalink.php problem still persists with version 2.8.2.

  7. Rab
    Member
    Posted 2 years ago #

    Is this just being ignored then?

  8. imaginethepoet
    Member
    Posted 2 years ago #

    I'm having this issue as well and think it may be related to not being able to preview. I'm in 2.8.4

  9. blogono
    Member
    Posted 2 years ago #

    i am having this error in permalinks options aswell. it seems to be an error because of the wordpress subdomains and wp-united plugin cant work together.

    if anybody can help solving this would be great

    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/admin/:/tmp:/usr/local/lib/php/) in /home/admin/domains/xxx.com/public_html/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/admin/:/tmp:/usr/local/lib/php/) in /home/admin/domains/xxx.com/public_html/wp-admin/includes/misc.php on line 130

  10. Rab
    Member
    Posted 2 years ago #

    I'm not using either of those plugins. This problem occurs on a clean install with nothing added.

  11. trixienolix
    Member
    Posted 2 years ago #

    i'm having the same problem. Am on wp 2.8.2 (with lots of plugins) but error message on permalinks page:

    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/fdsd.org/httpdocs:/tmp:/usr/share/pear:/nonexec) in /var/www/vhosts/_____/httpdocs/wordpress/wp-admin/options-permalink.php on line 110

    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/fdsd.org/httpdocs:/tmp:/usr/share/pear:/nonexec) in /var/www/vhosts/_______/httpdocs/wordpress/wp-admin/includes/misc.php on line 130

    also says htacess not writeable even though tried 666 and 777

  12. trixienolix
    Member
    Posted 2 years ago #

    I've tried de-activating all plugins but the error message still there.

    I just did the auto upgrade from 2.8.2 to 2.8.4 and the error message still there. Site works fine, just getting this error message on permalinks page which doesn't look good for clients!

    Any ideas anyone????

  13. smprather
    Member
    Posted 2 years ago #

    I'm getting it too (2.8.4, no plugins). There's a bug in whatever is trying to figure out your http root directory. For me, it should be:

    /var/www/vhosts/nicoleandmyles.com/httpdocs

    So .htaccess should be:

    /var/www/vhosts/nicoleandmyles.com/httpdocs/.htaccess

    --Myles

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/vhosts/.htaccess) is not within the allowed path(s): (/var/www/vhosts/nicoleandmyles.com/httpdocs:/tmp) in /var/www/vhosts/nicoleandmyles.com/httpdocs/nicole/wp-admin/options-permalink.php on line 113
    
    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/var/www/vhosts/) is not within the allowed path(s): (/var/www/vhosts/nicoleandmyles.com/httpdocs:/tmp) in /var/www/vhosts/nicoleandmyles.com/httpdocs/nicole/wp-admin/options-permalink.php on line 113
    
    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/var/www/vhosts/.htaccess) is not within the allowed path(s): (/var/www/vhosts/nicoleandmyles.com/httpdocs:/tmp) in /var/www/vhosts/nicoleandmyles.com/httpdocs/nicole/wp-admin/options-permalink.php on line 113
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/vhosts/.htaccess) is not within the allowed path(s): (/var/www/vhosts/nicoleandmyles.com/httpdocs:/tmp) in /var/www/vhosts/nicoleandmyles.com/httpdocs/nicole/wp-admin/includes/misc.php on line 130
    
    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/var/www/vhosts/) is not within the allowed path(s): (/var/www/vhosts/nicoleandmyles.com/httpdocs:/tmp) in /var/www/vhosts/nicoleandmyles.com/httpdocs/nicole/wp-admin/includes/misc.php on line 130
    
    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/var/www/vhosts/.htaccess) is not within the allowed path(s): (/var/www/vhosts/nicoleandmyles.com/httpdocs:/tmp) in /var/www/vhosts/nicoleandmyles.com/httpdocs/nicole/wp-admin/includes/misc.php on line 130
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/vhosts/web.config) is not within the allowed path(s): (/var/www/vhosts/nicoleandmyles.com/httpdocs:/tmp) in /var/www/vhosts/nicoleandmyles.com/httpdocs/nicole/wp-admin/includes/misc.php on line 155
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/vhosts/5722020344aa731531fcc7.tmp) is not within the allowed path(s): (/var/www/vhosts/nicoleandmyles.com/httpdocs:/tmp) in /var/www/vhosts/nicoleandmyles.com/httpdocs/nicole/wp-admin/includes/misc.php on line 629
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/vhosts/5722020344aa731531fcc7.tmp) is not within the allowed path(s): (/var/www/vhosts/nicoleandmyles.com/httpdocs:/tmp) in /var/www/vhosts/nicoleandmyles.com/httpdocs/nicole/wp-admin/includes/misc.php on line 632
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/vhosts/web.config) is not within the allowed path(s): (/var/www/vhosts/nicoleandmyles.com/httpdocs:/tmp) in /var/www/vhosts/nicoleandmyles.com/httpdocs/nicole/wp-admin/includes/misc.php on line 629
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/vhosts/web.config) is not within the allowed path(s): (/var/www/vhosts/nicoleandmyles.com/httpdocs:/tmp) in /var/www/vhosts/nicoleandmyles.com/httpdocs/nicole/wp-admin/includes/misc.php on line 632
  14. iridiax
    Member
    Posted 2 years ago #

    open_basedir restriction

    Contact your web host about this.

  15. aquagrrl
    Member
    Posted 2 years ago #

    I ran into this problem and it was a bad theme. Change out your theme if you haven't.

  16. Rab
    Member
    Posted 2 years ago #

    I make a copy of the default theme and customise from there...

  17. chtscher
    Member
    Posted 2 years ago #

    Hi there. I've got the same error and it's not related to plugins or themes as I changed them. Any solution so far?

  18. mer ADIGZEL
    Member
    Posted 2 years ago #

    Güzel bir blog en kısa zamanda denemem lazım

  19. Dzuchara
    Member
    Posted 2 years ago #

  20. retrosneak
    Member
    Posted 2 years ago #

    I had this problem too, and read up on all the forums.
    But I solved it by doing all this (don't know which one actually fixed it).
    I'm more of a designer than a programmer.

    Errors I was getting:
    a. 500 Internal Server Error
    b. Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/.htaccess) is not within the allowed path(s): (/usr/home/[username]:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/[username]/public_html/wp/wp-admin/includes/misc.php on line 130

    c. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    I had WordPress in a subfolder (wp-folder) and a domain pointing to another folder (old-folder)
    I wanted the domain to point to wp-folder. (this is supposed to be easy right?!)

    1. Making sure that my Settings > Miscellaneous > Store Uploads... is "wp-content/uploads" (and not something else)

    2. Deleting theme-my-login plugin because that was causing my site to redirect in a loop, and I couldn't get back into Admin. http://codex.wordpress.org/Changing_The_Site_URL - The Relocate Method worked, and got me back into my login page.

    3. Whenever I changed my blog and wordpress address in Dashboard > General it would stuff up.
    So I made sure that the wp-config.php file had

    define('WP_HOME','http://mydomain.com');
    define('WP_SITEURL','http://mydomain.com');

    4. Deleted my .htaccess file completely and then made a htaccess.txt with nothing in it, and uploaded it in ASCII mode through FTP and renamed it to .htaccess. Changed the permissions to 777.

    5. Go Dashboard > General > Permalinks
    And flicked whatever options, saved it, then clicked on the "custom" one put what I wanted e.g. /%postname% and then saved it.

    6. With all the errors fixed and my site redirecting properly, I reinstalled theme-my-login plugin.

    I hope this helps a rookie wannabe-web-developer like me.

  21. eivindvr
    Member
    Posted 1 year ago #

    3. Whenever I changed my blog and wordpress address in Dashboard > General it would stuff up.
    So I made sure that the wp-config.php file had
    define('WP_HOME','http://mydomain.com');
    define('WP_SITEURL','http://mydomain.com');

    This did the trick for me. Thanx retrosneak!

Topic Closed

This topic has been closed to new replies.

About this Topic