Project

General

Profile

Actions

Bug #20215

closed

Install Tool do not store DB Username, Password and Host into localconf.php

Added by Martin over 15 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Install Tool
Target version:
-
Start date:
2009-03-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I want to install typo3 by the install tool.
On 123 mode i type in username "root", password "xyz" and host "localhost" und press continue.
On next screen an error occur:
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /opt/lampp/htdocs/t3v426/t3lib/class.t3lib_db.php on line 988

There is no connection to the database!
(Username: , Password: , Host: ).

I thing these Extension have to write the credatials into localconf.php and on t3lib/config_default.php reread from localconf.php.

The constants TYPO3_db_username, TYPO3_db_password ... in typo3/sysext/install/mod/class.tx_install.php are NULL.

If i wriite the credentials themself into localhost.php zje credentials are shown on 123 install page.

Have anyone a solution?

(issue imported from #M10736)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #16973: renaming of localconf.php.TMP.php to localconf.php did not work on Windows platformClosed2007-02-11

Actions
Actions #1

Updated by Oliver Hader over 15 years ago

Please check whether the localconf.php file and/or the directory typo3conf is writable for webserver's system user.
The install tool should print out warnings about that...

Actions #2

Updated by Martin over 15 years ago

OK i found the problem.
The localconf.php file is writeable for anyone and no error message occur but the "localconf.php.TMP.php" file could not be written in typo3conf.
It appears no Message about localconf.php.TMP.php file.

If i give typo3conf folder is writeable for other the localconf.php.TMP.php could be created and the data is stored perfectly.

I think it is not a bug of typo3 thus ticket could be closed.

Actions #3

Updated by Martin over 15 years ago

A other fix is to create a file "localconf.php.TMP.php and chmod them writeable ;-)

Actions #4

Updated by Benni Mack almost 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF