Block making the whole page crash
rasmusmp - November 2, 2009 - 03:31
| Project: | FAQ_Ask |
| Version: | 6.x-2.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi there
An experience i just had: When I tried to enable the Ask Question block on my page, then the whole thing crashed. There was no access at all to any part of the page. The block had caused a 310 error. Or as Firefox puts it: "Redirect Loop. Firefox has detected that the server is redirecting the request for this address in a way that will never complete. The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete."
But when disabling the block with phpmyadmin everything worked fine. The latest version of Drupal, faq and faq ask.
Best regards,
Rasmus MP

#1
Confirmed, I get this too.
#2
This is the same issue: http://drupal.org/node/437408, but it was marked as fixed. (Should we re-open that one or keep this new one for the 2.0 release?)
#3
Sorry, I just found this after having reopened http://drupal.org/node/437408 possibly that should be closed and point to here as a duplicate. I too can confirm this is a problem, not sure what the fix is.
Thanks,
Izzy
#4
I am having the same issue here. Took my whole site down today. As this is a known issue which will down peoples sites without any known fix, I suggest that it is certainly reopened as an issue, but also that something is added to module download page. This is not something you expect of a final module release and should be taken very seriously.
#5
Just noticed this as well, I enabled the "faq ask" block on all pages and it disabled the entire site. The block is calling this function at line 132:
/*** Get the ask question form.
*/
function faq_ask_page($tid = NULL) {
drupal_goto('node/add/faq', 'ask=true');
}
which redirects the page to the "add a faq form" rather than actually displaying a form. Of course, if you're using this block on every page it will by definition cause an infinite loop as it will try and display the block again. I commented the line out for now just to get back in and disable the module, I couldn't see an easier way to get the form to output in the code.
As an alternative, I'm looking into using the "form block" and "form filter" module as discussed here to replicate the same functionality.
http://drupal.org/node/179393