[Plugin: Google Analytics Dashboard] small problem if wp-config.php is not in the expected location
-
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.
https://www.ads-software.com/extend/plugins/google-analytics-dashboard/
- The topic ‘[Plugin: Google Analytics Dashboard] small problem if wp-config.php is not in the expected location’ is closed to new replies.