I'm running Drupal 6.17 and the latest -dev version of Feeds XPath Parser (6.x-1.x-dev (2010-Jul-27)) on a local XAMPP server.

When I try to run cron, I get the following fatal error:

Fatal error: require_once() [function.require]: Failed opening required '' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\drupal-gearfitter.com\sites\all\modules\feeds_xpathparser\FeedsXPathParser.inc on line 49

Upon refreshing the main page, the follow warning also appears:

warning: require_once() [function.require-once]: Filename cannot be empty in C:\xampp\htdocs\MYSITE\sites\all\modules\feeds_xpathparser\FeedsXPathParser.inc on line 49.

Any help in identifying what could be causing this would be appreciated. I'm trying to dig into the code myself, but I wanted to report the problem ASAP.



twistor’s picture

This is because I changed the name of the parser type in the form. You'll need to go back to any old feeds you have configured and reset the parser type radio. The rest of the fields should still have the data. Let me know if this works.

janusman’s picture

If in #2 you mean we should select a different parser and then again the XML Parser (in /admin/build/feeds/edit/XXXX/parser), then this still does not work.

Also tried clearing caches.

Using 1.x-dev checkout.

brycesenz’s picture

@Janusman -

No, what it means is that within each actual instance of the feed importer, there is a set of radio buttons to indicate which means of parsing should be used (HTML, XML, QueryPath, REGEX). Upon upgrading, whatever you had selected is lost (no buttons are checked), which causes the error. You need to open every instance and manually check the parser you want.

It's a little tedious, but very simple and solved my problem.


twistor’s picture

Status: Active » Fixed


Thanks for the better explanation. I thought about adding an upgrade function, but it's dev. I guess I need to know if people are using this seriously and stabilize something if so. Either way, adding a check and some feedback for this error. Marking as fixed, feel free to open it back up if your problem is not solved.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.