Project

General

Profile

Actions

Regression #14739

closed

PHP error with lightsquid when generating an SSL certificate

Added by Marcos M 10 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Lightsquid
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
2.8.0
Affected Plus Version:
23.09
Affected Architecture:
All

Description

PHP ERROR: Type: 1, File: /usr/local/pkg/lightsquid.inc, Line: 263, Message: Uncaught Error: Call to undefined function system_webgui_create_certificate() in /usr/local/pkg/lightsquid.inc:263
Stack trace:
#0 /usr/local/pkg/lightsquid.inc(87): lightsquid_write_webconfig()
#1 /etc/inc/pkg-utils.inc(786) : eval()'d code(1): lightsquid_install()
#2 /etc/inc/pkg-utils.inc(786): eval()
#3 /etc/inc/pkg-utils.inc(904): eval_once('lightsquid_inst...')
#4 /etc/rc.packages(76): install_package_xml('Lightsquid')
#5 {main}
thrown @ 2023-09-01 10:48:27
Actions #1

Updated by Jim Pingle 10 months ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100

Should be fixed in commit 11ed1711e84357241c044c82e7f2be7186375e75 (https://github.com/pfsense/FreeBSD-ports/commit/11ed1711e84357241c044c82e7f2be7186375e75) though as noted on there, the new functions only exist on dev snapshots and not past releases, so from this point on the package can't be picked back to 23.05.1/2.7.0 or earlier.

Actions #2

Updated by Peter Moreno 10 months ago

Hello.

Does this bug is related to the error about lightsquid creating certs each we try to access the reports and won't show nothing?
Pfsense 2.7.

Actions #3

Updated by Jim Pingle 10 months ago

  • Status changed from Feedback to In Progress

The new fix wasn't quite right (has a couple incorrect variable references. New fix coming momentarily.

Actions #4

Updated by Jim Pingle 10 months ago

  • Has duplicate Bug #14771: Lightsquid creating multiple SSL certificates, not starting added
Actions #5

Updated by Jim Pingle 10 months ago

  • Has duplicate deleted (Bug #14771: Lightsquid creating multiple SSL certificates, not starting)
Actions #6

Updated by Jim Pingle 10 months ago

  • Subject changed from PHP error with lightsquid to PHP error with lightsquid when generating an SSL certificate

Fixed in commit 9be9459ba796313087ca34b63c3deee7f181faea it will be in the next snapshot builds.

Actions #7

Updated by Jim Pingle 10 months ago

  • Status changed from In Progress to Feedback
  • Target version deleted (2.8.0)
  • Plus Target Version deleted (23.09)
Actions #8

Updated by Marcos M 10 months ago

  • Status changed from Feedback to Resolved
  • Target version set to 2.8.0
  • Plus Target Version set to 23.09

Resolved with 3.0.7_1.

Actions #9

Updated by Jim Pingle 10 months ago

  • Target version deleted (2.8.0)
  • Plus Target Version deleted (23.09)
Actions

Also available in: Atom PDF