Error: open_basedir Restriction in Effect.

Summary

Some who attempt to update and activate Shopp 1.2 will run into an error similar to the following:

Warning: error_log() [function.error-log]: open_basedir restriction in effect. >File(/tmp/[sitefinfo]_shopp_debug.log) is not within the allowed path(s): >(/srv:/tmp/upload:/dev/shm:/var/php5/lib/php) in /srv/username/www/[siteinfo]/wp->content/plugins/shopp/core/model/Error.php on line 425

Known Causes

This type of issue is a hosting issue. This is likely to come up when you don’t have permission to access the default temp folder.

Solutions

Navigate to your WordPress base directory and locate your wp-config.php file. In this, at the bottom, add the following:

define('SHOPP_LOG_PATH','/some/accessible/dir');

Replace the /some/accessible/dir with an appropriate path on your hosting environment that you do have access to.

See Also

Error: open_basedir Restriction in Effect.
  • 0.00 / 5 5
  1. Hi there,

    I’d like to share with everyone that (at least for me) this doesn’t work. That line should not be put at the bottom of the file, but after this line:
    define(‘WP_DEBUG’, false);

    If you put it there it works!

    June 24th   #

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar