You are here:  » Warning open_basedir restriction in effect


Warning open_basedir restriction in effect

Submitted by rssfeeds on Sat, 2011-12-03 13:45 in

What's matter of this message:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File({code saved}) is not within the allowed path(s): ({code saved} on line 70

Thanks

frank

Submitted by support on Sat, 2011-12-03 17:14

Hi Frank,

open_basedir restriction is a security mechanism within PHP that prevents file access outside of the user account under which PHP is running.

The point in the code causing this warning is the point where creating the price comparison HTML checks for a merchant logo, and it constructs the path from the Install Path setting in wp-admin > Settings > PriceTapestry.org.

As both locations are within the same user account, it should be possible to correct this by changing your Install Path from

/var/www/vhosts/vacaturezoek.com/vacatures.banen-vandaag.nl/

to:

../vacatures.banen-vandaag.nl/

Hope this helps!
Cheers,
David