I upgraded to 5.10 yesterday and the only discernable thing I've noticed is that my custom 404 (mysite/404) page has all its blocks stripped out...why would that have happened?
I don't use menu module - I use a block for a horizontal two-level menu and that's gone. The header block with search/login, etc has gone and the footer block with contact/faq/copyright, etc has also gone.
anyone want to help me solve this mystery? :-(
Neil
Just for clarification. If I go to the 404 page itself that I made, it looks fine and all the blocks are in place. If I go to mysite.com/asdadsf or any other page that doesn't exist, that's when I get the block-free version.
Neil ----- Original Message ----- From: Neil: esl-lounge.com To: support@drupal.org Sent: Friday, August 15, 2008 3:18 PM Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu,etc
I upgraded to 5.10 yesterday and the only discernable thing I've noticed is that my custom 404 (mysite/404) page has all its blocks stripped out...why would that have happened?
I don't use menu module - I use a block for a horizontal two-level menu and that's gone. The header block with search/login, etc has gone and the footer block with contact/faq/copyright, etc has also gone.
anyone want to help me solve this mystery? :-(
Neil
------------------------------------------------------------------------------
-- [ Drupal support list | http://lists.drupal.org/ ]
Just for clarification. If I go to the 404 page itself that I made, it looks fine and all the blocks are in place. If I go to mysite.com/asdadsf or any other page that doesn't exist, that's when I get the block-free version.
That's a new "feature" in 5. Error pages do not render blocks.
There's an issue in the queue to make it user choice.
So I've never been able to see them? I was sure I was seeing all my menus (which are blocks on my site) before 5.10...
----- Original Message ----- From: "Morbus Iff" morbus@disobey.com To: support@drupal.org Sent: Friday, August 15, 2008 3:27 PM Subject: Re: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc
Just for clarification. If I go to the 404 page itself that I made, it looks fine and all the blocks are in place. If I go to mysite.com/asdadsf or any other page that doesn't exist, that's when I get the block-free version.
That's a new "feature" in 5. Error pages do not render blocks.
There's an issue in the queue to make it user choice.
-- Morbus Iff ( if god is in me, he is a tumor ) Technical: http://www.oreillynet.com/pub/au/779 Enjoy: http://www.disobey.com/ and http://www.videounderbelly.com/ aim: akaMorbus / skype: morbusiff / icq: 2927491 / jabber.org: morbus -- [ Drupal support list | http://lists.drupal.org/ ]
Quoting Morbus Iff morbus@disobey.com:
Just for clarification. If I go to the 404 page itself that I made, it looks fine and all the blocks are in place. If I go to mysite.com/asdadsf or any other page that doesn't exist, that's when I get the block-free version.
That's a new "feature" in 5. Error pages do not render blocks.
I don't understand what you mean a new feature in 5. For instance http://give-me-an-offer.com/zxdfe gives my 404 page but keeps the blocks.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
On Fri, Aug 15, 2008 at 1:04 PM, Earnie Boyd earnie@users.sourceforge.net wrote:
Quoting Morbus Iff morbus@disobey.com:
That's a new "feature" in 5. Error pages do not render blocks.
I don't understand what you mean a new feature in 5. For instance http://give-me-an-offer.com/zxdfe gives my 404 page but keeps the blocks.
This was added to 6.x and backported to 5.x. See the issue http://drupal.org/node/232037 for more details.
A little sleuthing in cvs found the specific commit. It was committed to 5.x between 5.7 and 5.8:
http://cvs.drupal.org/viewvc.py/drupal/drupal/modules/block/block.module?vie...
So, if your site renders blocks on 404s then you are running an out of date version of Drupal core. Which is behind on features/bugs and possibly security patches.
Regards, Greg
Quoting Greg Knaddison - GVS Greg@GrowingVentureSolutions.com:
Which is behind on features/bugs and possibly security patches.
Someone's idea of a feature maybe someone else's idea of a bug. I consider no blocks a bug and this should not have been backported to version 5.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
Aahhhhhhh!! I thought I was going crazy. I didn't update to 5.8...only patched the serious issues. So now I've updated to 5.10, I'm seeing it.
I have to say I'm surprised something so big was hoisted on the D community as an aside. I can understand very big traffic sites wanting to cut down on the 404 serving load, but most sites are not heavy traffic sites, they're low or medium traffic sites. The big sites are the exceptions, not the rule. Actually, scanning the d.org site today on this issue, it seems there's a few angry people out there because of it. :-)
No biggie really, I'll make a mini-menu inside my 404.
Neil
----- Original Message ----- From: "Earnie Boyd" earnie@users.sourceforge.net To: support@drupal.org Sent: Friday, August 15, 2008 11:23 PM Subject: Re: [support] Suddenly, my 404 page is stripped of all its blocks,menu, etc
Quoting Greg Knaddison - GVS Greg@GrowingVentureSolutions.com:
Which is behind on features/bugs and possibly security patches.
Someone's idea of a feature maybe someone else's idea of a bug. I consider no blocks a bug and this should not have been backported to version 5.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
-- [ Drupal support list | http://lists.drupal.org/ ]
The blocks have been removed on 404 pages to improve the performance, but I agree it is annoying on a site which is not receiving lots of visitors and has no problems with that little bit of performance and a lot of usability lost. I have seen it before 5.7, there are plenty of people complaining about it on drupal.org if you search for blocks and 404. There is also a nice patch for d5 which does what seems the best solution to me: let the admin choose with a checkbox if blocks should be there or not on 404 pages: http://drupal.org/node/116895.
Hans
Hans Rossel KOBA Webdevelopment Kerkstraat 228 9050 Gent 09-334.52.60 0472-79.32.16 www.koba.be info@koba.be
Thanks Hans,
what I think would have been the best solution is the patch made for the minority of large traffic sites this would be useful for. In other words, this block-free 404 should be opt-in, not opt-out. The majority of sites don't have the traffic to justify it.
Just my .02
as for the timing, I know my 404's had blocks "at some point" in the past and either my 5.8 or 5.10 update seems to have zapped them. Who knows....
Neil ----- Original Message ----- From: KOBA | Hans Rossel To: support@drupal.org Sent: Friday, August 15, 2008 11:42 PM Subject: Re: [support] Suddenly, my 404 page is stripped of all its blocks,menu, etc
The blocks have been removed on 404 pages to improve the performance, but I agree it is annoying on a site which is not receiving lots of visitors and has no problems with that little bit of performance and a lot of usability lost. I have seen it before 5.7, there are plenty of people complaining about it on drupal.org if you search for blocks and 404. There is also a nice patch for d5 which does what seems the best solution to me: let the admin choose with a checkbox if blocks should be there or not on 404 pages: http://drupal.org/node/116895.
Hans
Hans Rossel KOBA Webdevelopment Kerkstraat 228 9050 Gent 09-334.52.60 0472-79.32.16 www.koba.be info@koba.be
------------------------------------------------------------------------------
-- [ Drupal support list | http://lists.drupal.org/ ]
Quoting Earnie Boyd earnie@users.sourceforge.net:
Quoting Greg Knaddison - GVS Greg@GrowingVentureSolutions.com:
Which is behind on features/bugs and possibly security patches.
Someone's idea of a feature maybe someone else's idea of a bug. I consider no blocks a bug and this should not have been backported to version 5.
To which Greg Knaddison responded:
So, if your site renders blocks on 404s then you are running an out of date version of Drupal core. Which is behind on features/bugs and possibly security patches.
There are two reasons now for one not to upgrade because of ``features'' that broke expected functionality. First the one where the admin updating a user destroys the last access data and the second one is this no blocks on 404 business. Backporting these things should never have happened.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
Quoting "Neil: esl-lounge.com" neil@esl-lounge.com:
Just for clarification. If I go to the 404 page itself that I made, it looks fine and all the blocks are in place. If I go to mysite.com/asdadsf or any other page that doesn't exist, that's when I get the block-free version.
I'm guessing that you have set "Default 404 (not found) page" on admin/settings/error-reporting, correct? How about a path alias? I created a page_not_found alias for the node.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/