[wp-trac] [WordPress Trac] #22704: Automatic Core Updates
WordPress Trac
noreply at wordpress.org
Wed Oct 9 22:45:33 UTC 2013
#22704: Automatic Core Updates
-----------------------------+-----------------------
Reporter: pento | Owner: pento
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 3.7
Component: Upgrade/Install | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------+-----------------------
Comment (by GregLone):
Hi,
These are the warnings I get when I visit `wp-admin/update-core.php`:
{{{
Warning: is_dir(): open_basedir restriction in effect. File(/volume1/.svn)
is not within the allowed path(s): ( ...foo... ) in /volume1/web/foobar
/wp-admin/includes/class-wp-upgrader.php on line 1510
Warning: is_dir(): open_basedir restriction in effect. File(/volume1/.git)
is not within the allowed path(s): ( ...foo... ) in /volume1/web/foobar
/wp-admin/includes/class-wp-upgrader.php on line 1510
Warning: is_dir(): open_basedir restriction in effect. File(/volume1/.hg)
is not within the allowed path(s): ( ...foo... ) in /volume1/web/foobar
/wp-admin/includes/class-wp-upgrader.php on line 1510
Warning: is_dir(): open_basedir restriction in effect. File(/volume1/.bzr)
is not within the allowed path(s): ( ...foo... ) in /volume1/web/foobar
/wp-admin/includes/class-wp-upgrader.php on line 1510
}}}
They come from the method `WP_Automatic_Upgrader::is_vcs_checkout()`.
Of course, prefixing `is_dir()` with a `@` will hide the problem.
Server: NAS Synology DS412+
php: 5.3.27
WP: 3.7-beta1-25639
Cheers.
Greg
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22704#comment:98>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list