Project

General

Profile

Actions

Bug #42974

closed

Bootstrap not found

Added by Franz Holzinger about 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2012-11-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions #1

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?

Actions #2

Updated by Franz Holzinger about 12 years ago

TYPO3 6.0.0rc1

PHP_VERSION : 5.3.3-7+squeeze14

Actions #3

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');

Actions #4

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.

Actions #5

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.

Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF