Jump to content


This topic is now archived and is closed to further replies.


2 Warnings: open_basedir restriction & fopen

Recommended Posts

I am getting the following error on a web page I have loaded to my server. I have Linux w/RedHat 9 & PHP 4.2.2.
[i]Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/xxxxxxxx.com/httpdocs/inc/top.inc on line 10[/i]

Is this a problem with a settings permission such as a safe_mode setting or does my version of PHP need to be higher?

I also get an error from my RSS feed and don't know what this means:
[i]Warning: fopen("http://news.google.com/news?sourceid=navclient&ie=UTF-8&rls=GGLG,GGLG:2005-22,GGLG:en&q=Yoga&output=rss", "r") - Success in /home/httpd/vhosts/xxxxxxxxxx.com/httpdocs/inc/rss.inc on line 81[/i]could not open XML input

Any help would be appreciated. Thanks!

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.