Hello!
I have a problem accessing a php file, which is located in a folder "news", from the root directory of my site. More specific, in the file index.php of my site I have this line of code:
require 'news/news_summary.php';
I get this error:
Warning: require(news/news_summary.php) [function.require]: failed to open stream: Operation not permitted in /www/vndv.com/b/e/t/betel-dumbraveni/htdocs/index.php on line 80
Fatal error: require() [function.require]: Failed opening required 'news/news_summary.php' (include_path='.:/usr/lib/php') in /www/vndv.com/b/e/t/betel-dumbraveni/htdocs/index.php on line 80
If I try to put "./" before "news", I get an error saying something about SAFE MODE.
The weird thing is that if I try to access the same file from a folder, say "events", also using require, it works. I use a line of code like this:
require '../news/news_summary.php';.
I think that maybe something is changed in the configuration of the server, because it worked before the well known problems. Please tell me how can I fix this.