Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Should have
Category:
Extension Manager
Target version:
-
Start date:
2007-02-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

Updated by Michael Stucki almost 18 years ago

Never heard of this. Can anyone else reproduce it?
In any case it seems like a PHP problem since it worked before the upgrade...

Actions #2

Updated by M Lei over 17 years ago

I met this issue when I upgraded my PHP from 5.2.0 to 5.2.1. The reason was that there was a "

It worked after I corrected this.

It sounds like 5.2.0 ignored this issue, but 5.2.1 was doing the correct thing.

Actions #3

Updated by David Bruchmann over 17 years ago

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.

Actions #4

Updated by Michael Stucki over 17 years ago

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...

Actions #5

Updated by Michael Stucki over 17 years ago

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/.

Actions #6

Updated by David Bruchmann over 17 years ago

@ 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

Actions #7

Updated by Christian Kuhn over 15 years ago

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?)

Actions #8

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF