Hello. This is really a great module, and I'm glad someone has stepped up and implemented this.

I'm getting the following error message, though, when I go to the "Map" tab of a feed.

* warning: DOMDocument::load() [domdocument.load]: URL file-access is disabled in the server configuration in /home/youthvideo/nymapexchange.net/sites/all/modules/feedapi_parser_exhaustive/feedapi_parser_exhaustive.module on line 22.
* warning: DOMDocument::load(http://tcymn.net/nymap_feed) [domdocument.load]: failed to open stream: no suitable wrapper could be found in /home/youthvideo/nymapexchange.net/sites/all/modules/feedapi_parser_exhaustive/feedapi_parser_exhaustive.module on line 22.
* warning: DOMDocument::load() [domdocument.load]: I/O warning : failed to load external entity "http://tcymn.net/nymap_feed" in /home/youthvideo/nymapexchange.net/sites/all/modules/feedapi_parser_exhaustive/feedapi_parser_exhaustive.module on line 22.
* warning: array_diff_key() [function.array-diff-key]: Argument #1 is not an array in /home/youthvideo/nymapexchange.net/sites/all/modules/feedapi_parser_exhaustive/feedapi_parser_exhaustive.module on line 40.

I think it is because the module is trying to call an external URL on line 22, and unless you have allow_url_fopen set to "true" on your server (which a lot of hosts are disabling for security reasons), that is not allowed. I implemented the same thing but with cURL instead, but am still getting the 4th error message.

I've attached a patch, but it still needs work.

CommentFileSizeAuthor
feedapi_parser_exhaustive.patch977 bytestheunraveler

Comments

e2thex’s picture

Thanks for the patch, I will take a look at it. The second error is probably caused by the feed not getting parsed. I will investigate. Is http://tcymn.net/nymap_feed the feed you are loading?

theunraveler’s picture

That is the feed I'm trying to parse. However, it happens with any feed I try, including the NY Times one that you included in the module description.

e2thex’s picture

Thanks for the patch, I modified it a bit and pushed it into dev. I will be releasing a new alpha soon.

Thanks again.

theunraveler’s picture

I updated to alpha3, but I'm still getting the 4th error I was getting before, as well as two new errors. Here they are:

* warning: DOMDocument::load() [domdocument.load]: URL file-access is disabled in the server configuration in /home/youthvideo/nymapexchange.net/sites/all/modules/feedapi_parser_exhaustive/feedapi_parser_exhaustive.module on line 23.
* warning: DOMDocument::load(http://feeds.nytimes.com/nyt/rss/Business) [domdocument.load]: failed to open stream: no suitable wrapper could be found in /home/youthvideo/nymapexchange.net/sites/all/modules/feedapi_parser_exhaustive/feedapi_parser_exhaustive.module on line 23.
* warning: DOMDocument::load() [domdocument.load]: I/O warning : failed to load external entity "http://feeds.nytimes.com/nyt/rss/Business" in /home/youthvideo/nymapexchange.net/sites/all/modules/feedapi_parser_exhaustive/feedapi_parser_exhaustive.module on line 23.
* warning: array_diff_key() [function.array-diff-key]: Argument #1 is not an array in /home/youthvideo/nymapexchange.net/sites/all/modules/feedapi_parser_exhaustive/feedapi_parser_exhaustive.module on line 47.

Any thoughts?

e2thex’s picture

Ok I think I might know what is causing this. While I did not get the same error I got similar one on a new server. I will have a new version by days end

e2thex’s picture

Assigned: Unassigned » e2thex

Ok I think I might know what is causing this. While I did not get the same error I got similar one on a new server. I will have a new version by days end

e2thex’s picture

ok I have made some changes and they are in the new release http://drupal.org/node/475720

socialnicheguru’s picture

hi, I got this with the newest 5/28 version

# warning: DOMDocument::loadXML() [domdocument.loadxml]: Start tag expected, '<' not found in Entity, line: 1 in /drupal/sites/all/modules/feedapi_parser_exhaustive/feedapi_parser_exhaustive.module on line 28.
# warning: array_diff_key() [function.array-diff-key]: Argument #1 is not an array in/drupal/sites/all/modules/feedapi_parser_exhaustive/feedapi_parser_exhaustive.module on line 45.

it was an ical feed but I thought that I could enable multiple ones so if one fails I could pick up information from another.

Chris

jarea’s picture

Version: 6.x-1.x-dev » 6.x-1.0-alpha5

I am getting the same error on some feeds but not on other feeds of the same type. Problem is, none of these feeds have the exhaustive parser activated - not even using any mapping - only using SimplePie. The feeds refresh fine, so it is not a big problem for me. It is just cluttering up the logs.

I am using the latest version of 6.x-1.0-alpha5 dated 05/28/09 and still getting the error.

The error generates whenever I try (or cron tries) to refresh the feed.

DOMDocument::loadXML() [<a href='domdocument.loadxml'>domdocument.loadxml</a>]: Empty string supplied as input in /home/content/79/xxxxxxxx/html/sites/all/modules/feedapi_parser_exhaustive/feedapi_parser_exhaustive.module on line 28.

array_diff_key() [<a href='function.array-diff-key'>function.array-diff-key</a>]: Argument #1 is not an array in /home/content/79/xxxxxxxx/html/sites/all/modules/feedapi_parser_exhaustive/feedapi_parser_exhaustive.module on line 45.
e2thex’s picture

If it is not urgent I will talk a look at it this weekend

jarea’s picture

Wonderful - thanks!