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
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)
girlpaint
Member
Posted 2 years ago #
What happens if nothing works?
@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
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?
@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
Just for reference, it's a FreeBSD server running PHP5.2.9.
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
Should have said, the error above was happening before I renamed the plugins folder.
Cheers,
Robert
OK, I've established that the errors I reported in the first post don't happen on a fresh install, only an upgrade.
Surely someone else must be experiencing this issue? No?
maestrodejuegos
Member
Posted 2 years ago #
I am experiencing the same problem! any news?
well, i am experiencing the same problem, my site is http://www.eyeglasses123.net/
Anybody got a solution yet?
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?
As soon as I have a solution I'll be posting it here, unless of course somebody else posts it here before me.
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 :(
We seem to have been forgotten about.
Gonna try upgrading to 2.8.1. Maybe it was fixed there.
Upgrading to 2.8.1 fixes this problem. Just to be safe I deleted the old files and uploaded the new manually.
Cheers,
Robert
misslei
Member
Posted 2 years ago #
Ok thanks! I'm in the process of upgrading to 2.8.1 now. :)