WordPress.org

Ready to get started?Download WordPress

Forums

Flattr
[resolved] Individual user profiles not working (9 posts)

  1. mabahl
    Member
    Posted 2 years ago #

    I get these three errors when I try to set up individual profiles on my site, which consists of many different authors:

    "Warning: include_once(__DIR__/../flattr_client.php) [function.include-once]: failed to open stream: No such file or directory in [.....]/wp-content/plugins/flattr/settings-templates/user.php on line 56

    Warning: include_once() [function.include]: Failed opening '__DIR__/../flattr_client.php' for inclusion (include_path='.:/usr/share/pear') in [.....]/wp-content/plugins/flattr/settings-templates/user.php on line 56

    Fatal error: Class 'OAuth2Client' not found in [.....]/wp-content/plugins/flattr/settings-templates/user.php on line 58"

    [.....] is my specific site.

    Does anybody have any idea how to fix this?

    http://wordpress.org/extend/plugins/flattr/

  2. VoxPelli
    Member
    Plugin Author

    Posted 2 years ago #

    __DIR__ was introduced in PHP 5.3.0 so if you're running something older than that you will get this error. I haven't tested the plugin myself in anything older than PHP 5.3, but I will fix this specific error in the next release and if we're lucky than everything else in the plugin will already be working for older versions of PHP.

  3. mabahl
    Member
    Posted 2 years ago #

    So, all the errors disappeared and the authorisation seems to work. However, when I "flattr" a post with an individual profile set up, the flattr just ends up at the main account set up for the entire website.

    Besides this one problem the plugin seems to be working great.

  4. mabahl
    Member
    Posted 2 years ago #

    Has anybody successfully set up individual users on their site?

    It's still not working for me.

  5. Michael Henke
    Member
    Plugin Author

    Posted 2 years ago #

    I'll investigate,

    currently the option will have the value it has before the upgrade to 0.99 or above.

  6. mabahl
    Member
    Posted 2 years ago #

    I just tried to delete the plugin and reinstall it, but all details were saved somehow.

    How can I delete everything and try to start from the beginning?

  7. VoxPelli
    Member
    Plugin Author

    Posted 2 years ago #

    The multi-author feature works well for me when using dynamic buttons and not using the presubmit function, so it's not completely broken at least.

    @Michael: Perhaps the presubmit feature submits things in a wrong way for multi-author blogs? Have you tried that out? I myself am not familiar with that piece of the plugin.

  8. Michael Henke
    Member
    Plugin Author

    Posted 2 years ago #

    I tested it with 2 users and the posts where submitted to different flattr accounts from the same blog.

  9. mabahl
    Member
    Posted 2 years ago #

    I set this topic to resolved and created a new one.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags