?
avatar simbus82
simbus82
21 Nov 2017

Steps to reproduce the issue

Download Alpha2
Extract it in the root of your "webspace"
Start the installer
In the 3rd step, after entering site name and admin data, no databases was found.

Expected result

The dropdown with the label "Select the database type. *" show "MySQLi" or other DBs.
Joomla installation proceed.

Actual result

The dropdown with the label "Select the database type. *" show only "None".
Impossible to install Joomla.
awesomescreenshot-2017-11-21t15-27-09-094z

System information (as much as possible)

Apache 2.4
PHP 7
WHM/Cpanel environment
(hundreds of perfectly functioning Joomla 3.8.2 installations)
MariaDB 10.1 (the one that came with WHM/Cpanel)

Additional comments

New installer is very good, simply steps, less fields and distracting data. But in this case i think two things are needed: 1) a hint about the "error", 2) a button to "copy" system data for future support

avatar simbus82 simbus82 - open - 21 Nov 2017
avatar joomla-cms-bot joomla-cms-bot - change - 21 Nov 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Nov 2017
avatar simbus82 simbus82 - change - 21 Nov 2017
The description was changed
avatar simbus82 simbus82 - edited - 21 Nov 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Nov 2017
Category com_installer
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Nov 2017
Status New Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Nov 2017

duplicate of #18660?


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

avatar simbus82 simbus82 - change - 21 Nov 2017
The description was changed
avatar simbus82 simbus82 - edited - 21 Nov 2017
avatar simbus82
simbus82 - comment - 21 Nov 2017

For me is a little different, i'm trying on a "standard" online production server with WHM/Cpanel.

avatar mbabker
mbabker - comment - 21 Nov 2017

It's the same root cause. If your PHP build does not use mysqlnd right now the MySQLi driver is not an option. PDO on the other hand I haven't found a reason for people reporting that isn't an option but it is not restricted in any way.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Nov 2017

@mbabker should this Issue be closed?

avatar simbus82
simbus82 - comment - 21 Nov 2017

@mbabker uhm... my php build uses mysqlnd...

image

Any things to check?

avatar mbabker
mbabker - comment - 21 Nov 2017

About to leave the house, but going to ask the stupid questions just to make sure (because there is seriously no other valid explanation I can think of right now). Either the PDO extension (with MySQL support) or the MySQLi extension are enabled on the PHP version(s) you're testing on, right? https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php#L350 is the checks that must pass for MySQLi support (note the function_exists('mysqli_stmt_get_result') part is only true with mysqlnd enabled) and https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/vendor/joomla/database/src/Mysql/MysqlDriver.php#L209 for PDO MySQL.

avatar simbus82
simbus82 - comment - 21 Nov 2017

SOLVED!!!

Info from a Joomla 3.8.2 installed on same server, same PHP 7.0, same settings.

image

image

image

This from WHM

image

I think is all ok... right?

But then I tryed to see if the function "mysqli_stmt_get_result" exist with a simple if ... and the function does not exist! OMG!

Then i have switched PHP to 5.6, and now the function "exists".

So i have switched another time to PHP 7.0 and now function "exists" and i can install Joomla 4. YEAH!

I think I found a Cpanel/CloudLinux bug due to an upgrade of EasyApache 4 😅

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Nov 2017

@simbus82 can you please close this Issue?

avatar simbus82 simbus82 - change - 21 Nov 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-11-21 17:10:14
Closed_By simbus82
avatar simbus82 simbus82 - close - 21 Nov 2017
avatar simbus82
simbus82 - comment - 21 Nov 2017

Thanks to drive me to the solution @mbabker. And if this problem also occurs in many other installations?Checking the "mysqli_stmt_get_result" is mandatory?

avatar mbabker
mbabker - comment - 21 Nov 2017

Right now yes, because our prepared statement support uses that function and it is only available with mysqlnd. Still need to adjust the code to remove that requirement.

Add a Comment

Login with GitHub to post a comment