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

How to fix?

edited September 2011 in Vanilla 2.0 - 2.8
How I can fix that bug? Where is that file?
Tagged:

Best Answer

  • Options
    SS ✭✭
    Answer ✓
    File:
    applications/dashboard/controllers/class.entrycontroller.php
    Line ~ 284 - 286:
    $IsPostBack = $this->Form->IsPostBack() && $this->Form->GetFormValue('Connect') == 'Connect';
    Replace by:
    $IsPostBack = $this->Form->IsPostBack() && $this->Form->GetFormValue('Connect') == T('Connect');

    What understandable is here?

Answers

  • Options
    Fix what?
  • Options
    edited September 2011
    IMPORTANT!!!
    This plugin wont work, due to postback bug: GitHub Bug #1085
    You should fix it, see commit:
  • Options
    SS ✭✭
    Answer ✓
    File:
    applications/dashboard/controllers/class.entrycontroller.php
    Line ~ 284 - 286:
    $IsPostBack = $this->Form->IsPostBack() && $this->Form->GetFormValue('Connect') == 'Connect';
    Replace by:
    $IsPostBack = $this->Form->IsPostBack() && $this->Form->GetFormValue('Connect') == T('Connect');

    What understandable is here?
  • Options
    Niiiiice!

    There was an error rendering this rich post.

  • Options
    edited September 2011
    I dont have any lines like that in class.entrycontroller.php. I cant find anything like that string which you posted in the whole file.

    My vanilla Version is 2.0.17.9. Should I upgrade to the latest version?


    My be it because of the my vanilla version?
    Are you sure you mean file: class.entrycontroller.php at applications/dashboard/controllers?

    sorry for stupid questions, but i really need for this addon. Thank you very match for you answers.
Sign In or Register to comment.