The XML-RPC server installed on drupal 6.x and PHP 5.2.x works fine, but if the code is run on PHP 5.3.x XML-RPC Server denies access to all resources except 'connect' 'login' and 'logout'.

How to test the problem

  • Set Up PHP 5.3.x
  • Install/Configure Drupal 6.x
  • Install/Configure Services 6.x-3.3
  • Install/Configure XML-RPC with standard "Session authentication"
  • Install/Configure example of code in attach
  • Use test.mirror method!!

In PHP 5.2 the sample of code work fine but on PHP 5.3 the result is:
"Access denied for user ID NAME"

In the watchdog there is a log:
"call_user_func_array() expects parameter 2 to be array, string given in C:\Program Files (x86)\Zend\Apache2\htdocs\prova\sites\all\modules\services\services.runtime.inc alla riga 152."

CommentFileSizeAuthor
#1 service-1955476.diff750 bytesuccio
testrpcserver.zip784 bytesuccio

Comments

uccio’s picture

Status: Active » Needs review
StatusFileSize
new750 bytes

Here's a quick patch to fix the incompatibility.

Status: Needs review » Needs work

The last submitted patch, service-1955476.diff, failed testing.

marcingy’s picture

Status: Needs work » Closed (won't fix)

Drupal 6 is no longer supported

marcingy’s picture

Issue summary: View changes

double title!! sorry