Closed (fixed)
Project:
Dialog
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2011 at 00:01 UTC
Updated:
9 Sep 2011 at 08:54 UTC
Jump to comment: Most recent file
Comments
Comment #1
howto commentedI get the same problem
"An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /drupal7/dialog/ajax/example
StatusText: OK
ResponseText: "
Please see the image attached.
Comment #2
zkday commentedthis is patch. :)
Comment #3
zkday commentedchange status.
Comment #4
moonray commentedThe approach taken here is correct, but the execution could use some cleanup. Also the patch is in a strange format.
Comment #5
13rac1 commentedThis is was really frustrating me until I looked up the docs for ajax_render(). Haha!
Standard git patch attached.
Comment #6
moonray commentedYou might want to send
ajax_footer()as well, right afterprint ajax_render($commands)and then exit.I've run into some strange things when trying to return just ajax_render().
This is what I wound up using in a submit function:
Dialog should probably provide a helper function that does this, since we can't use
ajax_deliver().Comment #7
zkday commentedSorry, this file #2 is execution could use some cleanup.
this is patch for this.
Comment #8
moonray commentedOK, I finally figured out the 'proper' way to do it.
Comment #9
smk-ka commented#8 is working fine and *really* helps understanding the module better ;)
Comment #10
palmaross commentedSame here
Dialog example doesn't work
Skinr can't use Dialog Api
I tested it on my working D7 site - doesn't work
For neat testing I installed Drupal 7.4 and only one contrib-module: Dialog (and its submodules)
See attached dialog1.jpg for error message.
Patch #8 doesn't work for me (any patch on this page doesn't work).
Then I installed Skinr, it issues this error: see dialog2.jpg
I sure that my server (hosting) is OK, because I have on it my website with Drupal 6.22 and these modules - Dialog and Skinr. And both working fine with AJAX.
You can live see this issue with Dialog and with Skinr on my testing site: http://drupal2.rumapping.ru/dialog/example#
with this login for administrator:
user: palmaross
password: 75818506
Comment #11
jamesbenison commentedIs this module being maintained?
Anyways, I was toying with this thing a couple nights ago and fixed a couple things. Felt guilty 'cause I didn't post it and 'assumed' that others had already figured it out for themselves. In case somebody needs the help:
The dialog simple example works after applying the patch in #8 above. However, the dialog user module still doesn't display the forms.
In the dialog_user.module at around line 55:
Replace this line:
With this line:
That fixes the login and register callbacks.
To fix the lost password callback, at around line 52, add this line:
Just after this line:
Anyone know what's going on with the maintenance status here? Yes, patches would be better.
Comment #12
zroger commentedCommitted patch from #8. Thanks.
Comment #14
jamesbenison commentedWould you like me to roll the other changes into a patch, or do you have it covered?
Thank you for taking care of this.