Closed
Bug 496002
Opened 16 years ago
Closed 16 years ago
stage Feeder has no entires
Categories
(Websites Graveyard :: mozillaservice.org, defect)
Websites Graveyard
mozillaservice.org
Tracking
(Not tracked)
VERIFIED
FIXED
1.0
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'.
Reporter | ||
Comment 1•16 years ago
|
||
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
Reporter | ||
Comment 2•16 years ago
|
||
I know curl is installed and works, because we use that for the "magic mini dcms" feature. we use curl_init function.
Comment 3•16 years ago
|
||
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?
Reporter | ||
Comment 4•16 years ago
|
||
5.2.4 dev server is OK
5.2.6 stage.ozten.com is OK
5.2.6 mozillaservice.stage.mozilla.com ERROR
Reporter | ||
Comment 5•16 years ago
|
||
Stage Server has all required and optional libraries:
SimplePie Required:
PHP 4.2, 5 or higher
XML
PCRE
Optional:
mbstring
iconv
curl
zlib
Reporter | ||
Comment 6•16 years ago
|
||
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.
Reporter | ||
Comment 7•16 years ago
|
||
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
Comment 8•16 years ago
|
||
Verified FIXED -- feed seems to be working fine on http://mozillaservice.stage.mozilla.com/activity/feed/en_US.
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Target Milestone: --- → 1.0
You need to log in
before you can comment on or make changes to this bug.
Description
•