jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Pages: [1] 2

Author Topic: After update to Joomla 3.9.13 Jdiction not working  (Read 45377 times)

pivovary

  • Newbie
  • *
  • Posts: 16
    • View Profile
After update to Joomla 3.9.13 Jdiction not working
« on: November 18, 2019, 07:54:38 am »

Hi,
after update Joomla! to 3.9.13, Jdiction not working. I have all content, which one is translate on JDiction still in default language.

Update:
Maybe this is problem no Joomla! but PHP with PHP version 7.3.9 is fatal error, on PHP 7.1.32 work no problem.

PHP 7.3.9

Fatal error: Declaration of PHPSQLParser\processors\ReplaceProcessor::process($tokenList) must be compatible with PHPSQLParser\processors\InsertProcessor::process($tokenList, $token_category = 'INSERT') in /domains1/gh43424600/public/www_root/libraries/jdiction/database/parser/processors/ReplaceProcessor.php on line 52
« Last Edit: November 18, 2019, 08:18:04 am by pivovary »
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #1 on: November 18, 2019, 08:49:24 am »

Which version are you using?
Logged
Joomla! 5.0 Release Manager
Vote at JED

pivovary

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #2 on: November 18, 2019, 09:04:57 am »

Sorry, i use last version Jdiction 2.2.2 and Joomla 3.9.13
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #3 on: November 18, 2019, 09:09:44 am »

you can try to switch the database driver to the xml driver.
Logged
Joomla! 5.0 Release Manager
Vote at JED

pivovary

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #4 on: November 18, 2019, 09:14:22 am »

I see only Mysqli, Pdomysql and Jdiction_Mysqli and also is problem with select database driver.
I select Jdiction_mysqli but after save still is checked Mysqli but in cofiguration.php is jdiction_mysqli.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #5 on: November 18, 2019, 09:25:21 am »

Can you please post the output of the check page?
Logged
Joomla! 5.0 Release Manager
Vote at JED

pivovary

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #6 on: November 18, 2019, 09:37:05 am »

On email you have urls and also login to backend.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #7 on: November 18, 2019, 09:49:11 am »

can you replace the line at 54 in file libraries/jdiction/database/parser/processors/InsertProcessor.php
Code: [Select]
public function process($tokenList) {with
Code: [Select]
public function process($tokenList, $token_category = 'INSERT') {
Logged
Joomla! 5.0 Release Manager
Vote at JED

pivovary

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #8 on: November 18, 2019, 10:03:22 am »

I update /libraries/jdiction/database/parser/processors/ReplaceProcessor.php in InsertProccessor on line 54 was another function but same problem.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #9 on: November 18, 2019, 10:06:01 am »

are you sure you change the correct file?
libraries/jdiction/database/parser/processors/ReplaceProcessor.php

Because the error message on the site you mailed me still has the same error?
Logged
Joomla! 5.0 Release Manager
Vote at JED

pivovary

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #10 on: November 18, 2019, 10:18:10 am »

Sorry my fail.
After change file ReplaceProcessor.php i also change DuplicateProcessor.php on line 46
Code: [Select]
public function process($tokens) {to
Code: [Select]
public function process($tokens, $isUpdate = false) {
And fronted now maybe is ok, but on backend still in database driver show wrong driver even if jdiction selected and save.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #11 on: November 18, 2019, 10:21:26 am »

I have seen this on the backend, not sure why this happens... I have to check this, for now it's working for you (don't double safe the configuration)
you can see if the correct database driver is select at z/administrator/index.php?option=com_jdiction&view=check
Logged
Joomla! 5.0 Release Manager
Vote at JED

pivovary

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #12 on: January 31, 2020, 08:52:52 am »

Hi,
please you have any progress in full support for Joomla! 3.9.x and PHP 7.3?
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #13 on: January 31, 2020, 01:46:57 pm »

It's on my todo list, sorry it takes so long.
Logged
Joomla! 5.0 Release Manager
Vote at JED

twindaddy

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: After update to Joomla 3.9.13 Jdiction not working
« Reply #14 on: February 02, 2020, 11:12:06 am »

I have the same problem on 2-sites, no translation is made. Checker gives :
Version         Could not load lib_jdiction.xml File
Database        jDiction Database Driver is not selected

Before it all worked, any suggestion to get this solved?
I am ready to dontate if it gets solved, because i like this component, for easy translation
Logged
Pages: [1] 2