Closed (fixed)
Project:
FeedAPI
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
20 Sep 2008 at 06:55 UTC
Updated:
17 Apr 2009 at 19:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
aron novakPlease share the details:
- Exact version number of simplepie.inc file
- Please copy here the exact error message. Is it a php error message?
- When does this message appear? When you enable the module or when you try to create a feed?
Comment #2
panji commentedI've found it,... it's a conflict with Activity Stream module...
Comment #3
panji commentedI still needed Activity Stream module, but it's always create error on status report
- simplepie.inc => latest version (Version 1.1.1. Released on 15 March 2008.)
- Error message :
Fatal error: Cannot redeclare class SimplePie in /[My Host Path]/www/sites/all/modules/feedapi/parser_simplepie/simplepie.inc on line 382
- create error on status report
Comment #4
sundby commentedI have the same exact error. Whenever I copy the simplepie.inc over to the parser directory and enable the SimplePie Parser then I get the same error.
Comment #5
sundby commentedI see now that when I disable the Activity Stream module then everything works fine. Apparently Activity Stream declares a class with the name SimplePie as well, so not really a FeedAPI issue.
Comment #6
aron novakYep, it could be a problem of having some modules what use the same included library.
Pro: - better compatibility with other modules
Con: - add another module to the dependencies, more complex installation of FeedAPI
Comment #7
gausarts commentedsubscribing, thanks
Comment #8
snorkers commentedFound the same error (although @ line 386 of simplepie.inc v1.1.3) - and aware that ActivityStream is currently using SimplePie 1.1.1. However quick scan of the module and inc files in ActivityStream doesn't highlight any other declarations of class SimplePie. Will investigate slow time, but in the meantime, I'll disable ActivityStream, and post an issue over there too...
Comment #9
snorkers commentedIn fact, just looked under ActivityStream issues, and the same problem is highlighted there (http://drupal.org/node/303765). Concensus seems to be to make ActivityStream and FeedAPI dependent upon the SimplePie module and utliise a shared library file. Any thoughts?
Comment #10
mustafau commentedInstead of adding another dependency to FeedAPI, parser_simplepie can check if SimplePie object is declared before.
Comment #11
aron novakComment #12
Leeteq commentedSubscribing.
Comment #13
aron novakDanielTheViking: um, instead of subscribing, apply this patch and tell if it helps or not.
http://drupal.org/node/311039#comment-1342728
Comment #14
aron novak