[resolved] Multi site Error? (3 posts)

  1. marcdubeau
    Posted 4 years ago #

    I currently have a multi site install and I am wondering if this plugin works without issue normally. I am currently getting a error: unable to load settings html. My browser is chrome and any feedback to help me get this great plugin running is appreciated.


  2. wmsedgar
    Plugin Author

    Posted 4 years ago #

    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:


    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:

    	'/' . PLUGINDIR . '/' . dirname( plugin_basename( __FILE__ ) ) . '/' );

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

  3. wmsedgar
    Plugin Author

    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Googlyzer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic