Closed (cannot reproduce)
Project:
Question/Answer
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2012 at 05:25 UTC
Updated:
27 May 2012 at 14:05 UTC
Currently in question_answer_select() it returns the response using
$page = array('#type' => 'ajax', '#commands' => $commands);
ajax_deliver($page);
which produces a 500 error. If I change the code to
print ajax_render($commands);
exit;
it works
Comments
Comment #1
jcisio commentedBasically ajax_deliver() adds some HTTP headers then does an ajax_render(). So I don't know why it returns a 500 error. There are 100 sites using D7 version, so I'm sure that it only happens in certain cases, in which I can't reproduce.
Some more information would be useful.
Comment #2
nevets commentedYou can close this as I ended up using another approach.
Comment #2.0
nevets commentedFixed typo