Project

General

Profile

Actions

Bug #3938

closed

Captive Portal PHP Error at bootup on current snapshots

Added by Jim Pingle about 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
Captive Portal
Target version:
Start date:
10/15/2014
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:
All

Description

At boot on a current snapshot with captive portal enabled there is a PHP error displayed:

PHP Errors:
[15-Oct-2014 08:18:55 America/Indiana/Indianapolis] PHP Fatal error: Call to a member function fetchArray() on a non-object in /etc/inc/captiveportal.inc on line 1312

It appears to be trying to read the sqlite db before it has been initialized.

1311:        $response = $DB->query("SELECT * FROM captiveportal {$query}");
1312:            while ($row = $response->fetchArray())
Actions #1

Updated by Chris Buechler about 10 years ago

  • Status changed from New to Confirmed
  • Priority changed from Normal to High
Actions #2

Updated by Ermal Luçi almost 10 years ago

  • Status changed from Confirmed to Feedback
Actions #3

Updated by Ermal Luçi almost 10 years ago

  • % Done changed from 0 to 100
Actions #4

Updated by Chris Buechler almost 10 years ago

  • Status changed from Feedback to Resolved

fixed

Actions

Also available in: Atom PDF