Project

General

Profile

Actions

Bug #28255

closed

Warning in log when displaying report

Added by Daniel Minder over 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Linkvalidator
Target version:
Start date:
2011-07-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When displaying the report the TYPO3 log is filled with warnings like:
Core: Error handler (BE): PHP Warning: filesize(): stat failed for /var/www/conet/htdocs/typo3/atibility.js in /var/www/conet/htdocs/typo3_src-4.5.2/t3lib/class.t3lib_compressor.php line 341

I described this earlier in #25303 but assumed that this is an error in the template class. Investigating this again, I found out that it's actually an error in linkvalidator.

modfuncreport/class.tx_linkvalidator_modfuncreport.php creates a template object in line 295. In the next line, setModuleTemplate is called which internally adds the js/iecompatiblity.js to the renderer. To do this properly, it needs the backPath. BUT the backPath of the template object is set only one line later.

So, the solution is to swap lines 296 and 297, thus setting the backPath immediately after the creating of the template object.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #25303: js/iecompatibility.js inclusion triggers compressor bugClosed2011-03-10

Actions
Actions

Also available in: Atom PDF