WordPress.org

Ready to get started?Download WordPress

Forums

WP-Piwik
[resolved] Problem after upgrade Piwik 1.8.2 (13 posts)

  1. blix0r
    Member
    Posted 2 years ago #

    Since i upgraded Piwik to the latest version 1.8.2 the Plugin doesn't work any more. I already checked my installation, i can pull the piwik information via widget from another site manually.

    Error received:
    Ein Fehler ist aufgetreten: Piwik did not answer. Please check your entered Piwik URL.

    Debugging

    Either allow_url_fopen has to be enabled or cURL has to be available:

    cURL ist verfügbar.
    allow_url_fopen ist aktiviert.

    Ergebnis des Testskripts

    *** Test 1/2: SitesManager.getSitesWithAtLeastViewAccess ***
    Call: https://stats.blix0r.de/?module=API&method=SitesManager.getSitesWithAtLeastViewAccess&format=XML&token_auth= + TOKEN
    Result:
    
    Time: 0.01s
    
    *** Test 2/2: SitesManager.getSitesIdFromSiteUrl ***
    Call: https://stats.blix0r.de/?module=API&method=SitesManager.getSitesIdFromSiteUrl&url=http%3A%2F%2Fblog.blix0r.de&format=XML&token_auth= + TOKEN
    Result:
    
    Time: 0.01s

    http://wordpress.org/extend/plugins/wp-piwik/

  2. blix0r
    Member
    Posted 2 years ago #

    by the way creat plugin! i just contributetd to the Compatibility so it now says: Works! :-)

    the combination WP and Plugin works but seems not to be compatible with Piwik 1.8.2?

  3. braekling
    Member
    Plugin Author

    Posted 2 years ago #

    Hm... WP-Piwik should work fine with Piwik 1.8.2:

    Vielen Dank für die Verwendung von WP-Piwik!
    Du verwendest Piwik 1.8.2 und WP-Piwik 0.9.3.
    Die Auto-Konfiguration ist aktiviert.
    Das Einfügen des Tracking-Codes ist aktiviert.

    This looks like a similar issue to this one:
    http://wordpress.org/support/topic/plugin-wp-piwik-piwik-did-not-answer-help?replies=9

    Did you try to connect to Piwik without SSL (http://stats.bli...)?

  4. braekling
    Member
    Plugin Author

    Posted 2 years ago #

    Piwik itself works fine?

    Here is an issue about getting blank pages from Piwik: http://forum.piwik.org/read.php?2,89794

    Can you access your error log and try to figure out some detail information?

  5. blix0r
    Member
    Posted 2 years ago #

    The only error i found is the following

    [Wed Jun 06 09:57:55 2012] [error] [client 62.153...] PHP Warning: Invalid argument supplied for foreach() in /.../wp-content/plugins/wp-piwik/dashboard/overview.php on line 30, referer: https://blog.blix0r.de/wp-admin/index.php

  6. blix0r
    Member
    Posted 2 years ago #

    Yes, Piwik itself works fine.

  7. blix0r
    Member
    Posted 2 years ago #

    I testet with http and it works so the problem might be SSL, but before the upgrade of piwik (old version 1.7.1) the plugin worked.

  8. blix0r
    Member
    Posted 2 years ago #

    No SSL is not acceptable for me, so i have to find a fix.

  9. braekling
    Member
    Plugin Author

    Posted 2 years ago #

    0.9.4 will support the PHP API which works without HTTP requests.

    Meanwhile you can have a look at this: http://wordpress.org/support/topic/plugin-wp-piwik-https-ssl-support?replies=3 Your certificate seems to be self-signed (=not trustable). If SSL is indispensable for you, you should think about buying a signed certificate. Using an untrusted certificate may also cause errors on tracking.

  10. blix0r
    Member
    Posted 2 years ago #

    Ok thanks that helped me to solve the Problem!
    But it still does not clarify why it worked before the update. The certificate was always the same and selfsigned.

    For a detailed resolution see my blog-post:
    http://blog.blix0r.de/2012/06/06/curl-trusting-self-signed-ca-certificate/

  11. blix0r
    Member
    Posted 2 years ago #

    PS: the tracking goes via http but for admin work and authentication i strictly use https

  12. blix0r
    Member
    Posted 2 years ago #

    Thank you again for your great support.
    Your Plugin ist great, your responding time is amazing!

    Keep up the good work..

  13. braekling
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the compliment & don't mention it! I'll remember your cURL options which you've shown in your blog post. Maybe I can add an option like "ignore certificate's trust" to keep WP-Piwik working with own certs.

    But I can't tell you why this occurs after updating Piwik. Maybe you got a general system update at the same time by accident? Well, the importing thing is that it works. :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.