VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: pivovary on April 09, 2018, 06:34:25 AM

Title: Jdiction_mysqli driver not supported
Post by: pivovary on April 09, 2018, 06:34:25 AM
Hi, i use in my page plugin JDiction with custom db driver Jdiction_mysqli still works ok, but now a cannot upgraded to version 3.2.14, installation returned warning To ensure seemless working with Virtuemart please use MySQLi as database type in Joomla configuration.

It's possible add db driver JDiction_mysqli to supported for installation? I can't unnistall this plugin, i have a lot of content in it.

Thank you
Title: Re: Jdiction_mysqli driver not supported
Post by: Jörgen on April 09, 2018, 07:02:31 AM
Hello
Maybe this could help:
https://forum.jdiction.org/index.php/topic,1226.0.html (https://forum.jdiction.org/index.php/topic,1226.0.html)

regards

Jörgen @ Kreativ Fotografi
Title: Re: Jdiction_mysqli driver not supported
Post by: pivovary on April 09, 2018, 07:28:32 AM
No, this is no solution for actual problem. If i click to update Virtuemart 3.2.14 return only warning To ensure seemless working with Virtuemart please use MySQLi as database type in Joomla configuration but upgrade will not be done.

And Jdiction extension for virtuemart were created to my request, Because with multilanguage support not returned correctly web address.
Title: Re: Jdiction_mysqli driver not supported
Post by: Jörgen on April 09, 2018, 07:54:39 AM
I thought the message was just a warning during update, it got introduced in VM 3.2.14 due to problems with PDO driver if I remember correctly, but You could try switching to mysqli during update and the switching back after update.

As I understand it jdiction is supposed to be "translate" content by switching database content and should not be needed during update, but backup first anyway.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Jdiction_mysqli driver not supported
Post by: pivovary on April 09, 2018, 08:06:31 AM
Maybe i try switch before update only to db driver Mysqli but this very no comfort if i have lot a content in Jdiction because more page were not available during update. Better will be added db driver Jdiction_mysqli to supported for installation.
Title: Re: Jdiction_mysqli driver not supported
Post by: Milbo on April 09, 2018, 09:44:28 AM
As Jörgen said, it was just meant as a warning. But I set a return false, so it stops the installation.

You can also easily modify the installer, just extract the zip, search for script.virtuemart.php in the BE files of the installer, folder "install". And there is in line 107 if ($type != 'mysqli' I just added the Jdiction driver now

if ($type != 'mysqli' and $type!= 'Jdiction_mysqli') {


So it should not be a problem with the next installation. You may verify it for us. Greetings. Ah yes, just zip the extracted directory and it is an installer again.
Title: Re: Jdiction_mysqli driver not supported
Post by: pivovary on April 09, 2018, 09:56:22 AM
Thank you, if i changed install script.virtuemart.php to
if ($type != 'mysqli' and $type != 'jdiction_mysqli') {

installation no problem
Title: Re: Jdiction_mysqli driver not supported
Post by: pivovary on April 12, 2018, 06:08:18 AM
And will be jdiction_mysqli added to next version or i will be must still edit install scirpt?