Bug #23127
closed
Accessing BE in fresh install fails with "No database selected"
Added by Steffen Gebert over 14 years ago.
Updated over 13 years ago.
Description
When you install a new instance of TYPO3 you
- are redirected to the 123-mode, when accessing FE website
- get an error "No database selected", when accessing BE
Later one should also redirect to the installer.
(issue imported from #M15042)
Files
The patch 15042_v1.patch fixes the problem in backend.
If database connection could not established and database is not selected, typo3 jumps automatically into Install Tool.
Wrote 15042_v2.patch with Steffen Gebert.
Database error will just shown, if database connection could not established and database string is defined. In 15042_v1.patch the message will shown a very short moment before redirect to Install Tool.
Wrote 15042_v3.patch after Helmut Hummels comment "is there a reason for doing a JavaScript redirect and not a http redirect at this point?".
If database host and database is not defined typo3 jumps automatically into 1-2-3 Install Tool. Those two values are essential for the database connection. If they are not defined, it should be a new typo3 website without installation.
15042_v3.patch works with a redirect now.
- Target version deleted (
4.5.0)
Also available in: Atom
PDF