Project

General

Profile

Bug #7487

First load after install: HTMLPurifier warnings

Added by Yannick Warnier over 4 years ago. Updated over 4 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Category:
Global / Others / Misc
Target version:
Start date:
25/01/2015
Due date:
% Done:

100%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

A few warnings and notices appear at first login after install on CPanel. See screenshot


Files

htmlpurifier-warning.png (151 KB) htmlpurifier-warning.png Yannick Warnier, 25/01/2015 17:51

Associated revisions

Revision ab651669 (diff)
Added by Julio Montoya over 4 years ago

Commenting unsupported tags by HTMLPurifier see #7487

History

#1

Updated by Angel Quiroz over 4 years ago

This warning are displayed by the PHP configuration on error_reporting value

The files in the HTMLPurifier folder shown on the image belongs to 1.9.x (https://github.com/chamilo/chamilo-lms/tree/1.9.x/main/inc/lib/htmlpurifier/library/HTMLPurifier)

They have been removed on 1.10.x (https://github.com/chamilo/chamilo-lms/tree/1.10.x/main/inc/lib/htmlpurifier/library/HTMLPurifier) and the warnings are not shown

#2

Updated by Julio Montoya over 4 years ago

HTMLPurifier doesn't filter those values.
I'm commenting some code, so those warnings should not appear.

#3

Updated by Julio Montoya over 4 years ago

  • Status changed from New to Needs testing
#4

Updated by Yannick Warnier over 4 years ago

Isn't that going to remove the filtering for these fields? I guess not as they were never supported...

#5

Updated by Julio Montoya over 4 years ago

Yannick Warnier wrote:

Isn't that going to remove the filtering for these fields? I guess not as they were never supported...

I had the same doubt: this errors are showed because of this line:

$config->set('HTML.Allowed', $allowed_html_student);

So yes, they never were supported.
#6

Updated by Yannick Warnier over 4 years ago

  • Status changed from Needs testing to Bug resolved
  • Assignee set to Julio Montoya
  • % Done changed from 0 to 100

I didn't have the message for some time now, so I consider it closed.

Also available in: Atom PDF