Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Headers already sent

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 1 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dotOneD Offline
      dotOne
      last edited by

      Hi,

      Since I use a radius server for authentication our VPN clients (MOTP) the captive portal is not working anymore.
      It looks like it tries to use radius authentication also.
      The CP is configured to use vouchers but it looks like its trying to use radius anyway.

      Warning: Cannot modify header information - headers already sent by (output started at /usr/local/captiveportal/radius_authentication.inc:191) in /usr/local/captiveportal/index.php on line 41 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/captiveportal/radius_authentication.inc:191) in /usr/local/captiveportal/index.php on line 42 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/captiveportal/radius_authentication.inc:191) in /usr/local/captiveportal/index.php on line 43 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/captiveportal/radius_authentication.inc:191) in /usr/local/captiveportal/index.php on line 44 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/captiveportal/radius_authentication.inc:191) in /usr/local/captiveportal/index.php on line 45 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/captiveportal/radius_authentication.inc:191) in /usr/local/captiveportal/index.php on line 77

      How can I change this?

      1 Reply Last reply Reply Quote 0
      • dotOneD Offline
        dotOne
        last edited by

        To solve this I removed the line "require_once("radius.inc");" from the /etc/inc/captiveportal.inc

        This disables the radius support for the captive portal but I don't need it anyway.
        It's a crude way of going around the error but it's effective and quick.
        Maybe it gets solved in the future.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.