Issue Bug Closed

#37946extension manager PHP warning on Windows

Tomasz Krawczyk 06/12/12, 09:04 updated 10/02/18, 12:17

Description

On my IIS I have such warnings when I click “Check for new updates”

PHP Warning:  filemtime(): stat failed for D:/(...)/typo3temp/extensions.xml.gz in D:\(...)\typo3_src\typo3\sysext\em\classes\index.php on line 2466

Line 2466 contains instruction:

filemtime(PATH_site . 'typo3temp/extensions.xml.gz')

So, in order to avoid such messages we need to add @ operator before the filemtime function.

@filemtime(PATH_site . 'typo3temp/extensions.xml.gz')

Reviews 2