Ok, I'm having this particular problem right now. I switched to a new indexing script and everything is working great. Now, I have an ad banner script written in PHP, and normally it's called using the following code snippet:
<?
require('/phpLedAds/ad_class.php');
echo $pla_class->adcode( );
?>
Now, if I load the banners with an iframe from a separate PHP file, they work, but the page renders a little funny because of the iframe. I'm trying to just plug the above code into the maintemplate.footer.inc.php file, but for some reason, it just doesn't work. This is the error message i'm getting:
Warning: require() [function.require]: open_basedir restriction in effect. File(/phpLedAds/ad_class.php) is not within the allowed path(s): (/home/weddset2:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/weddset2/public_html/Directory/Templates/maintemplate.footer.inc.php on line 13
Any idea how I can fix this without having to use the iframe?