Bug #28255
closedWarning in log when displaying report
100%
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.
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change Ia5a4c332ef50785150b58e2e4d7deff0a9544e26 has been pushed to the review server.
It is available at http://review.typo3.org/3377
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change I24bee765b97074817cc2914f9d1ad174d656cf0e has been pushed to the review server.
It is available at http://review.typo3.org/3382
Updated by Stefan Neufeind about 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset commit:73570b348ff7a124faa7c717a996319e10230cf9.
Updated by Chris topher over 12 years ago
- Status changed from Resolved to Closed
Updated by Michael Stucki over 10 years ago
- Project changed from 1510 to TYPO3 Core
- Category changed from Linkvalidator to Linkvalidator