?
avatar zero-24
zero-24
10 Jun 2017

Steps to reproduce the issue

Try to install

Joomla_4.0.0-dev-Development-Full_Package.zip

Expected result

Joomla installs

Actual result

Error displaying the error page: Application Instantiation Error: No database selected

Additional comments

This https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/namespacemap.php#L143 requires a database connection which is not there at the installer time.

avatar zero-24 zero-24 - open - 10 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jun 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Jun 2017
avatar zero-24 zero-24 - change - 10 Jun 2017
The description was changed
avatar zero-24 zero-24 - edited - 10 Jun 2017
avatar zero-24 zero-24 - change - 10 Jun 2017
Labels Added: ?
avatar zero-24 zero-24 - labeled - 10 Jun 2017
avatar zero-24
zero-24 - comment - 10 Jun 2017

@yvesh @wilsonge you have created and edited that file and my can help out here.

avatar wilsonge
wilsonge - comment - 10 Jun 2017

OK - tell me how in the installer you can make a database connection when you haven't entered database credentials yet :)

Seriously tho it works fine for me. I think it's related to when your database credentials are the default credentials (i.e. it is root and empty password) and so the database can make a connection before it should actually be connected

avatar joomdonation
joomdonation - comment - 11 Jun 2017

@zero-24 For the time being, move this line https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/CMS/Application/CMSApplication.php#L144 to execute method, before this line https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/CMS/Application/CMSApplication.php#L321 to get it installed

@wilsonge We should fix it, please. I use XAMPP, default username is root and password is empty, I got this issue, too as reported before. Since it is default username and password of XAMPP, I think many users will get this same issue (at least when they try to install Joomla 4 on their local computer for testing)

avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Jun 2017
Category Installation
avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Jun 2017
Status New Discussion
avatar joeforjoomla
joeforjoomla - comment - 11 Jun 2017

You right @joomdonation i got the same issue trying to install Joomla 4 on my localhost

avatar zero-24
zero-24 - comment - 14 Jun 2017
avatar zero-24 zero-24 - change - 14 Jun 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-06-14 07:57:39
Closed_By zero-24
avatar zero-24 zero-24 - close - 14 Jun 2017
avatar zero-24 zero-24 - change - 14 Jun 2017
Labels Removed: ?
avatar zero-24 zero-24 - unlabeled - 14 Jun 2017

Add a Comment

Login with GitHub to post a comment