Error on installation (setup)

More
22 May 2021 17:55 #3679 by info@digitalpunk.it
After entering DB information (correct ones) I got this:

Fatal error: Uncaught Error: Call to undefined function check_db_utf8_support() in XXX/include/install/resources/utils.php:138 Stack trace: #0 XXX/install/ConfirmConfig.php(50): Installation_Utils::checkDbConnection(XXX, false, 'true', '', '') #1 /XXX/install.php(41): include('/XXX/...') #2 {main} thrown in /XXX/install/resources/utils.php on line 138

Version 19 installed fine on the same server.

Please Log in to join the conversation.

More
22 May 2021 18:54 #3680 by info@digitalpunk.it
Set the var to true (after altering db via SQL) and it works.

Please Log in to join the conversation.

More
02 Jun 2021 14:16 #3684 by sam.marko2020@gmail.com
which var to change to true ? can you clarify ? and what needs to change in the db.
I fixed that by changing the function to a static function then used self::checkDbConnection function. I think this is a bug.

Please Log in to join the conversation.

More
15 Jun 2021 00:41 #3700 by yuliandiaz@gmail.com
Same issue here, don't understand what var needs to change.

Please Log in to join the conversation.

More
16 Jun 2021 04:08 #3704 by sam.marko2020@gmail.com
for the installation to succeed this step, change the line at include/install/resources/utils.php
to
$db_utf8_support = self::check_db_utf8_support($conn);

then change the function to be
static function check_db_utf8_support($conn)

this function check_db_utf8_support should be a static and called with self::
The following user(s) said Thank You: yuliandiaz@gmail.com

Please Log in to join the conversation.

Time to create page: 0.096 seconds