I got an Page not found- Error after a fresh install of Typo3 Version 11.2.0 on a PHP-Version 7.4.
I renamed '.htaccess' and Typo3 V11.2.0 asked me to build a new one. I got a white site .
I set a hard link to 'index.php' via Terminal! (Soft linking is only allowed to directories, not to files) then I added the source-path segment in
call_user_func(function () {
$classLoader = require __DIR__.
in front of the ''/vendor/....." in line 23.
// Set up the application for the frontend
call_user_func(function () {
$classLoader = require __DIR__.'/typo3_src/vendor/autoload.php';
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});
I reached my (Sub-)Domain when I entered the URL directly in my browsers address line like: https.//www.myDomain.TLD/Subdomain/
(without index.php !) the Starting Page was shown.
Impossible to reach this by the 'Switch to frontend'-Button.
Unlike the behavior of the 'Switch to backend'-Button.
The Login appeared and a very short time later this message
'Page Not Found The page did not exist or was inaccessible. Reason:
The requested page does not exist '
was shown. I guess that means 'index.php' works as it looks like. But it can not reach the Frontend via index.php.
In the Environment Directory Status Test there appears this:
' / is not a directory Directory / should be a directory, but is of type link'.
(that was no problem in former Installations...and couldn't be fixed by the Typo3 Installation Instance )
Some procedure does not find parts of site configuration. What could that be?