Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
Broken podcast feed
17 November, 2011
3:30 am
harborhawaii
Member
Forum Posts: 5
Member Since:
17 November, 2011
Offline

In the last few weeks, when we try to add a new sermon, it breaks the podcast feed (the feed cuts off after the first item). If we delete the new sermon, the feed is validated again. We've reset options to default, and checked and rechecked the podcast.php file. Any suggestions? Thanks!

 

Validation check here:

http://validator.w3.org/feed/c…..%3Fpodcast

 

Feed here:

http://harborhawaii.org/media?podcast

17 November, 2011
2:43 pm
Ben Miller
Appleton, WI, USA
Moderator
Forum Posts: 386
Member Since:
18 June, 2009
Offline

harborhawaii,

Could you paste your podcast.php code into http://www.pastebin.com/ and post the link here so we can take a look?

Ben Miller
Pathways Church, Appleton, WI, USA
17 November, 2011
8:14 pm
harborhawaii
Member
Forum Posts: 5
Member Since:
17 November, 2011
Offline

Thanks, Ben! Here's the link:

 

http://pastebin.com/5P8sGZ9P 

17 November, 2011
8:17 pm
Ben Miller
Appleton, WI, USA
Moderator
Forum Posts: 386
Member Since:
18 June, 2009
Offline

I'm getting an "Unknown Paste ID" error from Pastebin.  Could you check the link?

Ben Miller
Pathways Church, Appleton, WI, USA
17 November, 2011
8:22 pm
harborhawaii
Member
Forum Posts: 5
Member Since:
17 November, 2011
Offline

Hmmm… strange. I'll try it again. Thanks!

 

http://pastebin.com/wAN56rrq

17 November, 2011
9:27 pm
Ben Miller
Appleton, WI, USA
Moderator
Forum Posts: 386
Member Since:
18 June, 2009
Offline

I don't see any important differences in your code vs. the standard 0.45.4 code.  As you've probably noticed, the feed quits after the first "enclosure" tag on the first sermon.  The next thing that is supposed to show up is the time duration of the sermon. When the feed quits abruptly, it usually indicates that a PHP error has occurred.  Have you looked at the server logs to get the error message?

Refresh the podcast feed, then go into the server logs and find the latest PHP error.  Hopefully this will give us a clue as to what is going on.  If you don't know how to view the server log, you'll need to ask your webhost provider.

When you find the error message, let us know what it is.

Ben Miller
Pathways Church, Appleton, WI, USA
17 November, 2011
9:46 pm
harborhawaii
Member
Forum Posts: 5
Member Since:
17 November, 2011
Offline

Here are the errors that correspond to a refresh of the podcast feed. Thanks again!

 [17-Nov-2011 15:43:41] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/pdo.so' – /usr/local/lib/php/extensions/no-debug-zts-20060613/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
[17-Nov-2011 15:43:41] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_mysql.so' – /usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[17-Nov-2011 15:43:41] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/uploadprogress.so' – /usr/local/lib/php/extensions/no-debug-zts-20060613/uploadprogress.so: cannot open shared object file: No such file or directory in Unknown on line 0
[17-Nov-2011 15:43:41] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_sqlite.so' – /usr/local/lib/php/extensions/no-debug-zts-20060613/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0

17 November, 2011
10:04 pm
Ben Miller
Appleton, WI, USA
Moderator
Forum Posts: 386
Member Since:
18 June, 2009
Offline

None of these look like any errors associated with Sermon Browser or even WordPress.  They aren't really even PHP errors, just PHP warnings, which I wouldn't think would cause podcast.php to quit prematurely.  Looking at this WordPress forum post, I don't think these warnings are related to WordPress.  A couple of questions for you:

Are you sure that these errors are corresponding to the podcast feed refresh?  Are you sure that these are the only errors?

To double-check, I would try refreshing several times and then checking the log, noting the timeshamps on the errors.  If you are certain that you get only these four errors every time you refresh the podcast feed, then I'm stumped as to what is going on.

You said that when you delete the latest sermon, your feed works again.  You could try deleting your latest sermon, and seeing if the PHP errors go away.

Another idea I had: perhaps there is something wrong with this particular MP3 file that is preventing Sermon Browser from getting the duration.  To test this, delete the last sermon so that the feed works again, then post a new sermon, but use one of your old MP3 files (with a new filename).

Ben Miller
Pathways Church, Appleton, WI, USA
19 November, 2011
12:15 am
harborhawaii
Member
Forum Posts: 5
Member Since:
17 November, 2011
Offline

Thanks for the suggestions, Ben. None of them worked, but your suspicions about php led me to do some Googling, and I discovered that our web host had done a migration that somehow reverted to an earlier php version.

I added a line to our htaccess forcing php5.3, and everything's back to normal. Thanks for your generous and quick expertise!

Forum Timezone: Europe/London

Most Users Ever Online: 40

Currently Online:
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

malpan: 2453

jogen: 2440

VanWatterson: 652

GeraldSebring: 364

LucasWoltman: 362

RandellFeenstra: 362

Member Stats:

Guest Posters: 7

Members: 2062

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 2

Topics: 1071

Posts: 4042

Newest Members: richdorm, Aaron Velasquez, aaronv, dave5884, tomduckering, ccwebb

Moderators: Ben Miller (386)

Administrators: Mark Barnes (425)

Comments are closed.