Project

General

Profile

Actions

Bug #16325

closed

Typo 3 4.0 and PHP5 issue?

Added by Frederik Wallner almost 18 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-07-06
Due date:
% Done:

0%

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

Description

Hi all again!

I get a lot of Parse errors in Typo3 Backend.
It seems like the code isn't compatible with PHP5 that's more strict.
I'm trying to fix these myself but It's hard to find all errors (wich often is an extra comma somewhere)

Is there a compatible version coming soon?
I don't whant to change back to PHP4...

(issue imported from #M3801)

Actions #1

Updated by Andreas Wolf almost 18 years ago

Perhaps it would help to get some error messages and your php.ini (at least those parts which are different from the original .ini distributed with PHP). I have PHP 5.1.4 running without any problems, and recently I just had a 5.0.x running with TYPO3 4.0.

Actions #2

Updated by Frederik Wallner almost 18 years ago

Hello again!

I can't show you my php.ini file it's on a web hotel...
However, recently some modules started working (weird) still, there's some that don't work...

Access Module:
Parse error: syntax error, unexpected $end in
typo3/typo3/mod/web/perm/index.php on line 724

Filelist:
Parse error: syntax error, unexpected $end in typo3/t3lib/class.t3lib_foldertree.php on line 338

Actions #3

Updated by Frederik Wallner almost 18 years ago

More errors...

User Admin:
Parse error: syntax error, unexpected $end in typo3/t3lib/class.t3lib_foldertree.php on line 338

Element Browser
Parse error: syntax error, unexpected $end in typo3/t3lib/class.t3lib_foldertree.php on line 338

Actions #4

Updated by Frederik Wallner almost 18 years ago

Ok, this may seem VERY weird.
I opened the typo3/t3lib/class.t3lib_foldertree.php file and read the code.
I was just about to close the file (I didn't find any errors) when I saw an extra space in the class declaration. I thought "Well hey, this couldn't hurt" and removed the extra space and uploaded the file to my server.

This is the weird part: It worked!
All the modules that had the "Parse error: syntax error, unexpected $end in typo3/t3lib/class.t3lib_foldertree.php on line 338" error works fine now!

The lined that I changed:
Before: "class t3lib_folderTree extends t3lib_treeView {"
After: "class t3lib_folderTree extends t3lib_treeView {"

(The extra space was located between "t3lib_treeView" and "{")

I'm confused...

Actions #5

Updated by Christian Kuhn over 15 years ago

I am not sure about what to do with this one:

- Relates to a quite old t3 version
- The whitespace shouldn't do any harm, its probably an error in an optimizer or something like that
- There is in fact a double whitespace in the class declaration, but it would be really embarrassing to fix this, only valid reason could be CGL, but that is extreme nitpicking.

I would say: Don't waste anybody elses time any longer, set bug to resolved, no change required.

Actions #6

Updated by Chris topher over 15 years ago

I agree:

  • With the information given we were not able to reproduce thgis for more than 2 years and I think we won't be in the future.
  • No response from the original poster for more than 2 years
  • This version of TYPO3 has really reached its "end of life"
Actions #7

Updated by Christian Kuhn over 15 years ago

Reasons to close: See above.

Actions #8

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF