WP-Piwik 1.0.5 was not able to connect to Piwik using your configuration.
-
Firstly, I know this error has been raised multiple times, however I cannot find a solution that fixes my problem within.
I am running Piwik 2.15.0, wordpress 4.4, and WP-Piwik 1.0.5.
I have followed the instructions, opting for Piwik Mode: Self-hosting PHP API. I have entered the Piwik path (/public_html/piwik/) and have entered my auth code.
Having done all this, I still get the message “WP-Piwik 1.0.5 was not able to connect to Piwik using your configuration.“
On running the test script, I get:
WP-Piwik 1.0.5 Mode: php Test 1/3: global.getPiwikVersion array(2) { ["result"]=> string(5) "error" ["message"]=> string(44) "Class Piwik\FrontController does not exists." } bool(false) Test 2/3: SitesManager.getSitesWithAtLeastViewAccess array(2) { ["result"]=> string(5) "error" ["message"]=> string(44) "Class Piwik\FrontController does not exists." } bool(false) Test 3/3: SitesManager.getSitesIdFromSiteUrl array(2) { ["result"]=> string(5) "error" ["message"]=> string(44) "Class Piwik\FrontController does not exists." } bool(false) array(2) { ["global_settings"]=> array(57) { ["revision"]=> string(10) "2015101201" ["last_settings_update"]=> string(10) "1452076598" ["piwik_mode"]=> string(3) "php" ["piwik_url"]=> string(1) "/" ["piwik_path"]=> string(19) "/public_html/piwik/" ["piwik_user"]=> string(0) "" ["piwik_token"]=> string(3) "set" ["auto_site_config"]=> string(1) "1" ["default_date"]=> string(9) "yesterday" ["stats_seo"]=> string(1) "0" ["dashboard_widget"]=> string(6) "last30" ["dashboard_chart"]=> string(1) "0" ["dashboard_seo"]=> string(1) "0" ["toolbar"]=> string(1) "0" ["capability_read_stats"]=> array(7) { ["administrator"]=> string(1) "1" ["editor"]=> string(1) "0" ["author"]=> string(1) "0" ["contributor"]=> string(1) "0" ["subscriber"]=> string(1) "0" ["customer"]=> string(1) "0" ["shop_manager"]=> string(1) "0" } ["perpost_stats"]=> string(1) "0" ["plugin_display_name"]=> string(8) "WP-Piwik" ["piwik_shortcut"]=> string(1) "0" ["shortcodes"]=> string(1) "0" ["track_mode"]=> string(8) "manually" ["track_codeposition"]=> string(6) "footer" ["track_noscript"]=> string(1) "0" ["track_nojavascript"]=> string(1) "0" ["proxy_url"]=> string(0) "" ["track_content"]=> string(8) "disabled" ["track_search"]=> string(1) "0" ["track_404"]=> string(1) "0" ["add_post_annotations"]=> string(1) "0" ["add_customvars_box"]=> string(1) "0" ["add_download_extensions"]=> string(0) "" ["set_download_extensions"]=> string(0) "" ["disable_cookies"]=> string(1) "0" ["limit_cookies"]=> string(1) "0" ["limit_cookies_visitor"]=> string(8) "34186669" ["limit_cookies_session"]=> string(4) "1800" ["limit_cookies_referral"]=> string(8) "15778463" ["track_admin"]=> string(1) "0" ["capability_stealth"]=> array(0) { } ["track_across"]=> string(1) "0" ["track_across_alias"]=> string(1) "0" ["track_feed"]=> string(1) "0" ["track_feed_addcampaign"]=> string(1) "0" ["track_feed_campaign"]=> string(4) "feed" ["track_heartbeat"]=> string(1) "0" ["cache"]=> string(1) "1" ["http_connection"]=> string(4) "curl" ["http_method"]=> string(4) "post" ["disable_timelimit"]=> string(1) "0" ["connection_timeout"]=> string(1) "5" ["disable_ssl_verify"]=> string(1) "0" ["piwik_useragent"]=> string(3) "php" ["piwik_useragent_string"]=> string(8) "WP-Piwik" ["track_datacfasync"]=> string(1) "0" ["track_cdnurl"]=> string(0) "" ["track_cdnurlssl"]=> string(0) "" ["force_protocol"]=> string(8) "disabled" ["update_notice"]=> string(7) "enabled" } ["settings"]=> array(6) { ["name"]=> string(0) "" ["site_id"]=> string(1) "e" ["noscript_code"]=> string(0) "" ["tracking_code"]=> string(648) "<!-- Piwik --> <script type="text/javascript"> var _paq = _paq || []; _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//viabledesign.co.uk/piwik/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', 1]); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); })(); </script> <noscript><p><img src="//viabledesign.co.uk/piwik/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript> <!-- End Piwik Code --> " ["last_tracking_code_update"]=> string(1) "0" ["dashboard_revision"]=> string(1) "0" } }
Your response will be greatly appreciated.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP-Piwik 1.0.5 was not able to connect to Piwik using your configuration.’ is closed to new replies.