Closed Bug 496002 Opened 16 years ago Closed 16 years ago

stage Feeder has no entires

Categories

(Websites Graveyard :: mozillaservice.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ozten, Unassigned)

References

()

Details

The stage server has no entries on homepage or activity/feed page. http://mozillaservice.stage.mozilla.com/feeder/ shows that the config is there. http://mozillaservice.stage.mozilla.com/feeder/update displays no errors. There were issues with the simplepie library with the error: Fatal error: Class 'Kohana' not found in /home/development/application/libraries/SimplePie.php so I replaced all instances of '=& new ' with '= new '. this 'fixed' the issue, but no I'm not seeing any entries get created. updated says 'OK'.
Added some code to test simplepie. It doesn't seem to be working. Url: http://mozillaservice.stage.mozilla.com/feeder/test_simplepie2 Code being run: http://svn.mozilla.org/projects/mozillaservice.org/trunk/web/modules/feeder/controllers/feeder.php Expected output: OK loading lib 1 Simple Pie is 40cd750bba9870f18aada2478b24840a set feed url initialized title is Delicious/tag/mozilla Actual output: OK loading lib 1 Simple Pie is 40cd750bba9870f18aada2478b24840a set feed url initialized title is So we can instantiate SimplePie, but it isn't able to output the title of the feed. Could be failing to a) retrieve or b) parse
I know curl is installed and works, because we use that for the "magic mini dcms" feature. we use curl_init function.
Depends on: 496012
The only thing I can think of off the top of my head is: Are the application/logs, application/cache, and application/cache/feeder directories all created and writable by apache? Also... Is this PHP 5.2 on the server? Or, what are the versions of PHP between dev/stage/etc?
5.2.4 dev server is OK 5.2.6 stage.ozten.com is OK 5.2.6 mozillaservice.stage.mozilla.com ERROR
Stage Server has all required and optional libraries: SimplePie Required: PHP 4.2, 5 or higher XML PCRE Optional: mbstring iconv curl zlib
The problem seems to be with parsing the feed... http://mozillaservice.stage.mozilla.com/feeder/test_simplepie4 Avoids network access and uses set_raw_data with a blob of XML. On stage this fails silently... no title.
Upgrading simplepie 'PECAN' to 1.1.3 (and removed '&= new' again) Seems like this fixed the issue.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Verified FIXED -- feed seems to be working fine on http://mozillaservice.stage.mozilla.com/activity/feed/en_US.
Status: RESOLVED → VERIFIED
Target Milestone: --- → 1.0
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.