• Trying the authorization wizard with version 0.99.1

    Running server capabilities check
    checking cURL curl_init
    checking oAuth OAuth2Client
    checking php 5.2.17
    checking WordPress 3.3.1
    checking Flattr ...

    There it stops. I can only click “Cancel”. The same happens with 2 installations on different servers (shared webhosting).
    Does it mean that the Flattr website is down?
    Thanks!

    https://www.ads-software.com/extend/plugins/flattr/

Viewing 15 replies - 16 through 30 (of 30 total)
  • Thread Starter Christoph

    (@camthor)

    PS: If I add now in flattr_client.php

    if ( !defined(‘__DIR__’) ) define(‘__DIR__’, dirname(__FILE__));

    to overcome this problem, it stops with the message (when entering the direct link)

    Parse error: syntax error, unexpected T_STATIC in /blablabla/wp-content/plugins/flattr/lib/oauth2client.php on line 142

    Seems to be a problem with the PHP version.

    Plugin Contributor Michael Henke

    (@aphex3k)

    Please replace __DIR__ with

    dirname(__FILE__)

    in flattr_client.php

    Thread Starter Christoph

    (@camthor)

    see above

    Plugin Contributor Michael Henke

    (@aphex3k)

    Try changing
    static::parseResponse

    to

    self::parseResponse

    in wp-content/plugins/flattr/lib/oauth2client.php on line 142

    Thread Starter Christoph

    (@camthor)

    OK, now it continues, I can authorize at Flattr.
    The link with key and secret return now:

    {“result”:0,”result_text”:”https:\/\/flattr.com\/oauth\/authorize?client_id=xxxxxxxxxxxx&response_type=code&redirect_uri=http%3A%2F%2Fwww.example.com%2Fwp-admin%2Fadmin.php%3Fpage%3Dflattr%2Fflattr.php&scope=thing+flattr”}

    The wizard shows me:

    If this is your name and avatar authentication was successfull.
    If the name displayed and avatar do not match start over.
    You need to authorize your blog once only!

    There is, however, no name or avatar displayed.

    Plugin Contributor Michael Henke

    (@aphex3k)

    did you start over? If not, please try.

    Thread Starter Christoph

    (@camthor)

    yes, started over twice – no change

    Plugin Contributor Michael Henke

    (@aphex3k)

    Could you test if post submission works nevertheless?

    Thread Starter Christoph

    (@camthor)

    I unpublished and republished a post that does not yet have a thing on Flattr. So far I cannot confirm that it was created.

    Plugin Contributor Michael Henke

    (@aphex3k)

    It only works on NEW posts.

    Thread Starter Christoph

    (@camthor)

    Created a new test post, published it – it’s not on Flattr.

    BTW, I noticed now that also the buttons don’t work.

    <?php the_flattr_permalink() ?>

    leads to the fatal error:

    Call to undefined function the_flattr_permalink()
    <?php the_flattr_permalink() ?>

    Plugin Contributor Michael Henke

    (@aphex3k)

    this one is allready known and will be fixed in the next update

    Thread Starter Christoph

    (@camthor)

    ok, I used the fix provided in the other thread. So at least the buttons are back.

    Thread Starter Christoph

    (@camthor)

    ok, I’ll be offline now. I can still try some fixes if you have new ideas.
    Thank you for your help!

    Plugin Contributor Michael Henke

    (@aphex3k)

    Thanks

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘[Plugin: Flattr] Capabilities check freezes up’ is closed to new replies.