Project

General

Profile

Actions

Bug #8873

closed

PHP7 warning in squidguard

Added by Anonymous over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal-package
Assignee:
-
Category:
squidguard
Target version:
-
Start date:
09/04/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

[02-Sep-2018 21:00:29 Etc/UTC] PHP Warning: Use of undefined constant GIF_BODY - assumed 'GIF_BODY' (this will throw an Error in a future version of PHP) in /usr/local/www/sgerror.php on line 83
[02-Sep-2018 21:00:29 Etc/UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/sgerror.php:83) in /usr/local/www/sgerror.php on line 139

Actions #1

Updated by Anonymous over 5 years ago

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

Fix pushed. 824d08577196346be0e7d24d925bf3338208bd89
also cherry-picked to 2.4.4 3c1f879caabe7f9059e0a0143689d2d0b3cdd77e

Actions #2

Updated by Anonymous over 5 years ago

How to reproduce the issue?

Actions #3

Updated by Jim Pingle over 5 years ago

Looks like it would take activating and tripping a squidGuard filter that replaced content with a blank image. If it works without error, this can be closed.

Actions #5

Updated by Jim Pingle over 5 years ago

  • Project changed from pfSense to pfSense Packages
  • Category set to squidguard

That commit is already referenced in the first comment on this issue.

A fix was committed, but it needs to be tested and confirmed as fixed.

Actions #6

Updated by Joshua Sign over 5 years ago

i just test it on a fresh install 2.4.4-RELEASE-p2 (amd64)

blank_img works without any error.

Problem solved.

Actions #7

Updated by Jim Pingle over 5 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF