Project

General

Profile

Actions

Bug #2764

closed

Captive Portal Voucher Sync issue

Added by Fabian Lorenz almost 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
Captive Portal
Target version:
Start date:
01/18/2013
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:

Description

I have found an issue with voucher sync. If you create a new voucher roll on the master pfSense and this new voucher is used on the secondary pfSense the captive portal hangs completly on the secondary node.
Navigating to "Status -> Captive Portal -> Active Vouchers" on the secondary pfSense results in the following php Error Message of the WebConfigurator:
Warning: file(/var/db/voucher_active_(roll id of the created voucher roll).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

As a result the complete WebConfigurator hangs and a complete reboot of the box is required.

If you syncronize the vouchers manually by clicking "Save" on the Captive Portal configuration page everything is working fine.
Working with voucher rolls that were already (manually) synced is no problem.

Actions #1

Updated by Renato Botelho almost 12 years ago

  • Assignee set to Renato Botelho
  • Target version changed from 2.2 to 2.1
  • Affected Version changed from 2.2 to 2.1
Actions #2

Updated by Renato Botelho almost 12 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Chris Buechler over 11 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF