Details
-
Bug
-
Resolution: Fixed
-
High
-
5.0, 5.1, 5.2
-
None
Description
Reproducing the exact same steps in the setup wizard, once without a kickstart.ini file and once with, the one with the kickstart.ini file fails (placed in ezpublish_legacy).
The setup wizard seems to pick up the contents of the kickstart.ini file, but in the last step of the wizard (where the links to the frontend and backend are displayed) the following JS alert is given:
===
An error occurred while loading the web debug toolbar (500: Internal Server Error).
Do you want to open the profiler?
===
If I try to access the front- or backend URLs I'm redirected to /ezsetup with the same JS alert and the Symfony2 Exception:
===
Unable to connect to the database server 'localhost'
Error #1045: Access denied for user 'user'@'localhost' (using password: NO)
===
The contents of the kickstart.ini file is as follows (password removed for security reasons):
===
[email_settings]
Continue=true
Type=mta
[database_choice]
Continue=true
Type=mysqli
[database_init]
Continue=true
Server=localhost
Database=eirik_installezp5
User=eirik
Password=[REMOVED]
[site_details]
Database=eirik_installezp5
DatabaseAction=remove
[site_admin]
Continue=true
FirstName=Netmaking
LastName=Admin
Email=ezpadmin@netmaking.no
Password=[REMOVED]
[security]
Continue=true
[registration]
Continue=true
Send=false
===
It seems to me like the database connection details (perhaps among other things) are not properly added to the SF2 settings if they come from a kickstart.ini file.