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

    RESOLVED - Gui-bug in Captive Portal

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    3 Posts 1 Posters 2.2k 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.
    • B
      banobi
      last edited by

      Found a Gui-bug in Captive Portal.

      This error appears when I save the configuration.

      ERROR! COULD NOT LOCATE niftycssCode.css
      Please contact webmaster.

      1 Reply Last reply Reply Quote 0
      • B
        banobi
        last edited by

        Surely that is not the best solution, but is resolved.

        The problem is caused because the function captiveportal_configure() change the work directory to /usr/local/captiveportal and file niftycssCode.css is found in /usr/local/www. My solution was to add the command "chdir ("/usr/local/www");":

        – Original file /usr/local/www/services_captiveportal.php
        …
        $ Savemsg = get_std_save_message ($ retval);
        )
        )

        include ( "head.inc");
        ?>

        1 Reply Last reply Reply Quote 0
        • B
          banobi
          last edited by

          Resolved with version:
          1.3-ALPHA-ALPHA
          built on Mon Aug 11 05:54:58 EDT 2008
          FreeBSD 7.0-RELEASE-p3

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