Stack errors on approving changes

Permalink
Hi, we are using Windows Server 2008 via Plesk.

PHP Version 5.2.17 FastCGI Application

When we try to save an edited stack and approve the changes the following errors are thrown.

Using the browser back button allows the changes to be approved.

Stacks --> Edit --> Approve Changes

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(C:\Inetpub\vhosts\domain.com\httpdocs\concrete/controllersC:\Inetpub\vhosts\domain.com\httpdocs\concrete\concrete\config/../controllers/page_types/core_stack.php.php) is not within the allowed path(s): (C:\Inetpub\vhosts\domain.com\httpdocs\;C:\Windows\Temp\) in C:\Inetpub\vhosts\domain.com\httpdocs\concrete\concrete\libraries\loader.php on line 410

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(C:\Inetpub\vhosts\domain.com\httpdocs\concrete/controllersC:\Inetpub\vhosts\domain.com\httpdocs\concrete\concrete\config/../controllers/page_types/core_stack.php/controller.php) is not within the allowed path(s): (C:\Inetpub\vhosts\domain.com\httpdocs\;C:\Windows\Temp\) in C:\Inetpub\vhosts\domain.com\httpdocs\concrete\concrete\libraries\loader.php on line 413

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(C:\Inetpub\vhosts\domain.com\httpdocs\concrete\concrete\config/../controllersC:\Inetpub\vhosts\domain.com\httpdocs\concrete\concrete\config/../controllers/page_types/core_stack.php.php) is not within the allowed path(s): (C:\Inetpub\vhosts\domain.com\httpdocs\;C:\Windows\Temp\) in C:\Inetpub\vhosts\domain.com\httpdocs\concrete\concrete\libraries\loader.php on line 436

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(C:\Inetpub\vhosts\domain.com\httpdocs\concrete\concrete\config/../controllersC:\Inetpub\vhosts\domain.com\httpdocs\concrete\concrete\config/../controllers/page_types/core_stack.php/controller.php) is not within the allowed path(s): (C:\Inetpub\vhosts\domain.com\httpdocs\;C:\Windows\Temp\) in C:\Inetpub\vhosts\domain.com\httpdocs\concrete\concrete\libraries\loader.php on line 439

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\domain.com\httpdocs\concrete\concrete\libraries\loader.php:410) in C:\Inetpub\vhosts\domain.com\httpdocs\concrete\concrete\libraries\controller.php on line 356

Is there a way we can fix this?

Thanks

View Replies: View Best Answer
mongo replied on at Permalink Best Answer Reply
The solution for those using Plesk 10

For the domain --> Advanced Operations --> Website Scripting and Security --> PHP Settings

error_reporting --> Enter custom value --> E_ALL & ~E_NOTICE & ~E_DEPRECATED

And while you are here change the following

open_basedir --> Enter custom value --> {DOCROOT}\;C:\Windows\Temp\

What ive found so far that needs changing as not to throw exceptions.

Hope this helps someone !
Deladroid replied on at Permalink Reply
Deladroid
This helped me fix my issue! Thanks!
mongo replied on at Permalink Reply
Glad to be of help and thanks for posting !
ghayath replied on at Permalink Reply
Hi Dear
i try to do the same but i still get the below message:

PHP Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\masakenalwaha.com\httpdocs/wp-content/themes/C:\Inetpub\vhosts\masakenalwaha.com\httpdocs/wp-content/themes/realestate1/style.css/style.css) is not within the allowed path(s): (C:/Inetpub/vhosts/masakenalwaha.com\;C:\Windows\Temp\) in C:\Inetpub\vhosts\masakenalwaha.com\httpdocs\wp-includes\class-wp-theme.php on line 228
PHP Warning: file_exists(): open_basedir restriction in effect. File(C:\Inetpub\vhosts\masakenalwaha.com\httpdocs/wp-content/themes/C:\Inetpub\vhosts\masakenalwaha.com\httpdocs/wp-content/themes/realestate1/style.css) is not within the allowed path(s): (C:/Inetpub/vhosts/masakenalwaha.com\;C:\Windows\Temp\) in C:\Inetpub\vhosts\masakenalwaha.com\httpdocs\wp-includes\class-wp-theme.php on line 230