jDiction Forum

English => General Questions => Topic started by: ese105 on August 24, 2021, 09:03:55 am

Title: Jdiction support for Joomla 4 and php 8
Post by: ese105 on August 24, 2021, 09:03:55 am
Hi..

Any update jdiction to support Joomla 4 and php 8.

Thank you developer
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on August 24, 2021, 02:32:15 pm
Hi,

J4 support is on it's way... since I was to much invloved I hadn't the time to update my own extensions....

I will let you know when it's ready.

thx for asking
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on November 02, 2021, 08:50:29 am
Hi,

I have a first preview version for joomla 4 attached to this post. Please test and give feedback if you can.

thanks

PS: the import and export screens are not finished yet
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: ese105 on December 05, 2021, 02:30:37 am
Thank you very much.. i will test with joomla 4.0.3 php 7.4
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on December 05, 2021, 10:06:31 am
I have already a new internal version. I will send you the link per PN if you like
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: pivovary on April 17, 2023, 07:55:19 am
Hi,

do you have any update jdiction to support Joomla 4 and php 8?
End of support for Joomla 3 is approaching.
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on April 17, 2023, 08:20:52 am
Yes, I have a version which isn't public yet. I will send you an email.
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: frenk666 on June 19, 2023, 10:43:26 am
Hi all,
there are some news about JDiction for Joomla! 4?
Thanks in advance  :D
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on June 19, 2023, 11:10:35 am
Hi,

I have already a beta in use on multiple installations, I can send you a copy.

Harald
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: frenk666 on June 19, 2023, 11:33:20 am
Yes! Thanks so much.

Is that one attached in "November 02, 2021, 08:50:29 am" post or one another?
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on June 19, 2023, 11:40:51 am
I attached the package
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: frenk666 on June 19, 2023, 11:49:48 am
Thank you!  :)
Title: Re: Jdiction support for Joomla 4 and php 7.4.9
Post by: smooky132 on August 08, 2023, 07:31:11 pm
Hi Harald
Did you have a version compatible with joomla 4.3.3 and PHP 7.4.9

Thanks and Regards
Denis
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on August 08, 2023, 08:27:26 pm
Yes but I'm in vacation so can't send it before next week.
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 08, 2023, 08:56:38 pm
I can wait until next week no problem ;)
Have a nice time
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on August 14, 2023, 11:00:30 am
Attached is the current j4 version I have, I plan to change how jdiction (and other extensions) are distributed in the future, that's also a reason why no offical relase is done yet.
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 14, 2023, 04:37:53 pm
Hi Harald,

I tried this new package but it does'nt work for me.
My local configuration is as fallow:
 xampp-windows-x64-8.2.4-0-VS16
 Joomla_4.3.3-Stable-Full_Package
I got the error: Class "jDiction" not found
Global Configuration / Server / Database Type -> no "JDicition MySQLi"

Best Regards
Denis

Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on August 14, 2023, 04:49:58 pm
did you activated the plugin first?
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 14, 2023, 10:23:06 pm
Hello Harald

Yes, I did.

