Issue Bug Closed

#25020Red question marks in QuickEdit instead of icons.

comtelsoft 02/13/11, 12:50 updated 02/26/11, 01:11

Description

TCEForms->getIconHTML() is_file fails (line 4159), when checking for a static image file from db_layout.php (Quickview).

PATH_typo3 . $iconArray0 is somthing like that:

/some/path/to/typo3/../../../sysext/t3skin/icons/gfx/i/tt_content_uploads.gif

Now t3lib_div::resolveBackPath clears it to /some/sysext/t3skin/icons/gfx/i/tt_content_uploads.gif but this path doesn’t exist.

A solution for me now could be the following, but I am not sure if it has no sideeffects.

- if (is_file(t3lib_div::resolveBackPath(PATH_typo3 . $iconArray0))) {
+ if (is_file(t3lib_div::resolveBackPath(PATH_typo3 .$GLOBALS[‘temp_modPath’]. $iconArray0))) {
(issue imported from #M17564)

Reviews 0

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