I get an "open_basedir restriction in effect" error?
Posted by Daniel Scope on 04 December 2011 11:05 AM
When viewing my website, I see the following error: Warning: main(): open_basedir restriction in effect.

This error indicates that your script requires open_basedir to be off for your account. The open_base_dir setting is primarily used to prevent php scripts for a particular user from accessing files in another user's account. So usually, any files in your own account should be readable by your own scripts.

Simply open up a ticket with your domain name and we will turn off open_basedir for your account so your script should function properly.
(0 vote(s))
Helpful
Not helpful

Comments (0)