I am having a script that starts like this
require_once "XML/RSS.php";
In the ini.php the path is set to "include_path = ".;d:\phpincludes"
where I have an XML folder that contains the RSS.php file
When I try to run it I keep on receiving the error
Warning: require_once(XML/RSS.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\XML_RSS-1.0.2\testrss.php on line 2
I just don't know what to do anymore

Recommended Answers

All 2 Replies

Don’t get frustrated, start by putting in first line

echo get_include_path();

In order to find out what is the include path. If isn’t what you expected then there is a problem in php.ini (for example I noticed that you are using WAMP , which one php.ini are you changing , the one in PHP folder or the one in Apache/bin folder , the second is the correct one) (of course after each change of php.ini you should restart the server) …


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.