Menu

Dynamic Login page does not working after upgrade (SVN 2188)

Help
2017-05-30
2017-06-10
  • Fabrizio Lazzaretti

    Hi Dirk, after i've managed a software upgrade from svn 2000 to 2188, the db for now seems to be consistent.
    However I noticed the dynamic login pages doesnt not works anymore.
    The cause seems to be related to browser_detect procedure which still point to cake2 App.
    infact the url on mikrotik login.html point to http://IP/cake2/rd_cake/dynamic_details/mikrotik_browser_detect.
    I tryed to replace cake2 with cake3 but the dymamic_details is not defined in the cake3 App.
    The workaround is edit the old config file (/usr/share/nginx/html/cake2/rd_cake/Config/DynamicLogin.php) substituting this snippet to reflect the unification of mikrotik and chilli.

    $config['DynamicLogin']['theme']['Default'] = array(
    'coova_desktop' => '/login/cp/index.html',
    'coova_mobile' => '/login/cp/index.html',
    'mikrotik_desktop' => '/login/cp/index.html',
    'mikrotik_mobile' =>'/login/cp/index.html',
    );

    Is already present the detect procedure in cake3 ?

    Another little thing to adjuct is the italian i18n file which is the copy of french file(i'm working on translation)

    Best regards !

     
  • Fabrizio Lazzaretti

    second problem: break of login page.
    Using mikrotik, the dynamic page gets loaded fine but in the connect form, when i insert the voucher and press login, the page remain disabled(out of focus).
    Facebook button immediatley throws the error hotspot not responding
    Also, user Registration does not work: when i click register, the page doesn't respond (but in frontend the usere get created!) and it stucks.
    Maybe i've missing some procedure in the upgrade process?
    The guides i followed are:
    http://www.radiusdesk.com/docuwiki/getting_started/install_ubuntu_dynamic_login
    and
    http://www.radiusdesk.com/docuwiki/getting_started/install_ubuntu_update
    for restoring the previous database.

    Anyone got the new dynamic pages working with mikrotik ?

    Thanks all for the support in advance

    Best Regards

     
  • ben m

    ben m - 2017-06-09

    First of let me say..fantastic project..huge fan.
    I am having a similar problem, I am able to authenticate while using the Mikrotik hotspot portal, but once I switch to dynamic pages using your solution, it appears the login button is disabled.

    Any pointers is appreciated.. I am runnig RADIUSdesk 2012-2017 GPL license build from the virtual machine image I have not made any modifications.

    Cheers

    Ben

     
  • Dirk van der Walt

    Hi guys,

    Hang on guys, there is a VM on its way the next 24 hours....

    Regards

     
  • Dirk van der Walt

    OK,

    Latest VM is on the SF servers. (64bit) (2017-0-4)

    Regards

     

    Last edit: Dirk van der Walt 2017-06-10

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.