Open_basedir warning

Hi

I am experiencing the same problem with Cornerstone that some others have posted:

warning: file_exists(): open_basedir restriction in effect. File(/definition.php) is not within the allowed path(s): (/usr/www/wwws/users/catalzvvxj:/usr/wwws/users/catalzvvxj:/usr/www/users/catalzvvxj:/usr/home/catalzvvxj:/usr/local/rmagic:/usr/share/php:/usr/local/lib/php:/tmp:/usr/bin:/usr/local/bin:/usr/local/share/www:/usr/www/share/www:/usr/share/misc:/dev/urandom:/var/www/php_profiler/xhgui) in /usr/www/users/catalzvvxj/wp-content/plugins/cornerstone/includes/classes/classic/elements/class-element-orchestrator.php on line 218

I got in touch with my hosting company, but they had the following to say:

The error below indicates that your website content is making use of incorrect server paths to reference certain files. We would suggest you reach out to your web developer to correct these paths to resolve the error. The correct server paths can be found in the following article: What is the open_basedir error?

They seem to suggest that these paths are written by the ‘web developer’, but I’ve never had to control any server paths with regards to Cornerstone. I don’t even know what a server path is.

How can I fix this?

Hi @designbythink,

Thanks for reaching out.
The mentioned issue has been already reported to our development team and they fixed it in the upcoming release. For a temporary fix, you can downgrade the PHP version of your Hosting server to the last working version or add the following code into the wp-config.php to suppress the issue for now.

define('WP_DEBUG', false);
define('WP_DEBUG_LOG', false);
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);

I would also suggest you go through the following thread on a similar topic.

Hope it helps.
Thanks

Thanks @tristup! This makes sense. As long as it doesn’t have any detrimental effect on the website I am happy to just hide the error messages until the new release.

Hi @designbythink,

Thanks, please let us know if need any further help.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.