Bug #42974
closedBootstrap not found
0%
Description
After an update from TYPO3 4.7 to 6.0 the FE ends up in an error message:
PHP Fatal error: Class 'TYPO3\\CMS\\Core\\Core\\Bootstrap' not found in /var/www/mydomain/web/typo3_src-6.0.0rc1/typo3/sysext/cms/tslib/index_ts.php on line 45
Updated by Patrick Broens about 12 years ago
- Category set to Frontend
- Status changed from New to Needs Feedback
Can you specify which version 6 you are using, and which PHP version?
Updated by Franz Holzinger about 12 years ago
TYPO3 6.0.0rc1
PHP_VERSION : 5.3.3-7+squeeze14
Updated by Christian Kuhn about 12 years ago
I guess, this is because the index.php file in the document root is not a link to typo3_src/index.php and therefore contains "old" code ... that is the only plausible reason for this error.
@Franz Koch: Please take care, that your main index.php in the document root is up to date. OTOH: If you run on windows, it might also be true that the 'not linked' packages for windows systems still deliver an old index.php by default.
@Franz Koch: Your document root index.php file should contain the code below. If this is not the case, and if you did a fresh full package install, could you please specify which package you downloaded?
require 'typo3/sysext/core/Classes/Core/Bootstrap.php';
\TYPO3\CMS\Core\Core\Bootstrap::getInstance()->baseSetup('');
require(PATH_tslib . 'index_ts.php');
Updated by Franz Holzinger about 12 years ago
Yes, indeed I had to remove the file index.php and create a symbolic link. This has survived many TYPO3 updates without any problems.
$ mv index.php index.php.bak
$ ln -s typo3_src/index.php
This case is fixed now.
Updated by Christian Kuhn about 12 years ago
- Status changed from Needs Feedback to Resolved
Resolved, thanks for feedback! I think there is already some hint about that in NEWS.txt, but i'll check that again.