Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Logger Error with Vanilla 2.2

edited December 2015 in Vanilla 2.0 - 2.8

Is this plugin compatible with Vanilla 2.2? I'm getting a "Server Error 500" message when I attempt to access the dashboard.

PHP version is 5.6 on Dreamhost

Comments

  • Options
    hgtonighthgtonight ∞ · New MVP

    No. It was built for and tested on Vanilla 2.0 IIRC. According to the git repository, it supports 2.1. It is GPLv3 and I am sure @businessdad would love a pull request with code making it 2.2 compatible: https://github.com/daigo75/vanilla-logger

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options
    businessdadbusinessdad Stealth contributor MVP
    edited December 2015

    @hgtonight is right. I'm no longer working with Vanilla Forums and I haven't tested the plugin with version 2.2. It's indeed possible that they introduced breaking changes that make the plugin incompatible.

    If anyone is willing to provide a fix, please make sure that it still works with Vanilla 2.1 (and 2.0, ideally). Backward compatibility is always important. :)

  • Options

    Thanks for the quick responses. =) Hopefully someone will volunteer to fix it. crosses fingers

  • Options
    dvenckusdvenckus New
    edited December 2015

    I was able to get this working, but there is a name collision between the Garden Logger class and Vanilla-Logger plugin. While almost all Garden classes are prefixed with 'Gdn_', the Garden Logger class is not. It's just 'Logger', while the Apache Logger class is also 'Logger'. The way to make it work is to rename one or the other or make use of namespaces. As an alternative debug method, you could try Kpr for Vanilla (http://vanillaforums.org/addon/kpr-plugin).

  • Options
    businessdadbusinessdad Stealth contributor MVP

    It's curious that Garden framework went again its own standard, but thanks for letting us know. :)

  • Options

    FWIW, I adapted Logger & Log4php to a new plugin that's compatible with Vanilla 2.2. Its a stripped down version of the original Logger but will log to multiple files per event.

    NeoLogger (http://vanillaforums.org/addon/neologger-plugin)

Sign In or Register to comment.