xmlrpd_decode error

  • dndd
  • Topic Author
  • New Member
  • New Member
More
11 years 7 months ago - 11 years 7 months ago #1 by dndd
xmlrpd_decode error was created by dndd
Hi,

My Joomdle check got an error "Joomla URL seems to be misconfigured in Joomdle auth plugin in Moodle". I checked all points from problem resolution topic, but it didn't help. While debugging Joomdle, I found xmlrpc interaction code in moodle/auth/joomdle/auth.php:565. Looks like Joomdle returned this xml code:

<?xml version="1.0" encoding="iso-8859-1"?>
<head/><methodResponse>
<params>
<param>
<value>
<string>It works</string>
</value>
</param>
</params>
</methodResponse>

but xmlrpc_decode function didn't parse it well and returned null. I'm sorry, I'm not good in php, but it seems like the problem is in closing head tag. Is it true? What are possible solutions to this problem?

Thanks.

PHP Version 5.5.17-1, xmlrpc-epi v. 0.51
Last edit: 11 years 7 months ago by dndd.

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

More
11 years 7 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic xmlrpd_decode error
You are correct: that wrong head tag is breaking xmlrpc response.
You will need to find out where it is coming from,as it can be in many places in your Joomla site. Most likely template or some plugin.

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