[wp-trac] [WordPress Trac] #29950: Open_basedir issue Plugin installer modal (was: Open_basedir wp-admin/import.php)

WordPress Trac noreply at wordpress.org
Wed Oct 15 04:43:34 UTC 2014


#29950: Open_basedir issue Plugin installer modal
-----------------------------+------------------
 Reporter:  Allan Moraes     |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.1
Component:  Upgrade/Install  |     Version:  4.0
 Severity:  major            |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------
Changes (by dd32):

 * keywords:   => has-patch


Old description:

> Hi.
> When I try to use the import option (Tools>Import) in Wordpress, this
> error occurs.
>
> PHP Warning:  realpath() [<a
> href='function.realpath'>function.realpath</a>]: open_basedir restriction
> in effect. File(\\PROFILES.WORDPRESS.ORG\CHMARS) is not within the
> allowed path(s): (E:\Domains\domain.com) in
> E:\Domains\domain.com\wwwroot\testejorge\wp-includes\functions.php on
> line 1542
> PHP Warning:  realpath() [<a
> href='function.realpath'>function.realpath</a>]: open_basedir restriction
> in effect. File(\\PROFILES.WORDPRESS.ORG\CHMARS) is not within the
> allowed path(s): (E:\Domains\domain.com) in
> E:\Domains\domain.com\wwwroot\testejorge\wp-includes\functions.php on
> line 1542
> PHP Warning:  realpath() [<a
> href='function.realpath'>function.realpath</a>]: open_basedir restriction
> in effect. File(\\PROFILES.WORDPRESS.ORG\BUCKSHANK) is not within the
> allowed path(s): (E:\Domains\domain.com) in
> E:\Domains\domain.com\wwwroot\testejorge\wp-includes\functions.php on
> line 1542
> PHP Warning:  realpath() [<a
> href='function.realpath'>function.realpath</a>]: open_basedir restriction
> in effect. File(\\PROFILES.WORDPRESS.ORG\BUCKSHANK) is not within the
> allowed path(s): (E:\Domains\domain.com) in
> E:\Domains\domain.com\wwwroot\testejorge\wp-includes\functions.php on
> line 1542
> PHP Warning:  realpath() [<a
> href='function.realpath'>function.realpath</a>]: open_basedir restriction
> in effect. File(\\PROFILES.WORDPRESS.ORG\BLUESIX) is not within the
> allowed path(s): (E:\Domains\domain.com) in
> E:\Domains\domain.com\wwwroot\testejorge\wp-includes\functions.php on
> line 1542
> PHP Warning:  realpath() [<a
> href='function.realpath'>function.realpath</a>]: open_basedir restriction
> in effect. File(\\PROFILES.WORDPRESS.ORG\BLUESIX) is not within the
> allowed path(s): (E:\Domains\domain.com) in
> E:\Domains\domain.com\wwwroot\testejorge\wp-includes\functions.php on
> line 1542
>
> In my server linux, it's works! But when I try in my Windows Server,
> IIS7.5 and PHP same version of linux server, i have this error. The
> windows server and linux server have the same php.ini. Older versions of
> Wordpress, work.
>
> Sorry my english.

New description:

 Hi.
 When I try to use the import option (Tools>Import) in Wordpress, this
 error occurs.

 {{{
 PHP Warning:  realpath() [<a
 href='function.realpath'>function.realpath</a>]: open_basedir restriction
 in effect. File(\\PROFILES.WORDPRESS.ORG\CHMARS) is not within the allowed
 path(s): (E:\Domains\domain.com) in
 E:\Domains\domain.com\wwwroot\testejorge\wp-includes\functions.php on line
 1542
 }}}

 In my server linux, it's works! But when I try in my Windows Server,
 IIS7.5 and PHP same version of linux server, i have this error. The
 windows server and linux server have the same php.ini. Older versions of
 Wordpress, work.

 Sorry my english.

--

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29950#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list