WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #29680


Ignore:
Timestamp:
09/15/2014 01:30:29 PM (7 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29680

    • Property Component changed from General to Upgrade/Install
    • Property Summary changed from Wordpress 4.0 setup stops on start - PHP open_basedir errors are outputted to WordPress 4.0 setup stops on start - PHP open_basedir errors are outputted
  • Ticket #29680 – Description

    initial v1  
    1 Hi, there is one situation, when WP 4.0 setup fails - if there is some output before header( 'Location: ' . $path ); line in wp-load.php ... then I am stuck at blank page with PHP errors, and no redirect to setup files happens.
     1Hi, there is one situation, when WP 4.0 setup fails - if there is some output before `header( 'Location: ' . $path );` line in wp-load.php ... then I am stuck at blank page with PHP errors, and no redirect to setup files happens.
    22
    3 For example, my hosting company has some open_basedir restriction. My hosting "space" directory is for example /data/www/. For every domain is generated its own subfolder, like /data/www/mydomain.com, /data/www/myanotherdomain.com text. Wordpress files are located in these subfolders, and PHP scripts allowed paths are restricted only to this subfolders.
     3For example, my hosting company has some open_basedir restriction. My hosting "space" directory is for example /data/www/. For every domain is generated its own subfolder, like /data/www/mydomain.com, /data/www/myanotherdomain.com text. WordPress files are located in these subfolders, and PHP scripts allowed paths are restricted only to this subfolders.
    44
    55And there is problem: in wp-load.php from line 27 to 32 script tries to check: