Bug #16973
closedrenaming of localconf.php.TMP.php to localconf.php did not work on Windows platform
0%
Description
This error should be fixed with version 4.0
(http://wiki.typo3.org/index.php/TYPO3_4.0_Changelog)
2006-02-01 Dmitry Dulepov <typo3@accio.lv>- Fix: renaming of localconf.php.TMP.php to localconf.php did not work on Windows platform
Every time i made any changes with the install tool it says:
" Writing to 'localconf.php':
No values were changed, so nothing is updated! "
A look at typo3_src\typo3conf shows that there is a file called localconf.php.TMP.php which contains the correct values.
This file gets not renamed to localconf.php
Tested with 4.0.4 and 4.1RC1
Windows XP
Apache/1.3.33 (Win32)
PHP/4.3.10
MySQL 4.1.9
(issue imported from #M4965)
Updated by Ansgar Brauner over 17 years ago
Got an Email from Michael Stucki at the Windows-Install list:
Seems like the file copy is not working then. Can you please do this:
- Open t3lib/class.t3lib_install.php and search for "Configuration written"
- Please remove the "@" before "unlink", "copy" above in this condition
- Some lines down, look for this line:
$this->messages[] = $msg;
and append this:
t3lib_div::debug($msg,'Message');
The shown error message is:
typo3conf/localconf.php could not be replaced by typo3conf/localconf.php.TMP.php - maybe a write access problem? |
There shouldn't be any write access problem. Apache is running as a user who has write access to the complete document root (with subdirs).
The install tool gives the following information about the permissions:
typo3temp/ writable
typo3temp/pics/ writable
typo3temp/temp/ writable
typo3temp/llxml/ writable
typo3temp/cs/ writable
typo3temp/GB/ writable
typo3conf/ writable
typo3conf/ext/ writable
typo3conf/l10n/ writable
typo3/ext/ writable
uploads/ writable
uploads/pics/ writable
uploads/media/ writable
uploads/tf/ writable
fileadmin/ writable
fileadmin/_temp_/ writable
Updated by Martin Kutschker over 17 years ago
Maybe some program holds a lock on the file? You could eg have opened the file in an editor.
Updated by Michael Stucki over 17 years ago
So can we assume it's a problem of your configuration, not TYPO3?
Updated by Ansgar Brauner over 17 years ago
I dont think that it is a Problem with my configuration. If i'm using the class.t3lib_install.php from the SVN Checkout Version 3-8-0rc1 everything works fine.
regards Ansgar
Updated by Martin Kutschker over 17 years ago
In 3.8 TYPO3 didn't write the changes into a temporay file.
I have been running TYPO3 on Windows XP, 2000 and 2003 without encountering this problem.
Updated by Ansgar Brauner over 17 years ago
In 3.8 TYPO3 didn't write the changes into a temporay file.
I have been running TYPO3 on Windows XP, 2000 and 2003 without encountering this problem.
Hi,
the localconf.php.TMP.php is written with the correct values.
if i'm using the t3lib/class.t3lib_install.php from 3.8 in the installed 4.1RC1 everything works fine.
So can we assume:
1. The localconf.php.TMP.php is writeable
2. The localconf.php is writeable to (The 3.8 install Class can write to that file)
I will take a look at the diff between those versions and will tell you if i find any problems
Updated by Christian Kuhn over 15 years ago
Resolved, unable to reproduce:
- Two years with no further feedback
- No one else seems to encounter and confirm this problem in recent versions, so this is probably an issue specific to your system environment
Please reopen if this is still reproducible on other (Win) systems.
Updated by Steffen Gebert over 13 years ago
- Status changed from Resolved to Needs Feedback
- Assignee deleted (
Michael Stucki) - Target version deleted (
0) - PHP Version deleted (
4)
Updated by Anonymous over 13 years ago
Win Serv. 2003 R2 Ent SP2 x32 German
IIS6
PHP 5.2.8 - ISAPI - Thread Save
MySQL 5.1.31
Typo3 4.5.2
Free Disk Space 36.5 GB
I have the same problem: renaming of localconf.php.TMP.php to localconf.php did not work on Windows platform
I inserted -> t3lib_div::debug($msg,'Message'); in line 416 of class.t3lib_install.php
and I got this debug message:
typo3conf/localconf.php.TMP.php was NOT written properly (written content didn't match file content) - maybe a disk space problem?
Best regards
Axel Arnold Bangert - Herzogenrath 2011
_____________________________________________
P.S.:
On the same system below Apache Typo3 4.5.2 is working fine.
Win Serv. 2003 R2 Ent SP2 x32 German
Apache 2.0.64
PHP 5.3.5 - ISAPI - Thread Save
MySQL 5.1.54
Typo3 4.5.2
Free Disk Space 36.5 GB
Updated by Wouter Wolters over 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for more then 2 years. This works with 4.5 on multiple systems at my working place.