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] 3 4

Author Topic: Jdiction support for Joomla 4 and php 8  (Read 56033 times)

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #15 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED

smooky132

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #16 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

Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #17 on: August 14, 2023, 04:49:58 pm »

did you activated the plugin first?
Logged
Joomla! 5.0 Release Manager
Vote at JED

smooky132

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #18 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


Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #19 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
Logged
Joomla! 5.0 Release Manager
Vote at JED

smooky132

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #20 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
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #21 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED

smooky132

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #22 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.


Logged

smooky132

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #23 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


Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #24 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?
Logged
Joomla! 5.0 Release Manager
Vote at JED

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #25 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED

smooky132

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #26 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
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #27 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED

smooky132

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #28 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
Logged

smooky132

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Jdiction support for Joomla 4 and php 8
« Reply #29 on: August 15, 2023, 04:51:16 pm »

First effect can be ignored ! acitvating both debug mod did this.  :(
Logged
Pages: 1 [2] 3 4