Project

General

Profile

Actions

Bug #33282

closed

PHP error when fileadmin/templates contains directory not readeable

Added by Ivan Tarozzi almost 13 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2012-01-18
Due date:
% Done:

0%

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

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)


Files

getfilesandfolders.PNG (93.9 KB) getfilesandfolders.PNG debug stacktrace Viktor Livakivskyi, 2012-10-18 16:15
Actions

Also available in: Atom PDF