Joomdle 2.x Installation

php 8 support

  • smarty70
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #1 by smarty70
php 8 support was created by smarty70
Hi
I've tried to upgrade my php from 7.4 to 8.1. but then Joomla shows an error. After deactivating the joomdlemoduls no error is shown.
Will there be an php 8 support or what do I have to do, to make it work?

Thanks a lot.
Uwe K

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic php 8 support
Hi Uwe.

Can you share the error to see if it something related to Joomdle?

Moodle does not still support PHP 8.1, so that might be the root of the issue:
docs.moodle.org/dev/Moodle_and_PHP

Please Log in or Create an account to join the conversation.

  • smarty70
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #3 by smarty70
Replied by smarty70 on topic php 8 support
Hi
THis is the >Message:

0 - Call to undefined function xmlrpc_encode_request()

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic php 8 support
Hi.

Look here:
www.joomdle.com/wiki/Category:FAQ#What_a...XML-RPC_and_PHP_8.3F

You should use REST with PHP8, instead of XMLRPC.

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #5 by Wynand Louw
Replied by Wynand Louw on topic php 8 support
My Certificates on Joomla logged in user gives the following error: 0 Cannot access offset of type string on string

() JROOT/components/com_joomdle/views/mycertificates/tmpl/default.php:25
include() JROOT/libraries/src/MVC/View/HtmlView.php:436
Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:220

Joomla 4.1.5 Moodle 4.0.2 and Joomdle 2.0.3

Wynand

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #6 by Wynand Louw
Replied by Wynand Louw on topic php 8 support

Wynand Louw wrote: My Certificates on Joomla logged in user gives the following error: 0 Cannot access offset of type string on string

() JROOT/components/com_joomdle/views/mycertificates/tmpl/default.php:25
include() JROOT/libraries/src/MVC/View/HtmlView.php:436
Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:220

Joomla 4.1.5 Moodle 4.0.2 and Joomdle 2.0.3

Wynand


I now get the same error on certificates with the following using Joomla 4.2.6 Moodle 4.1.0 and Joomdle 2.0.4


() JROOT/components/com_joomdle/views/mycertificates/tmpl/default.php:25
2 include() JROOT/libraries/src/MVC/View/HtmlView.php:410
3 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
4 Joomla\CMS\MVC\View\HtmlView->display() JROOT/components/com_joomdle/views/mycertificates/view.html.php:35
5 JoomdleViewMycertificates->display() JROOT/libraries/src/MVC/Controller/BaseController.php:639
6 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/components/com_joomdle/controller.php:41
7 JoomdleController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
8 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_joomdle/joomdle.php:15
9 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200
13 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:241
14 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
15 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
16 require_once() JROOT/index.php:32

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #7 by Wynand Louw
Replied by Wynand Louw on topic php 8 support
I tried to install the latest version of my certificates, but get Internal Server Error.

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #8 by Antonio Durán
Replied by Antonio Durán on topic php 8 support
Hi.

I tested and got the same problem: the cause was that I had incorrectly set the certificate type to use.
I guess this is what happens to you too, so please check your menu item to see what type you have set and change it if it is not the same as the one you are using in Moodle.

For next Joomdle release, I have added some code to better detect web service calls errors, showing a more descriptive message.

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #9 by Antonio Durán
Replied by Antonio Durán on topic php 8 support
Now, for the module, I tested and found an issue with it and latest Joomla versions.
Please download and test this new package:
www.joomdle.com/aux/mod_joomdle_my_certificates_v1.1.0.zip

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #10 by Wynand Louw
Replied by Wynand Louw on topic php 8 support
Thanks, I have set it in the Module to Simple Certificate, but see that on the menu options tab, it was set to Moodle Certificate Module. Once I have changed it to Simple Certificate, it shows.

Please Log in or Create an account to join the conversation.