Bug #70252
closedfunction module uses wrong path to language file
0%
Description
I have found a bug which happens on some websites. The function module uses the Reflection class to determine the path. However this fails because the path is determined as "/html/typo3/typo3conf/ext/tt_products/modfunc3/class.tx_ttproducts_modfunc3.php". This is wrong. The path should have been "/home/www/user123456789/html/typo3/typo3conf/ext/tt_products/modfunc3".
The path has already been given correctly as a parameter $conf in the init. However the wrong path is used. This leads to missing labels in all languages.
Files
Updated by Wouter Wolters over 8 years ago
- Status changed from New to Needs Feedback
IMO this can't happen. And if this happens the core throws an exception after checking if the path is a directory.
Also the dirname returns the directory correctly without filename.
Please provide more information how to reproduce this.
Updated by Alexander Opitz about 8 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.