Jump to content

Kipperlenny

Approved members
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Upvote
    Kipperlenny got a reaction from Richard Foley in Unable to Log In - "You need to enable cookies before you can use Revive Adserver" - another...   
    After upgrading we could not login anymore because of the message "You need to enable cookies before you can use Revive Adserver".
    I digged trough github and the board, added https://github.com/revive-adserver/revive-adserver/issues/639 but no luck.
    I debugged a bit more and found the problem with 
    dirname($_SERVER["SCRIPT_NAME"]) https://github.com/revive-adserver/revive-adserver/blob/master/www/admin/lib-sessions.inc.php#L70
    You cannot be sure, that the SCRIPT_NAME is the same like the directory in the browser (f.e. Aliasdomains in Ispconfig). I could help myself with setting the folder manually - but thats not a good solution :-)
    lenny
     
    PS: Same Problem with many form actions refering to SCRIPT_NAME... Only SCRIPT_URL and SCRIPT_URI return the correct url/path in my ispconfig aliasdomain (with mod_rewrite) setup...
    revive/www/admin/campain-edit.php +283
    $form = new OA_Admin_UI_Component_Form ( "campaignform", "POST",htmlspecialchars($_SERVER["SCRIPT_URL"], ENT_QUOTES)/* $_SERVER ['SCRIPT_NAME']*/ ); 
×
×
  • Create New...