Project

General

Profile

Actions

Bug #25229

closed

localconf.php gets set to 0 (empty) when permissions are set wrong and do changes in em

Added by Andreas Becker (Andi) over 13 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-03-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi

It seems that in 4.5.2 a localconf.php gets set to 0 - complete empty, when you are deleting or installing an extension from extension manager and the permissions of typo3conf are wrong. We were able to recreate this issue if the permissions are i.e. user:root and 777 if they are user:user. The agency who called us had a site were the localconf had no content at all and the install tool was called after inserting ENABLE_INSTALL_TOOL.

It seems that typo3 is deleting the complete file and replacing it with a 0 file without making a copy of localconf.php.

IMHO it would actuially be good to have some routine which always produces at least one copy of the localconf.php if a value in localconf.php gets changed. This would help to switch back much easier.

Does someone else has experrienced also this behaviour?

(issue imported from #M17832)

Actions

Also available in: Atom PDF