jDiction Forum
English => General Questions => Topic started by: pivovary 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
-
Which version are you using?
-
Sorry, i use last version Jdiction 2.2.2 and Joomla 3.9.13
-
you can try to switch the database driver to the xml driver.
-
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.
-
Can you please post the output of the check page?
-
On email you have urls and also login to backend.
-
can you replace the line at 54 in file libraries/jdiction/database/parser/processors/InsertProcessor.php
public function process($tokenList) {
with
public function process($tokenList, $token_category = 'INSERT') {
-
I update /libraries/jdiction/database/parser/processors/ReplaceProcessor.php in InsertProccessor on line 54 was another function but same problem.
-
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?
-
Sorry my fail.
After change file ReplaceProcessor.php i also change DuplicateProcessor.php on line 46
public function process($tokens) {
to
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.
-
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
-
Hi,
please you have any progress in full support for Joomla! 3.9.x and PHP 7.3?
-
It's on my todo list, sorry it takes so long.
-
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
-
Similar issue on my site.
Joomla Version 3.9.15
PHP Version 7.2.24
Database Version 5.5.5-10.2.25-MariaDB-log
Jdiction Library Version: 2.2.2
Jdiction check: jDiction Database Driver XML View is selected
On Global Configuration (Server) it says that the Database Type is Mysqli, even do I selected and saved Jdiction_mysqli_viewxml.
-
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
i resolved it :
please check the file inside joomla folder /administrator/manifests/libraries/
i just copied lib_jdiction.xml from package into the folder.
-
This is fixed in jdiction 2.2.3
-
Hi, after update jDiction to 2.2.3 database driver is selected but in Jdiction -> check still Library version 2.2.2 this is ok?
Test Result
Version
Library Version: 2.2.2
Joomla Version 3.9.21 is unkown.
And in Extension Manager i have two version lib_jdiction.
lib_jdiction
Site Library 2.2.2 March 2011 ITronic Harald Leithner N/A 10088 10411
lib_jdiction
Site Library 2.2.3 March 2011 ITronic Harald Leithner N/A 10088 10445
-
That's strange because all extension parts have the correct version number... You may try to uninstall the wrong version and reinstall the new one.
-
I tried unistall only both version lib_diction, and this attempt ended of total error on web.
I must copy data to /libraries/jdiction
Second uninstall, setup mysql driver to mysql, in manage all jdiction set to disabled and unnistall.
i installed version 2.2.2 and update to 2.2.3 and this is no problem. Are files for jdiction are version 2.2.3
So everything is ok. Thank you
Edit: I try update 3 webs and on all were problem with duplicity lib_jdiction.