There are some devel debugging lines (dsm) in hook_block that fail and make the Admin screen go white.

CommentFileSizeAuthor
#5 weblinks29.patch7.89 KBnancydru
#2 weblinks29.patch5.88 KBnancydru
weblinks29.patch715 bytesnancydru

Comments

nancydru’s picture

You can remove them if you want, but I have a better patch coming...

nancydru’s picture

Title: Debugging code causes Admin to WSOD » Block problems
Priority: Critical » Normal
StatusFileSize
new5.88 KB

In addition to the above, the fix for http://drupal.org/node/131416 got changed and did not work. Also, it was only to the "recent" block. This patch extends that setting to all blocks (including even the upcoming "popular" block).

Note the code has been refactored to improve readability and extensibility.

The query code has a small change that opens a nice new feature ... coming soon.

nancydru’s picture

Stop me, I'm out of control!!! In a few minutes, I'll throw in the "most popular" block while I'm, here.

rmiddle’s picture

ops I put debuging code into cvs. my mistake. Sorry.

nancydru’s picture

StatusFileSize
new7.89 KB

Hopefully, I'll leave this alone for a little while... All the above, plus the "Most popular" request.

nancydru’s picture

Status: Needs review » Patch (to be ported)

committed to 6.x

rmiddle’s picture

Status: Patch (to be ported) » Fixed

Backported to 5. Commited to CVS.

nancydru’s picture

Status: Fixed » Closed (fixed)

Since I reported it and no one else seemed to notice, let's clear up the issue.

rmiddle’s picture

No one noticed as the dsm code went in after alpha9 was released so that debuging code only appeared in CVS.

Thanks
Robert