Bug #85842

Functional frontend tests cannot be executed on some systems

Added by Helmut Hummel over 2 years ago. Updated over 2 years ago.

Should have
Target version:
Start date:
Due date:
% Done:


Estimated time:
TYPO3 Version:
PHP Version:
Is Regression:
Sprint Focus:


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 2 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 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF