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.
| Comment | File | Size | Author |
|---|---|---|---|
| feedapi_parser_exhaustive.patch | 977 bytes | theunraveler |
Comments
Comment #1
e2thex commentedThanks 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?
Comment #2
theunraveler commentedThat 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.
Comment #3
e2thex commentedThanks for the patch, I modified it a bit and pushed it into dev. I will be releasing a new alpha soon.
Thanks again.
Comment #4
theunraveler commentedI updated to alpha3, but I'm still getting the 4th error I was getting before, as well as two new errors. Here they are:
Any thoughts?
Comment #5
e2thex commentedOk 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
Comment #6
e2thex commentedOk 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
Comment #7
e2thex commentedok I have made some changes and they are in the new release http://drupal.org/node/475720
Comment #8
socialnicheguru commentedhi, 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
Comment #9
jarea commentedI 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.
Comment #10
e2thex commentedIf it is not urgent I will talk a look at it this weekend
Comment #11
jarea commentedWonderful - thanks!