Project

General

Profile

Actions

Bug #42271

closed

Update LocalConfiguration fails (Install Tool: Upgrade Wizard)

Added by Jana Golinowski over 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2012-10-22
Due date:
% Done:

100%

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

Description

Due to recent changes in typo3/sysext/core/Classes/Configuration/ConfigurationManager.php the Upgrade Wizard always fails when trying to migrate localconf.php to LocalConfiguration.php.

In typo3/sysext/install/Classes/CoreUpdates/LocalConfigurationUpdate.php (line 112) the new configuration shall be written like this:

\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Configuration\\ConfigurationManager')->writeLocalConfiguration($TYPO3_CONF_VARS);

But the ConfigurationManager never creates the configuration file. In typo3/sysext/core/Classes/Configuration/ConfigurationManager.php the method writeLocalConfiguration() checks if the that file exists and if it's writable:

if (!@is_file($localConfigurationFile) || !@is_writable($localConfigurationFile)) {
    throw new \RuntimeException($localConfigurationFile . ' does not exist or is not writable.', 1346323822);
}

When I try to perform an upgrade from 4.7 to 6.0 this new LocalConfiguration.php cannot exist. Without that file check the upgrade is fine.


Related issues 2 (0 open2 closed)

Has duplicate TYPO3 Core - Bug #42557: LocalConfiguration updaet wizard failsClosed2012-10-31

Actions
Blocked by TYPO3 Core - Bug #40415: make sure the LocalConfiguration.php is writable Closed2012-08-30

Actions
Actions

Also available in: Atom PDF