Project

General

Profile

Actions

Bug #62391

closed

TYPO3 4.5.37 requires PHP 5.3

Added by Christian Hernmarck about 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2014-10-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
no-brainer
Is Regression:
Yes
Sprint Focus:

Description

With PHP 5.2.6:

[22-Oct-2014 11:30:21] PHP Fatal error: func_get_args(): Can't be used as a function parameter in
..../typo3/typo3_src-4.5.37/t3lib/class.t3lib_div.php on line 5432

http://php.net/manual/en/function.func-get-arg.php:
Version Description
5.3.0 This function can now be used in parameter lists.

So - even if PHP 5.2 is deprecated, on the TYPO3-Download page it says TYPO3 4.5 runs with PHP 5.2 - but the update from today does not.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #53682: Exception '$toolbarItem "shortcuts" must implement interface ...\ToolbarItemHookInterface'Closed2013-11-15

Actions
Has duplicate TYPO3 Core - Bug #62409: TYPO3 4.5.37 not compatible with PHP 5.2.xClosed2014-10-22

Actions
Actions #1

Updated by Markus Klein about 10 years ago

  • Status changed from New to Accepted
  • Is Regression changed from No to Yes
Actions #2

Updated by Mathias Schreiber about 10 years ago

Hi Christian,

you are absolutely right about this one.
I'm sorry a backport slipped through and broke 5.2 compatibility.
We are working on a solution right now.

Thank you for reporting the issue on such short notice.

Cheers
Mathias

Actions #3

Updated by Gerrit Code Review about 10 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch TYPO3_4-5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33470

Actions #4

Updated by Markus Klein about 10 years ago

  • Status changed from Under Review to Accepted
  • Priority changed from Should have to Must have
  • Complexity set to no-brainer
Actions #5

Updated by Gerrit Code Review about 10 years ago

  • Status changed from Accepted to Under Review

Patch set 2 for branch TYPO3_4-5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33470

Actions #6

Updated by Gerrit Code Review about 10 years ago

Patch set 3 for branch TYPO3_4-5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33470

Actions #7

Updated by Helmut Hummel about 10 years ago

  • Status changed from Under Review to Needs Feedback

Christian Hernmarck wrote:

So - even if PHP 5.2 is deprecated, on the TYPO3-Download page it says TYPO3 4.5 runs with PHP 5.2 - but the update from today does not.

Can you please test if https://review.typo3.org/#/c/33470/ resolves your issue with PHP 5.2? It works for me with PHP 5.2.17

Actions #8

Updated by Christian Hernmarck about 10 years ago

Patchset 2 or 3 (same..?) fixes the problem - I can login again :-)

Thx!

Actions #9

Updated by Markus Klein about 10 years ago

Please consider voting on Gerrit too. Thanks.

Actions #10

Updated by Christian Hernmarck about 10 years ago

not my daily job... but I think I succeded... :-)

Actions #11

Updated by Oliver Hader about 10 years ago

Thanks for reporting. Unfortunately the automated tests did not catch this behavior as well.

Travis was running (actually it was not running) but did not trigger an error warning:
https://travis-ci.org/TYPO3/TYPO3.CMS/builds/37984429

Actions #12

Updated by Helmut Hummel about 10 years ago

  • Status changed from Needs Feedback to Resolved
  • % Done changed from 0 to 100
Actions #13

Updated by Gerrit Code Review about 10 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33737

Actions #14

Updated by Gerrit Code Review about 10 years ago

Patch set 2 for branch TYPO3_4-5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33737

Actions #15

Updated by Gerrit Code Review about 10 years ago

Patch set 3 for branch TYPO3_4-5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33737

Actions #16

Updated by Michael Stucki about 10 years ago

  • Status changed from Under Review to Resolved
Actions #17

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF