Project

General

Profile

Actions

Bug #1106

closed

Error in boot process

Added by Yehuda Katz about 14 years ago. Updated almost 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Captive Portal
Target version:
Start date:
12/15/2010
Due date:
% Done:

100%

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

Description

I am not sure how important this is, but I saw this error flash by during boot:

Enabling voucher support...
Warning: Invalid argument supplied for foreach() in /etc/inc.voucher.inc on line 298
done

2.0-BETA4 (i386)
built on Wed Dec 15 07:09:54 EST 2010

Actions #1

Updated by Erik Fonnesbeck about 14 years ago

Looking at the source code, it looks like that probably means you don't have any voucher rolls yet. However, this is still a bug that needs to be fixed.

Actions #2

Updated by Chris Buechler about 14 years ago

  • Category set to Captive Portal
  • Target version set to 2.0
Actions #3

Updated by Yehuda Katz about 14 years ago

Erik Fonnesbeck wrote:

Looking at the source code, it looks like that probably means you don't have any voucher rolls yet. However, this is still a bug that needs to be fixed.

This is on a brand new install, I don't have anything yet.

Actions #4

Updated by Erik Fonnesbeck about 14 years ago

I found that there was a change yesterday that unintentionally made it so that code would run when vouchers are disabled (and won't run when they are enabled). The case I mentioned is still something that could happen if vouchers were enabled and no voucher rolls were created yet, though.

Actions #5

Updated by Erik Fonnesbeck about 14 years ago

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

Updated by Jon Gerdes almost 14 years ago

I have not seen this error on yesterday's BETA4.

I have rebooted twice just to be sure so I think it is safe to close this bug.

Cheers
Jon

Actions #7

Updated by Chris Buechler almost 14 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF