Bug #85842
closedFunctional frontend tests cannot be executed on some systems
100%
Description
This is due to the fact, that TYPO3 tries to resolve the path to the entry script in cli mode
by evaluating $_ENV['_'] first, then if this ist not set, $_SERVER['_'] is taken.
On systems where $_ENV['_'] isn't populated, this works, as the frontend test bootstrap populates $_SERVER['_'] with the correct value.
However there are some systems, where $_ENV['_'] is populated with the path to the PHP binary. In that case it fails
with the error message that TYPO3 is unable to determine path to entry script.
The main culprit though is, that in this scenario TYPO3 tries to determine paths based on a cli environment, while
in fact we emulate a frontend (HTTP server) environment.
Updated by Gerrit Code Review over 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57894
Updated by Helmut Hummel over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 720153a7a97f7e3ee5e5505396af5a51cfa0d5c1.