I worked hard to migrate my website to Joomla 4 and PHP 8. Searching all over the net I found two interesting links:
https://docs.joomla.org/Potential_backward_compatibility_issues_in_Joomla_4
https://joomla.digital-peak.com/images/blog/JWC17_Prepare_you_extension_for_Joomla_4.pdf
I've analyzed the template I'm using and corrected all the namespaces like Jfactory, JUri and many others until it works (dbo connect shouldn't be forgotten).
May I suggest you do the same please.

I'm not a developer but I think this is the best way to ensure compatibility.

With all my respect for your work
Best Regards
Denis


Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on August 15, 2023, 08:28:22 am
Hi Denis,

thanks for the info, I'm pretty aware of how to upgrade to joomla 4 and 5, since I'm Joomla CMS Maintainer and Release Manager for Joomla 5.0.

I have this version of jdiction running on several Websites with j4.3.3 and php 8.1 so I'm pretty sure it should works.

Can you go to the check page of diction /administrator/index.php?option=com_jdiction&view=check and paste a screenshot?

thanks
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 15, 2023, 09:15:21 am
Hi Harald,

Sorry, I didn't mean to offend you in any way.

I do not see the Administration in JDiction.

The check give some messages:
Plugin       Joomla Languagefilter Plugin is enabled
                There are 2 plugins having the same loading postion as the Joomla Languagefilter Plugin.
                JDiction Plugin is enabled.
Database   jDiction Database Driver is not selected
Language   Translations are not equal to frontend translations.

Did you have a list of plugins to be loaded or to be excluded before installation?


Best Regards
Denis
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on August 15, 2023, 09:41:04 am
Resort your system plugin so jdiction is loaded directly after the joomla native languagefilter plugin and the languagefilter plugin have to be the first.
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 15, 2023, 10:57:17 am
I try it but.. ?

There are 1 plugins having the same loading postion as the Joomla Languagefilter

In attachement the ordering, check and multi language status print screen.


Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 15, 2023, 11:19:00 am
Translation is active I get one message for every languages:

Warning: file_put_contents(/tmp/sql.log): Failed to open stream: No such file or directory in Warning: file_put_contents(/tmp/sql.log): Failed to open stream: No such file or directory in C:\xampp\htdocs\montmartel_dev_j4\libraries\vendor\joomla\database\src\Jdictionmysqli\JdictionmysqliDriver.php on line 350

Warning: file_put_contents(/tmp/sql.log): Failed to open stream: No such file or directory in C:\xampp\htdocs\montmartel_dev_j4\libraries\vendor\joomla\database\src\Jdictionmysqli\JdictionmysqliDriver.php on line 350

Warning: file_put_contents(/tmp/sql.log): Failed to open stream: No such file or directory in C:\xampp\htdocs\montmartel_dev_j4\libraries\vendor\joomla\database\src\Jdictionmysqli\JdictionmysqliDriver.php on line 350

Warning: file_put_contents(/tmp/sql.log): Failed to open stream: No such file or directory in C:\xampp\htdocs\montmartel_dev_j4\libraries\vendor\joomla\database\src\Jdictionmysqli\JdictionmysqliDriver.php on line 350

Warning: file_put_contents(/tmp/sql.log): Failed to open stream: No such file or directory in C:\xampp\htdocs\montmartel_dev_j4\libraries\vendor\joomla\database\src\Jdictionmysqli\JdictionmysqliDriver.php on line 350
HOMEMIETE


Warning: file_put_contents(/tmp/sql.log): Failed to open stream: No such file or directory in C:\xampp\htdocs\montmartel_dev_j4\libraries\vendor\joomla\database\src\Jdictionmysqli\JdictionmysqliDriver.php on line 350

Warning: file_put_contents(/tmp/sql.log): Failed to open stream: No such file or directory in C:\xampp\htdocs\montmartel_dev_j4\libraries\vendor\joomla\database\src\Jdictionmysqli\JdictionmysqliDriver.php on line 350

Warning: file_put_contents(/tmp/sql.log): Failed to open stream: No such file or directory in C:\xampp\htdocs\montmartel_dev_j4\libraries\vendor\joomla\database\src\Jdictionmysqli\JdictionmysqliDriver.php on line 350

Warning: file_put_contents(/tmp/sql.log): Failed to open stream: No such file or directory in C:\xampp\htdocs\montmartel_dev_j4\libraries\vendor\joomla\database\src\Jdictionmysqli\JdictionmysqliDriver.php on line 350

Warning: file_put_contents(/tmp/sql.log): Failed to open stream: No such file or directory in C:\xampp\htdocs\montmartel_dev_j4\libraries\vendor\joomla\database\src\Jdictionmysqli\JdictionmysqliDriver.php on line 350

Warning: file_put_contents(/tmp/sql.log): Failed to open stream: No such file or directory in C:\xampp\htdocs\montmartel_dev_j4\libraries\vendor\joomla\database\src\Jdictionmysqli\JdictionmysqliDriver.php on line 350


Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on August 15, 2023, 11:21:05 am
do you have debugging active?

it seems as the database driver logs the sql queries to the log file which is hardcoded and not for windows pathes...

but the database driver works now right?
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on August 15, 2023, 11:25:22 am
I found the debug code which shouldn't be in this package I removed it in the attached version.

Hopefully this solves it for you.
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 15, 2023, 11:44:48 am
I reloaded the package.
No message at all appear.
Yes the database driver is running.
I need to translate all modules...

What about the multilangual status and plugin position?
Could I ignore them?

I will coming back if I have a problem

Thanks for all
Denis
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on August 15, 2023, 12:29:15 pm
Yes you can ignore them. The Multilangual status is for joomla core only. Jdiction supports the core multilanguage but doesn't needs it.
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 15, 2023, 04:09:31 pm
OK Thanks.

I have two effects:

The first one: all menu in the administration have two starts ** before the name and two stars ** after
                    exemple: **Login** , **System** aswell on the browser tab **Administration panel**

The second one: error 404 for all language but not for english
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 15, 2023, 04:51:16 pm
First effect can be ignored ! acitvating both debug mod did this.  :(
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 15, 2023, 05:14:43 pm
I have two menus for the moment: Home / Rent.
Only for Rent I get error 404

Maybe can help:

404
Sorry, the page you're looking for is missing or maybe was deleted...
» GO HOME or » RETURN

J! InfoRequestSessionProfileQueries14Log114MB420ms
errorerror - Uncaught Throwable of type
Joomla\CMS\Component\Exception\MissingComponentException thrown with message "Komponent ikke fundet.". Stack trace:
#0 [ROOT]\libraries\src\Application\SiteApplication.php(208): Joomla\CMS\Component\ComponentHelper::renderComponent(NULL)
#1 [ROOT]\libraries\src\Application\SiteApplication.php(249): Joomla\CMS\Application\SiteApplication->dispatch()
#2 [ROOT]\libraries\src\Application\CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute()
#3 [ROOT]\includes\app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#4 [ROOT]\index.php(32): require_once('C:\\xampp\\htdocs...')
#5 {main}
Search
error
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on August 15, 2023, 06:06:47 pm
site languages are public and published?
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 15, 2023, 06:50:48 pm
yes.

I activate a third menu and it works only for EN and FR (DE and DK error 404)
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on August 15, 2023, 07:31:07 pm
I need access to the site any Chance so I can have a look?
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 15, 2023, 08:49:29 pm
OK
I'm going to put my test site online tomorrow morning.

I need an e-mail address to communicate the login data.

Best Regards
Denis
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on August 15, 2023, 08:52:39 pm
harald.leithner@community.joomla.org
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 15, 2023, 08:54:56 pm
Thanks
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 16, 2023, 11:23:35 am
Hi Harald

I have some problem with my import by my provider (privilege) :(
It needs time...

Regards
Denis
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 17, 2023, 08:22:40 am
Hi Harald,

Site is ready.
Informations in mail.

Best Regards
Denis
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: smooky132 on August 17, 2023, 11:21:17 am
Reload DB remove user :(
corrected  :)
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: channelsurfer on November 13, 2023, 09:46:42 am
Hey Harald,

Wollte mal nachfragen ob es hier schon ne neue Version gibt oder die 3.0.1 noch die aktuellste ist?

LG
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: Harald Leithner on November 13, 2023, 11:07:12 am
es gibt noch keine 3.0.1 es gibt nur eine version aus dem versions system heraus. aktuell ist die interne testversion 438edec5 vom 3.10.23
Title: Re: Jdiction support for Joomla 4 and php 8
Post by: channelsurfer on November 13, 2023, 01:25:45 pm
Könnt ich die vielleicht haben zum testen? :D Die Version die ich da habe ist die vom 11.07.2023