Hi,

I try to call the service.connect method.
It's working like a charm with Firefox (I see the trace with firebug), but Drupal.service function is not called under IE because of a script error appears in json_server.js. I get a non informative error (using the debugbar) in response.

I'm a bit desperate right now :)

I've another question. There is this json.php developed in AMFPHP, is there any way to use that one instead?

Thx a lot.

Comments

Striky2’s picture

Hi !
I think I found the issue:

$.ajax({
      url: Drupal.settings.basePath +"?q=services/json",
      type: "POST",
      data: data,
      success: function(data) {
        parsed = Drupal.parseJson(data);
        success(parsed['status'], parsed['data']);
      },
);

The last koma ( }, ) has to be removed, it causes a bug with IE7.

dmitrig01’s picture

Status: Active » Needs review

ok, thanks, will-fix

Striky2’s picture

Version: 5.x-1.0 » 6.x-1.x-dev
Priority: Critical » Normal
Status: Needs review » Active

>> sorry, post in a new issue

Striky2’s picture

Version: 6.x-1.x-dev » 5.x-1.0
Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.