Captive portal: editing a voucher - voucher db troubles



  • 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



Locked