× Joomdle 1.0 Installation

PHP 8.0.2

2 months 4 days ago
dhusband
Posts: 24
More
Topic Author
PHP 8.0.2 #1
Evening
I tested upgrading PHP Vr8 today and found that the site stops functioning effectively and on login, I get error 'Call to undefined function xmlrpc_encode_request()'.
Checking the php settings there is no longer an xmlrpc option.
Reading php.watch/versions/8.0/xmlrpc k highlights that xmlrpc was not widely used and relied on outdated libraries. It has therefore been removed.
I was wondering if you were aware and what future plans were?

Regards
David

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

2 months 3 days ago
Antonio Durán
Posts: 7275
More
PHP 8.0.2 #2
Hi David.

Thanks for the info. This year has been crazy, and have not been able to start looking at PHP8 yet, although it is on the list.
I was not expecting that they drop xmlrpc, so we'll need to start looking into alternatives as soon as possible.

I'll do some research and get back to you. Thanks again!

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

2 months 3 days ago
Antonio Durán
Posts: 7275
More
PHP 8.0.2 #3
Hi David.

I have been investigating, it seems a good route would be to go with REST services using JSON.
I will keep working on it and let you know when have something to show...

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

1 week 2 days ago
Antonio Durán
Posts: 7275
More
PHP 8.0.2 #4
Hi David.

We've been working on the changes to add support for REST web services, to remove dependency on XMLRPC.
We've done it as we worked on the changes to add support for Joomla 4, and have now released a first version, 2.0.0-beta1. Even if it is called beta, it is mostly the same code as 1.3, just removing deprecated stuff.

I have not yet tested with PHP8, as Moodle still does not support it, although it seems it will soon (3.11)

Please test when you have some time and let us know how it works for you.

Thanks again for bringing this up!!

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

1 week 2 days ago
dhusband
Posts: 24
More
Topic Author
PHP 8.0.2 #5
Morning Antonio

Glad to help.

I am flat out at the moment but will look to put some time aside to test.

Thank you
David

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