Bug #16975
closed
PHP 5.2.1: Extension Manager: Parse Error / Syntax Error
Added by Thomas Schneider almost 18 years ago.
Updated about 6 years ago.
Category:
Extension Manager
Description
PHP Parse error: syntax error, unexpected T_ELSEIF, expecting T_FUNCTION in typo3/mod/tools/em/class.em_index.php on line 3021
nach Update auf PHP 5.2.1
(issue imported from #M4969)
Never heard of this. Can anyone else reproduce it?
In any case it seems like a PHP problem since it worked before the upgrade...
I met this issue when I upgraded my PHP from 5.2.0 to 5.2.1. The reason was that there was a "", instead of "
It worked after I corrected this.
It sounds like 5.2.0 ignored this issue, but 5.2.1 was doing the correct thing.
Had a ressembling effect with t3lib_div.php.
In some line (converting danish signs) there is a single quote missing. (T3 V.4.02)
Also in t3lib_db there was a fault in a select-function which was only shown with a special Extension because most extensions seem to use other queries. (Both faults have remarked in a special distribution - yaml.de - and I didn't trie to find them also in the original distribution). The latter fault was caused by a forgotten test-output- don't know who put it there.
Seems I can reproduce this within my editor. There is no quote missing, but apparently you have UTF-8 enabled, and there it disappears when being displayed. After switching the editor to ISO8859-1 I can see the quote again. Appears strange to me, but at least it's not a bug...
In any way, this seems to have nothing to do with this bug report, does it?
@M. Lei: Where is this short opening tag? Does it come from an extension? I cannot find any in typo3/mod/tools/em/.
@ Michael:
In any way, this seems to have nothing to do with this bug report, does it?
I don't know if this behavior depends on any php-Version, but thank you for the hint with UTF-8 and ISO8859-1.
Since it's recommended in newer manuals and documents to let the system run under utf-8 perhaps there could be found any solution for this kind of incompatibility.
Best regards
David
Resolved, no change required:
- No feedback for a long time
- Probably either fixed or a old / system dependent php issue
- Unable to reproduce in my installations
- Not enough information (where is this short open tag?)
- Status changed from Resolved to Closed
Also available in: Atom
PDF