Forums

[resolved] multiple errors updating page after upgrading to 2.8 (24 posts)

  1. Rab
    Member
    Posted 2 years ago #

    Hi folks,

    I just upgraded to 2.8, and whenever I update pages I get multiple errors. I used the automatic upgrade tool with no plugins active and this still happens with all plugins deactivated.

    Here are the errors (I replaced my server username with [username]):

    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-admin/includes/misc.php on line 128
    
    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-admin/includes/misc.php on line 128
    
    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-admin/includes/misc.php on line 128
    
    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-admin/includes/misc.php on line 153
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/6900737354a3d3d2fb46d9.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-admin/includes/misc.php on line 624
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/6900737354a3d3d2fb46d9.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-admin/includes/misc.php on line 627
    
    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-admin/includes/misc.php on line 624
    
    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-admin/includes/misc.php on line 627
    
    Warning: Cannot modify header information - headers already sent by (output started at /usr/home/[username]/public_html/wp-admin/includes/misc.php:128) in /usr/home/[username]/public_html/wp-includes/pluggable.php on line 865

    Any ideas?

    Cheers,
    Robert

  2. whooami
    Member
    Posted 2 years ago #

    hey robert,

    what happens if you replace that new wp-admin/includes/misc.php with one from 2.7.1?

    (this is a great 'problem' -- finally something new)

  3. girlpaint
    Member
    Posted 2 years ago #

    What happens if nothing works?

  4. Rab
    Member
    Posted 2 years ago #

    @whoami

    If I replace misc.php with the version from 2.7.1 I can't even load the page/post editor page. I get this error:
    Fatal error: Call to undefined function set_screen_options() in /usr/home/[username]/public_html/wp-admin/admin.php on line 45

    Cheers,
    Robert

  5. whooami
    Member
    Posted 2 years ago #

    k, hmm... thanks for trying.

    do this, if you havent already -- rule out the really obvious things:

    upload fresh 2.8 files -- outside of the auto - upgrader, know what I mean.

    are your plugins all still disabled? if not, do, then to put the stake through the chest and rename the plugins directory.

    also, who's your host?

  6. Rab
    Member
    Posted 2 years ago #

    @whooami

    I gave it a try (uploaded fresh files, deactivated all plugins, renamed plugins folder), same thing :(

    I'd tell you who my host is but then I'd have to kill you ;) (hosting reseller)

    Cheers,
    Robert

  7. Rab
    Member
    Posted 2 years ago #

    Just for reference, it's a FreeBSD server running PHP5.2.9.

  8. Rab
    Member
    Posted 2 years ago #

    I don't know whether it's related but I'm now also gettin this error when I go to upgrade a plugin:

    Downloading update from http://downloads.wordpress.org/plugin/google-analytics-for-wordpress.2.9.3.zip.
    
    Unpacking the update.
    
    Incompatible archive PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure
  9. Rab
    Member
    Posted 2 years ago #

    Should have said, the error above was happening before I renamed the plugins folder.

    Cheers,
    Robert

  10. Rab
    Member
    Posted 2 years ago #

    OK, I've established that the errors I reported in the first post don't happen on a fresh install, only an upgrade.

  11. Rab
    Member
    Posted 2 years ago #

    *bump*

  12. Rab
    Member
    Posted 2 years ago #

    Surely someone else must be experiencing this issue? No?

  13. maestrodejuegos
    Member
    Posted 2 years ago #

    I am experiencing the same problem! any news?

  14. Rab
    Member
    Posted 2 years ago #

    Nothing yet... :(

  15. topvip
    Member
    Posted 2 years ago #

    well, i am experiencing the same problem, my site is http://www.eyeglasses123.net/

  16. Rab
    Member
    Posted 2 years ago #

    Anybody got a solution yet?

  17. Rab
    Member
    Posted 2 years ago #

    *bump*

  18. misslei
    Member
    Posted 2 years ago #

    I am experiencing the same problem. I did an upgrade first but my upgrade did not work so I installed a fresh wordpress 2.8.

    Everytime I try to update or delete a page/post I get

    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/xxx:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/xxx/public_html/wp/wp-admin/includes/misc.php on line 128
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/wp/wp-admin/includes/misc.php:128) in /home/xxx/public_html/wp/wp-includes/pluggable.php on line 865

    when I go back to managing the post or page I can see that the post/page I deleted/updated was successfully deleted/updated.

    how do we fix this problem?

  19. Rab
    Member
    Posted 2 years ago #

    As soon as I have a solution I'll be posting it here, unless of course somebody else posts it here before me.

  20. misslei
    Member
    Posted 2 years ago #

    Thanks! I noticed as well when going to the Permalinks page on WP Dashboard/Admin I still can see the errors I posted before. :(

    It just gets annoying to have this messages, even if the update/delete was done successfully.

    I also tried the update from WP Dashboard/Admin, but the errors remain :(

  21. Rab
    Member
    Posted 2 years ago #

    We seem to have been forgotten about.

  22. Rab
    Member
    Posted 2 years ago #

    Gonna try upgrading to 2.8.1. Maybe it was fixed there.

  23. Rab
    Member
    Posted 2 years ago #

    Upgrading to 2.8.1 fixes this problem. Just to be safe I deleted the old files and uploaded the new manually.

    Cheers,
    Robert

  24. misslei
    Member
    Posted 2 years ago #

    Ok thanks! I'm in the process of upgrading to 2.8.1 now. :)

Topic Closed

This topic has been closed to new replies.

About this Topic