? ? ? Success

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
26 Jul 2017

Pull Request for Issue #17246

Summary of Changes

I have just added a extra code that sets a session state when all checks passed. When this is set no thing is displayed.

For some reason that i did not come behind until now the installer did not run when there is any kind of message displayed.

Testing Instructions

try to install with a remote database
Zip package: https://github.com/zero-24/joomla-cms/archive/fixinstaller.zip

Expected result

works

Actual result

hangs at the installstep

Documentation Changes Required

This page should be updated with texts how to fix the 3.7.4 issue until this fix is delivered. https://docs.joomla.org/Special:MyLanguage/J3.x:Secured_procedure_for_installing_Joomla_with_a_remote_database

avatar joomla-cms-bot joomla-cms-bot - change - 26 Jul 2017
Category Installation
avatar zero-24 zero-24 - open - 26 Jul 2017
avatar zero-24 zero-24 - change - 26 Jul 2017
Status New Pending
avatar zero-24 zero-24 - change - 26 Jul 2017
Labels Added: ?
avatar zero-24 zero-24 - change - 27 Jul 2017
The description was changed
avatar zero-24 zero-24 - edited - 27 Jul 2017
avatar AlexRed
AlexRed - comment - 27 Jul 2017

Test ok for me on remote database with the fixinstaller.zip Joomla 3.8 version.

But after delete the txt file and press "next" in the installation procedure I can see again the message:

Warning
You are trying to use a database host which is not on your local server. For security reasons, you need to verify the ownership of your web hosting account. Please read the documentation for more information.

warning-fix

Better a "confirmation message" or nothing like if I try again with the same browser, no more checks.

avatar zero-24
zero-24 - comment - 27 Jul 2017

Yes because this is the message we displayed on the other sceen.
If you hit install the message is gone.

But i have something in mind that may can help here when i'm back to my PC later i can take a look if that works too.

Thanks.

avatar Song2017
Song2017 - comment - 28 Jul 2017

It seems that host like 127.0.0.1:49858 is not regarded as local database.
After delete verify file, it hangs on creating configuration File during Installing, then Got this

The most recent request was denied because it contained an invalid security token. 
Please refresh the page and try again.
avatar zero-24
zero-24 - comment - 28 Jul 2017

There is a dedicated PR for the ports thing: #17251

avatar zero-24
zero-24 - comment - 28 Jul 2017

@AlexRed please test again. Sorry that it took longer than expected..

avatar wilsonge
wilsonge - comment - 31 Jul 2017

@zero-24 can you look at conflicts please?

avatar zero-24 zero-24 - change - 31 Jul 2017
Labels Added: ?
avatar zero-24
zero-24 - comment - 31 Jul 2017

fixed @wilsonge

avatar AlexRed AlexRed - test_item - 2 Aug 2017 - Tested successfully
avatar AlexRed
AlexRed - comment - 2 Aug 2017

I have tested this item successfully on 3fe3e3f

Patch ok for me


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17248.

avatar e-struct
e-struct - comment - 2 Aug 2017

Patch worked for me too.

avatar franz-wohlkoenig franz-wohlkoenig - alter_testresult - 2 Aug 2017 - e-struct: Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Aug 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Aug 2017

RTC after two successful tests.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Aug 2017

@e-struct i altered your Test as successfully at Issue Tracker. thanks for Test.

avatar mbabker mbabker - change - 2 Aug 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-08-02 16:07:58
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 2 Aug 2017
avatar mbabker mbabker - merge - 2 Aug 2017
avatar zero-24
zero-24 - comment - 2 Aug 2017

Thanks!

avatar BenMitnicK
BenMitnicK - comment - 8 Aug 2017

not ok for me with 1&1 database impossible to move in next step I blocked on database I must replace this

if (!in_array($options->db_host, $localhost)) to if(false) for installing joomla 3.7.4

avatar wojsmol
wojsmol - comment - 8 Aug 2017
avatar zero-24 zero-24 - change - 14 Aug 2017
Title
fix not installing on remote databases
Joomla is not installing on remote databases
avatar zero-24 zero-24 - edited - 14 Aug 2017
avatar clx81
clx81 - comment - 17 Aug 2017

OK, now installation with a localhost is accepted but after the database are filled with tables, the installation come back to the overview, the configuration file is not created !

avatar zero-24
zero-24 - comment - 17 Aug 2017

@clx81 please open a new issue containing all details what you did and what happend after that so we can try to reproduce and fix the bug. Commenting on closed / merged issues get lost very fast. Thanks for understanding.

avatar bettelli
bettelli - comment - 18 Aug 2017

hi, can anybody upload the fix, its down https://github.com/zero-24/joomla-cms/archive/fixinstaller.zip 404 not found Thanks

avatar wojsmol
wojsmol - comment - 18 Aug 2017

@bettelli This fix is included in Joomla 3.7.5.

avatar bettelli
bettelli - comment - 18 Aug 2017

thanks for the info but i delete the line in database.php and works, i installed from a yootheme template.

avatar zero-24
zero-24 - comment - 18 Aug 2017

I'm going to lock this issue now. On any questions please open a new issue . Which describes the problem so we can investigate that.

Thanks for understanding.

Add a Comment

Login with GitHub to post a comment