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

    Captive portal: editing a voucher - voucher db troubles

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    1 Posts 1 Posters 1.1k 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.
    • P Offline
      Pontiac_CZ
      last edited by

      I have a voucher with 4 expired tickets 15 mins each. I go to Edit - I'd like to speed up creating of a new roll so I just give it a new roll#. The lowest free roll number is 2. OK, no problem so far.

      But from now on the top of the webConfig in Status: Captive Portal: Active voucher (only this section!) gets messed up - see the attachment. I can copy the entire error message, it says:

      Warning: file(/var/db/voucher_active_3.db): failed to open stream: No such file or directory in /usr/local/www/status_captiveportal_vouchers.php on line 61 Warning: Invalid argument supplied for foreach() in /usr/local/www/status_captiveportal_vouchers.php on line 62

      If I change the roll # back to its original value, this error disappears.

      Version: 2.0-RC1 (i386)
      built on Sat Feb 26 15:30:26 EST 2011

      captive_portal_error_message_in_the_top.png
      captive_portal_error_message_in_the_top.png_thumb

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