WordPress.org

Ready to get started?Download WordPress

Forums

Simple Business Hours
Will not work if WP is in its own folder (5 posts)

  1. marcfuller
    Member
    Posted 1 year ago #

    This is the warning that it kicks out -

    Warning: include(sbh-widget.php ) [function.include]: failed to open stream: No such file or directory in /home/xxxxxx/public_html/xxxx/wp-content/plugins/simple-business-hours/simple-business-hours.php on line 84

    http://wordpress.org/plugins/simple-business-hours/

  2. appointpress
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Marc,

    Could you tell me where you getting this warring message?

    In Widgets Area Or at fronted?

    Thanks

  3. marcfuller
    Member
    Posted 1 year ago #

    On the admin and front end - every page. If you would like to duplicate just perform a WordPress install giving WordPress its own folder - http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

  4. Amber
    Member
    Posted 1 year ago #

    Confirming that widget does NOT show up in widget selection list when WordPress is in it's own directory. Don't have de-bug on so not seeing an error.

  5. appointpress
    Member
    Plugin Author

    Posted 1 year ago #

    @Marc & Amber

    We tested the plugin by creating wordpress install in it own directory... but the widget is working on our end. I also have Debug mode on and I dont see any errors.

    The wordpress blog is on localhost while the wordpress core files are in localhost/wptest

    @Amber
    Can you switch the debug mode and tell if you get any File not found errors...

    Also which version of wordpress are you using?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.