Captive Portal fails with white page and no text.



  • /index.php: Submission to captiveportal with unknown parameter zone:
    Jan 21 12:49:57 bbsfw.dlois.com nginx: 2016/01/21 12:49:57 [error] 43523#0: *52 open() "/usr/local/captiveportal/favicon.ico" failed (2: No such file or directory), client: 192.168.1.48, server: , request: "GET /favicon.ico HTTP/1.1", host: "192.168.1.1:8002", referrer: "http://192.168.1.1:8002/"
    Jan 21 12:49:57 bbsfw.dlois.com nginx: 2016/01/21 12:49:57 [error] 43523#0: send() failed (54: Connection reset by peer)
    Jan 21 12:49:57 php-fpm 79316 /index.php: Submission to captiveportal with unknown parameter zone:
    Jan 21 12:49:45 bbsfw.dlois.com nginx: 2016/01/21 12:49:45 [error] 28830#0: send() failed (54: Connection reset by peer)
    Jan 21 12:49:45 syslogd kernel boot file is /boot/kernel/kernel


  • Rebel Alliance Developer Netgate

    Probably related to https://forum.pfsense.org/index.php?topic=105567.0 – might need adjustments to your custom html code until we find a more general way around the issue.



  • Yes I found that shortly after posting and tried the suggestion. No change. Is there a special place on the page its needed? This is what i've done:

    
    <form method="post" action="http://192.168.2.1:8002/">
    
       Username
    Password
    
    </form>
    
    

  • Rebel Alliance Developer Netgate

    Anywhere inside the

    <form>tag is fine. Though your "action" and "redirurl" values are also not correct, they should be using the macros $PORTAL_ACTION$ and $PORTAL_REDIRURL$. To avoid confusing the issues, please post in the other thread since it appears to be the same root cause.</form>


Log in to reply