Support » Plugin: Googlyzer » [Plugin: Googlyzer] Multi site Error?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wmsedgar

    (@wmsedgar)

    Thanks for your post. Googlyzer has not been tested on WP MS, but it has been tested and runs fine on a standard WP install.

    The error you noted is a path error. Googlyzer looks for the settings html file in the base plugin path, it’s standard path is:

    BASE_URL../wordpress/wp-content/plugins/googlyzer/html/settings.htm

    Googlyzer gets BASE_URL from running the get_bloginfo(‘url’) function. However, I believe get_bloginfo may return a sub-blog address on WP MS, and not the root URL.

    Try editing the googlyzer.php file as follows:

    Add this line at the top, just after the // define constants comment on line 51:

    define( 'BASE_URL', network_site_url() );

    Then modify the line that defines GOOGLYZER_PLUGIN_DIR (was line 54) as follows:

    define( 'GOOGLYZER_PLUGIN_DIR', BASE_URL .
    	'/' . PLUGINDIR . '/' . dirname( plugin_basename( __FILE__ ) ) . '/' );

    Let me know if that resolves your error. If so, I’ll incorporate the change into the next version.

    Plugin Author wmsedgar

    (@wmsedgar)

    Marc, the above changes were included in the Googlyzer v1.1 release. We’re going to mark this as resolved. Let us know if that is not the case.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Googlyzer] Multi site Error?’ is closed to new replies.