0

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

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by eduard77
0

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

echo get_include_path();
exit;

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) …

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.