Support » Plugin: WPBook » [Plugin: WPBook] Working while deactivated

  • I have the plugin deactivated but the application is still working on facebook however when I activate the plugin I get this error showing in the app on facebook

    Warning: require_once(/xxxx/wp-content/plugins/wpbook/theme/default/header.php) [function.require-once]: failed to open stream: No such file or directory in /xxx/wp-includes/theme.php on line 996

    http://wordpress.org/extend/plugins/wpbook/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Eckman

    (@johneckman)

    The plugin has no control over the application in Facebook – what you need to do is edit the settings for your Facebook application to enable “sandbox” mode, which will make it only available to its developer.

    It’s in the “Advanced” tab, near the top, change “Sandbox Mode” radio button from “disabled” to “enabled” and save.

    As for your other error, looking back at wp-includes/theme.php for WordPress 2.9.2, line 996 is in this function:

    function load_template($_template_file) {
    	global $posts, $post, $wp_did_header, $wp_did_template_redirect, $wp_query, $wp_rewrite, $wpdb, $wp_version, $wp, $id, $comment, $user_ID;
    
    	if ( is_array($wp_query->query_vars) )
    		extract($wp_query->query_vars, EXTR_SKIP);
    
    	require_once($_template_file);
    }

    I think the problem is that WPBook is not activated, so it’s hooks aren’t running which would make the FB app work.

    If you either disable the FB application (using sandbox mode as described above, or by deleting the app altogether) OR activate WPBook, you won’t get the error.

    I only get the error when the plugin is activated.

    It hasn’t been activated since I posted this issue and it is showing fine on facebook however it isn’t showing any new post.

    Plugin Author John Eckman

    (@johneckman)

    I’m confused. You have de-activated WPBook, but you expect it to keep showing new posts?

    When you activate the plugin, you get the error above, when viewed inside Facebook?

    What version of WordPress are you using, and what version of WPBook?

    What is the url of your Facebook application, and what is the url of your WordPress blog?

    Your confused..? No, I’m confused. I have no idea how this is happening I have WPBOOK on another site which I’ve upgrade three times and that site is fine. So, I don’t know.

    I’m using

    WordPress 3.0
    WPBook 1.5.6

    This is the application
    http://apps.facebook.com/cqriverdale/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WPBook] Working while deactivated’ is closed to new replies.