1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unable to save OpenVPN client settings (AndreDVJ build Sep 10)

Discussion in 'Tomato Firmware' started by oby-1k, Sep 13, 2017.

  1. oby-1k

    oby-1k New Member Member

    Build: TomatoARM AdreDVJ Sep 10 R7000

    When trying to save the OpenVPN Client settings the GUI is unable to save the settings due to an error in the page. (There is no exception thrown in the GUI as far I can tell) All I can see is the exceptions happening in the console.

    This is the error that appear in the console:

    VM151:355 Uncaught TypeError: Cannot set property 'value' of null
    at save (<anonymous>:355:29)
    at HTMLButtonElement.onclick (VM238 :1)

    From the VM151 code I can see the line of code producing the error is:

    E('vpn_'+t+'_noexec').value = E('_f_vpn_'+t+'_noexec').checked ? 1 : 0;

    And when I try to watch for E('_f_vpn_'+t+'_noexec').checked ? 1 : 0; I get no data.

    So I guess this is because a setting was removed from the page but the save button code was not updated? Or something I'm doing wrong?

    Anyone else with this issue?
     
    Last edited: Sep 13, 2017
  2. brav

    brav Networkin' Nut Member

  3. Monk E. Boy

    Monk E. Boy Network Guru Member

    Have you tried using a different web browser? Instead of Chrome, try using Firefox. If using Firefox, try using Edge/Internet Explorer (or Safari). This will isolate the issue to a bug in the browser (of which Chrome has many) or an actual bug in the firmware.
     
  4. AndreDVJ

    AndreDVJ Addicted to LI Member

    Last edited: Sep 15, 2017 at 2:43 PM
    oby-1k likes this.
  5. oby-1k

    oby-1k New Member Member

    Working as a charm!

    Thanks AndreDVJ love your work
     
  6. brav

    brav Networkin' Nut Member

    Working on r8000 as well, thanks!
     

Share This Page