WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics Dashboard
[resolved] small problem if wp-config.php is not in the expected location (1 post)

  1. jeff@goseese.com
    Member
    Posted 3 years ago #

    I installed this on a site today with a non-standard location for wp-config.php.

    The result is that the linked to /js/gadmain.js.php can't find wp-config.php with the coded location in that same script on line 24.

    However, it looks like the only reason you are including that is to get the ajax url, so this works.
    - remove the require_once to wp-config.php and change line 53 to this.

    var gadsack = new sack(ajaxurl);
    Since ajaxurl is configured by default in the head of all wp-admin pages.

    Great plugin tho, thanks.

    http://wordpress.org/extend/plugins/google-analytics-dashboard/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic