Bug #62391
TYPO3 4.5.37 requires PHP 5.3
Status: | Resolved | Start date: | 2014-10-22 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | - | Spent time: | - | |
Target version: | next-patchlevel | |||
TYPO3 Version: | 4.5 | Is Regression: | Yes | |
PHP Version: | 5.2 | Sprint Focus: | ||
Complexity: | no-brainer |
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
Associated revisions
[BUGFIX] Ensure PHP 5.2 compatibility in makeInstance
The backport #53682 introduced a regression with PHP 5.2,
which still is officially supported by TYPO3 CMS 4.5
Adapt the code to be PHP 5.2 compatible
Resolves: #62391
Releases: 4.5
Change-Id: Ie9d6c3175d02424e0d2329cc07ff99e09cccc040
Reviewed-on: http://review.typo3.org/33470
Reviewed-by: Christian Hernmarck <ch_t3@hernmarck.ch>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
[BUGFIX] Ensure PHP 5.2 compatibility in php-openid
The backport #62357 introduced a regression with PHP 5.2,
which still is officially supported by TYPO3 CMS 4.5
Adapt the code to be PHP 5.2 compatible
Resolves: #62391
Releases: 4.5
Change-Id: I72895592e10d963f2777c4659cc1f0a10e69a1c1
Reviewed-on: http://review.typo3.org/33737
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
History
#1 Updated by Markus Klein 10 months ago
- Status changed from New to Accepted
- Is Regression changed from No to Yes
#2 Updated by Mathias Schreiber 10 months 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
#3 Updated by Gerrit Code Review 10 months 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
#4 Updated by Markus Klein 10 months ago
- Status changed from Under Review to Accepted
- Priority changed from Should have to Must have
- Complexity set to no-brainer
#5 Updated by Gerrit Code Review 10 months 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
#6 Updated by Gerrit Code Review 10 months 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
#7 Updated by Helmut Hummel 10 months 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
#8 Updated by Christian Hernmarck 10 months ago
Patchset 2 or 3 (same..?) fixes the problem - I can login again :-)
Thx!
#9 Updated by Markus Klein 10 months ago
Please consider voting on Gerrit too. Thanks.
#10 Updated by Christian Hernmarck 10 months ago
not my daily job... but I think I succeded... :-)
#11 Updated by Oliver Hader 10 months 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
#12 Updated by Helmut Hummel 10 months ago
- Status changed from Needs Feedback to Resolved
- % Done changed from 0 to 100
Applied in changeset a62c19e595f2bead4c790e9ca56d30e25079e97f.
#13 Updated by Gerrit Code Review 9 months 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
#14 Updated by Gerrit Code Review 9 months 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
#15 Updated by Gerrit Code Review 9 months 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
#16 Updated by Michael Stucki 9 months ago
- Status changed from Under Review to Resolved
Applied in changeset 79ba88207e0361c3b496913855c33cc55f633547.