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
Every link comes up with Error Code 404: page not found.
28 October, 2011
11:24 pm
nathanael
New Member
Forum Posts: 2
Member Since:
28 October, 2011
Offline

I love what seems possible with this plugin. All of my sermons are appearing properly. However, whenever I click on anything linked (other sermon titles, series, preachers) and when I run a filter I get a 404 error code: page not found. I am using the latest version of Wordpress (3.2.1). How do I fix this?

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

Could you post a link, so we could take a look?

Ben Miller
Pathways Church, Appleton, WI, USA
17 November, 2011
9:51 pm
dpark
New Member
Forum Posts: 2
Member Since:
17 November, 2011
Offline

Ben Miller said

Could you post a link, so we could take a look?

I have a similar issue, I think. I uploaded the sermon file via FTP in the specified directory. I go into the Sermons folder and create sermon. Fill out the information and yet it doesn't seem to stream properly, it simply gives the message "File not found". Please help?

 

http://opentablecommunity.org/…..page_id=21

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

dpark, I don't think your issue is the same as Nathanael's.  :)

The first thing I noticed is that the filenames of your .mp3 files have spaces and dot characters in them.  Try posting a new sermon where the filename only has letters, numbers, dashes (-), and underscores(_) in them.  No spaces, dots (except for the one right before .mp3), or any other characters.  Let us know when you've added a new sermon so we can take another look.

Ben Miller
Pathways Church, Appleton, WI, USA
18 November, 2011
9:25 pm
dpark
New Member
Forum Posts: 2
Member Since:
17 November, 2011
Offline

Ben Miller said

dpark, I don't think your issue is the same as Nathanael's.  :)

The first thing I noticed is that the filenames of your .mp3 files have spaces and dot characters in them.  Try posting a new sermon where the filename only has letters, numbers, dashes (-), and underscores(_) in them.  No spaces, dots (except for the one right before .mp3), or any other characters.  Let us know when you've added a new sermon so we can take another look.

 

Thanks Ben, I was afraid it was a different issue. I removed all the sermons and deleted all the files, renamed them without spaces, re-uploaded them, and created sermons, but still seem to suffer the same problem. Could you take another look now? Thanks! Really appreciate the help.

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

dpark, I see that the sermon you have left on there still has dots in the filename:
8.21.11-TheRoadtoEmmaus.mp3
I don't think this is the problem, but to eliminate it as a possibility I was hoping that you'd get rid of the dots as well, to something like this:
8-21-11-TheRoadtoEmmaus.mp3

Anyway, looking at your site, I see a potential issue. It looks like you don't have the Audio Player plugin installed. Instead, your theme has something like the Audio Player plugin built-in to the theme. This might be a problem; your theme has some custom Audio stuff going on that might conflict with the Audio Player plugin.

Steps to try: Install the Audio Player plugin, and then see if the sermon works. If not, try switching to a different theme. If it works after that, then you'll know that your theme is conflicting with Audio Player and/or Sermon Browser.

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

dpark, I thought of something else.  You can still try the steps above, and see what happens.  But I'd also like you to look at the following fields in the Sermon Browser control panel and tell me what they currently show:

Under Sermons, Options, please tell me what you have for the "Upload folder" and "MP3 shortcode" fields.

Ben Miller
Pathways Church, Appleton, WI, USA
19 November, 2011
10:21 pm
jness
New Member
Forum Posts: 2
Member Since:
19 November, 2011
Offline

I'm helping Nathanael debug his broken plugin links.  The Sermon Browser works beautifully for displaying sermons, the widget to play the mp3, artwork, etc.  However, as Nathanael mentioned, all links to sermon metadata return 404.  This includes series links, tag links, preacher links, etc.  

Here are some example broken links:

http://www.nathanaelwolf.com/2…../?series=3

http://www.nathanaelwolf.com/2…..g=humility

http://www.nathanaelwolf.com/2…..?service=1

 

Nathanael gave me an admin login and I can confirm that there is a series with ID 3 (titled "The Gospel of John"), there is a sermon having a tag "humility" (Exact tag list: "God's Glory, God's Presence, humility, prayer, repentance, spiritual hunger"), and there is a service with id = 1 ("Sunday Morning @ 10:00").  

Any ideas on how to debug?  Thanks!

Jonathan

20 November, 2011
1:52 am
israelshirk
New Member
Forum Posts: 2
Member Since:
20 November, 2011
Offline

Hi, I'm one of Jonathan's coder relatives.

 

I've solved the issue on nathanaelwolf.comon to some degree.  The issue was that in the loop on the front page, sb_get_page_id() was returning arbitrary values (the last post with a plain shortcode in it – no attributes), rather than the value get_the_ID() returned.  We were using shortcodes of the form (square bracket left)sermon id="12345"(square bracket right), so the select's weren't finding the most recent post.  I'm not entirely understanding why that method is used, but for the moment adding "if (get_the_ID()) return get_the_ID();" before line 390 of sermon.php seems to have fixed it to a reasonable degree.

20 November, 2011
2:08 am
israelshirk
New Member
Forum Posts: 2
Member Since:
20 November, 2011
Offline
10

(And on another note – thank you for commenting your code so well!  That's pretty rare/cool!)

20 November, 2011
3:47 am
Ben Miller
Appleton, WI, USA
Moderator
Forum Posts: 386
Member Since:
18 June, 2009
Offline
11

Nathanael/Jonathan/israelshirk,

I've just had a chance now to look at your site.  I'm not sure if things have changed since Jonathan's post, but as far as I can tell, things seem to be working okay.  However, the links Jonathan posted aren't valid links; I'm not sure where they came from.  Since your Sermon Browser page is /sermons/, the links will have /sermons/ in them:

/sermons/?series=3

/sermons/?stag=humility

/sermons/?service=1

But maybe you already figured this out and that is what israelshirk fixed already.  Anyway, it looks to me like it is working now, so let me know if you have any other questions.

 

I did notice something else while I was looking at your site.  If you look at your main sermon page, you might notice that each sermon in the list sort of runs together, and it is a little hard to tell where the info for one sermon ends and the next begins.  This is actually due to a sort of a bug in the default Style template.  I recommend that you make the changes outlined in this thread:

http://www.sermonbrowser.com/f…..mons-page/

Let me know if you have any questions about those instructions.

Ben Miller
Pathways Church, Appleton, WI, USA
24 November, 2011
5:52 am
jness
New Member
Forum Posts: 2
Member Since:
19 November, 2011
Offline
12

Ben – Thanks for the help!  Your suggestions + Israel's WordPress expertise clued me in to twiddle the settings until everything worked.  Also thanks for the aesthetic help with the horizontal lines in the default Style template.  That looks much cleaner.  I think Nathanael will be happy!  :)

Jonathan 

Forum Timezone: Europe/London

Most Users Ever Online: 40

Currently Online:
13 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.