Issue Bug Closed

#33282PHP error when fileadmin/templates contains directory not readeable

Ivan Tarozzi 01/18/12, 10:46 updated 11/04/13, 11:18

Description

If I have a directory in fileadmin/templates without execution (access)
permission, templavoila module return this error:

PHP Catchable Fatal Error: Argument 1 passed to
t3lib_div::getAllFilesAndFoldersInPath() must be an array, null given,
called in /usr/share/typo3/typo3_src-4.6.0/t3lib/class.t3lib_div.php on
line 3120 and defined in
/usr/share/typo3/typo3_src-4.6.0/t3lib/class.t3lib_div.php line 3110

It seems that the recursion in the related method in t3lib_div breaks with
the mentioned error if the access rights are not appropriate

Usually I load files in fileadmin with typo, so no problem. But if I create
directory directly on the server this error occours (eg. using git)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.