Upload sermons to your website, where they can be searched, listened to, and downloaded. Easy to use with comprehensive help and tutorials.
With PHP 5.5+ you can't upload any files properly, or do various other things. It's because a function used by the script produces an error...
Here's how to update it - and I'm sorry that this is a direct hack of files.
There are (at least) two files to change, both in this directory:
The files are: admin.php and ajax.php
You have to replace every occurence of mysql_real_escape_string with esc_sql
So, for example, line 437:
$name = mysql_real_escape_string($_POST['name']);
$name = esc_sql($_POST['name']);
Because the mysql_... function is deprecated and produces an error, stopping the script from working. WordPress provides the esc_sql function, and it is up to date.
Really there should be a whole re-write of the scripts to use $wpdb->prepare, but that's another story.
We've been using Sermon Browser for several years on over a dozen websites, and normally it has worked well. Lately we have had a variety of problems with file uploads and adding new sermons to the collection.
For instance: At one church, the Sermon Browser worked great since 2010, but now NO new sermons can be added. The information like Sermon Title, Scripture Ref can be added, but the File or URL will not be added to the MySQL database no matter what options we try.
It appears that Sermon Browser will not work with WordPress 4.1.1 and PHP 5.5.23
Works great, although there are currently a few minor limitations.
You must log in to submit a review. You can also log in or register using the form near the top of this page.