Project

General

Profile

Actions

Bug #42557

closed

LocalConfiguration updaet wizard fails

Added by Christian Kuhn over 11 years ago. Updated over 11 years ago.

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

0%

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

Description

The update wizards converts localconf.php to LocalConfiguration.php

Within this process, LocalConfiguration.php should be freshly created:

typo3/sysext/install/Classes/CoreUpdates/LocalConfigurationUpdate.php:
// Write out new LocalConfiguration file
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Configuration\\ConfigurationManager')->writeLocalConfiguration($TYPO3_CONF_VARS);

writeLocalConfiguration() checks if the file exists with @is_file() and throws an exception if not ... so at this point, the ugrade wizard always throws exception #1346323822

One solution is to think about the file existance check in writeLocalConfiguration(), another one is to 'touch' an empty LocalConfiguration file in the wizard first. Furthermore the should show a better meaningful message if it fails (eg. the exceptions getMessage).


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #42271: Update LocalConfiguration fails (Install Tool: Upgrade Wizard)Closed2012-10-22

Actions
Actions #1

Updated by Christian Kuhn over 11 years ago

  • Status changed from New to Closed

dupe.

Actions

Also available in: Atom PDF