R0.22 and earlier: No Longer Supported

[Solved] FATAL ERROR associated with XML-RPC

  • Filipe
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 9 months ago - 15 years 9 months ago #1 by Filipe
Hello. I cannot get Moodle and Joomla integrated. I am using Joomla 1.5.15 stable and Moodle 1.9.

I have carefully followed each of the instructions in the installation document on this site. I have reviewed each of the XML-RPC posts in this forum, and double-checked to be sure that I did not have any of the same conditions. The most common problem seems to be activating Joomdle in Moodle by copying the Joomdle folder into Moodle/Auth, then activating it through authentication, and this was successful for me. My problem is related to XMP-RPC in Joomla.

I show errors in XMLRPC when I look in Joomla's Help/Installation/PHP Info section. I cannot find information on how to load the proper XML-RPC. I did activate the Joomla XML-RPC plugin native to Joomla, but that does not seem to be the answer.

I get the following errors:
1). when I try to go to Category or Course List in Moodle from Joomla, I get the error:
Fatal error: Call to undefined function: xmlrpc_encode_request() in/home/content/a/n/d/andreamhill/html/joomla/plugins/user/joomdlehjooks.php on line 81

2). When I try to register a new user in Joomla, I get the error:
Fatal error: Call to undefined function:xmlrpc_encode_request() in /home/content/a/n/d/andreamhill/html/joomla/components/com_joomdle/helpers/content.phpon line 38

3. When I log in an existing user in Joomla, I default to a blank screen.

I am using linux hosting on GoDaddy, and my paths for Joomla and Moodle are MYURL/moodle and MYURL/joomla.

I am aware of the XML-RPC issue in Joomlaright now, but I do not know how to write an XMLRPC plugin with website calls. I did try to download the Metaweblog XMLRPC plugin that others are trying, but it does not upload properly.

I also noticed you (Antonio) posted an inquiry that seemed to be related to this issue on Moodle.org in December, and I am hoping there is an answer.

Thank you.
Last edit: 15 years 9 months ago by Chris.
The topic has been locked.
More
15 years 9 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: FATAL ERROR associated with XML-RPC
Hi. From what I see, I think your problem is that you don't have XML-RPC for PHP installed/active.

I don't know what you mean about errors in PHP info, can you post them?

I think what you need to do is to ask your provider to properly install XML-RPC.

Antonio
The topic has been locked.
  • Filipe
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 9 months ago #3 by Filipe
Replied by Filipe on topic Re: FATAL ERROR associated with XML-RPC
Hello again. I have gone back and forth with my hosting support all day on this, and here is their final response:

*************************************************
Dear Ms Hill,

Thank you for contacting Hosting Support.

We have reviewed your hosting account and could not find any issues with the PHP. The type of error you are experiencing is most likely caused by coding or scripting. Unfortunately, because we do not provide coding support, we are unable to determine what specifically in your code may be causing the error. However, the following may be of some assistance in diagnosing the problem:

Joomla or one of the add-ons, plug-ins, themes, etc. is using an experimental php function:
us.php.net/xmlrpc_encode_request

Please review your scripting for alternatives to this function or you may request support from the third party script vendor that has implemented this function.


Please contact us if you have any further issues.

Regards,

Mike F.
Hosting Support
*************************************************

Do you have any other suggestions?

Andrea
The topic has been locked.
More
15 years 9 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re: FATAL ERROR associated with XML-RPC
Sorry, but there are no alternatives to this function. I know it is considered experimental, but no one reported problems before with their hosting providers, and many activated it upon user request.
So, you can try to persuade your hosting provider with this info. Aside from that, the only alternative I can see is changing provider.

Antonio
The topic has been locked.