WordPress.org

Ready to get started?Download WordPress

Forums

access to the plugin files (1 post)

  1. vickyh
    Member
    Posted 5 years ago #

    I'm using the sermon-browser plugin and within the plugin's folder is a sub-folder called sb-includes. In order for the plugin to style the sermons properly, it calls sb-includes/style.php which gets the css from the database.

    What gets written on the sermons page is
    <link rel="stylesheet" href="http://www.mydomain.co.uk/wp-content/plugins/sermon-browser/sb-includes/style.php" type="text/css"/>

    However the styling is being ignored and the plugin author says it is because my server is blocking the style.php. The url to the style.php is returning a 404 error.

    However the file is certainly there.

    I've tried different permissions on the file and it hasn't made any difference.

    I can access other types of files in the sb-includes folder though. http://www.mydomain.co.uk/wp-content/plugins/sermon-browser/sb-includes/datepicker.css works, and I tried upload a test.htm file to that location and that loads up fine.

    It's just php files that seem to throw up a 404 error.

    Can anyone suggest a solution? I'm on a new server so there could be something set up wrong which I need to change - but I don't know what.

Topic Closed

This topic has been closed to new replies.

About this Topic