Actions
Bug #14926
closedWarning: preg_match(): Unknown modifier 'C' ...
Start date:
2005-08-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If I load an extension into the extension manager view I get quite a lot
messages like this:
Warning: preg_match(): Unknown modifier 'C' in H:\webroot\interports\code\php\typo3\mod\tools\em\index.php on line 2708
which results in a lot error messages like this
Couldn't find the include_once statement for XCLASS!
Problem seems to be that the above mentioned preg_match has no delimiter set, I set mine to "$" and quoted $cmpF just to ensure that it won't contain unescaped "$". The whole line 2708 now looks like this:
if (preg_match('$_once[[:space:]]*\(\$TYPO3_CONF_VARS\[TYPO3_MODE\]\[[\'"]XCLASS[\'"]\]\[[\'"]'.preg_quote($cmpF).'[\'"]\]\);$', $XclassParts1)) {
(issue imported from #M1375)
Updated by Karsten Dambekalns about 19 years ago
Has been fixed by Ingmar today for CVS HEAD
Actions