Author Topic: Jdiction_mysqli driver not supported  (Read 915 times)

pivovary

  • Beginner
  • *
  • Posts: 6
  • A beginner
Jdiction_mysqli driver not supported
« 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

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1655
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Jdiction_mysqli driver not supported
« Reply #1 on: April 09, 2018, 07:02:31 am »
Hello
Maybe this could help:
https://forum.jdiction.org/index.php/topic,1226.0.html

regards

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

pivovary

  • Beginner
  • *
  • Posts: 6
  • A beginner
Re: Jdiction_mysqli driver not supported
« Reply #2 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.

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1655
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Jdiction_mysqli driver not supported
« Reply #3 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
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

pivovary

  • Beginner
  • *
  • Posts: 6
  • A beginner
Re: Jdiction_mysqli driver not supported
« Reply #4 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.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9634
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Jdiction_mysqli driver not supported
« Reply #5 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
Code: [Select]
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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

pivovary

  • Beginner
  • *
  • Posts: 6
  • A beginner
Re: Jdiction_mysqli driver not supported
« Reply #6 on: April 09, 2018, 09:56:22 am »
Thank you, if i changed install script.virtuemart.php to
 
Code: [Select]
if ($type != 'mysqli' and $type != 'jdiction_mysqli') {
installation no problem

pivovary

  • Beginner
  • *
  • Posts: 6
  • A beginner
Re: Jdiction_mysqli driver not supported
« Reply #7 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?