This is driving me crazy!

Trying to enable the devel block.

Tried many different themes including Acquia Marina.

Enabled the devel module. Can use theme developer no problem.

Enabled the devel block but can't see it. Tried several different regions. Checked all visibility settings in the devel config screen.

I must be doing something dumb.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

druplicate’s picture

I got it to work but I had to check off "authenticated user" in the block to see it. I have the admin-role module installed so I only had the "admin" role checked off.

As super user though, I should have been able to see it.

Uncheck the admin role and it comes back. Uncheck all roles and it works.

Checking admin role disables access for the super user - nice.

Must be a bug in the admin-role module.

It affects any block I try to enable.

druplicate’s picture

Title: Devel block not visible » Wait, there's more!

Now I find that having theme developer enabled blanks out the nav menu and the devel block.

Tried on Acquia Marina and Internet-Services-2 themes.

If I disable theme developer on the module page, the devel block appears.

If I then click in the devel block to enable theme developer, the block disappears.

Then I go into the modules page and the theme developer box is unchecked.

I have to check it and save and then uncheck it and save for the block to reappear.

druplicate’s picture

I forgot I had the DHTML menu enabled.

Basically you can't have any of the javascript based menu add-ons, including the administration menu module, enabled otherwise they interfere with each other.

Turn 'em all off and devel works fine.

catch’s picture

Title: Wait, there's more! » Devel block not visible
Status: Active » Fixed

Doesn't seem like there's much devel can do about this, so marking fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

scifisi’s picture

Version: 6.x-1.9 » 6.x-1.18
Category: support » bug
Priority: Normal » Critical
Status: Closed (fixed) » Needs review
Issue tags: +devel block not appearing, +devel block not working

I'm having the same problem. If I enable the Devel module it does not get listed in 'Blocks' where I should be able to drag it from 'disabled' to one of my side bars.

I've even gone to the extent of removing all modules (except Devel) I have run update.php, flushed all caches, run cron and everything comes up clean - no errors whatsoever.

I go again into into modules where I have ONLY core optional, core required and Devel 6.x-1.18 that's all. I have unticked and saved configuration then re-ticked Devel and saved configuration and still nothing.

When I go into Blocks (In the Garland theme) I have:

Left Sidebar
Navigation
User login

Footer
Powered by Drupal

Disabled
Execute PHP
Primary Links
Secondary Links
Switch User
Syndicate
Who's Online
Who's New

And that's it. There simply isn't a 'Development' block listed. I've tried this with multiple themes and the Development block just simply isn't there. How is it possible I'm missing something when the Devel module is the only one insalled? Everything I can think of has been checked and re-checked and still the Development block can not, does not, and just WILL NOT appear!

I am not excluding the fact that I'm probably working too many hours at the moment, but to completely eliminate every conceivable possibility I'm even happy to provide anyone from Devel a temporary URL to this site with the Admin Username/Password and I'm pretty sure they will have as little success as I've had.

Having now stripped everything down to it's utter minimum all that is left for me to do now is to backup my site's theme and start the whole site again from scratch - The only problem here is - what happens when/if this happens again?

I'm new to PHP, but I've been a video games programmer for 16 years and I'm coming to believe that there must be a line of code in Drupal core that says "Make absolutely sure that nothing works without first making the developer bleed out the eyeballs with stress and exhaustion first..." - lol

You only have to look at the Drupal logo - The guy's head's gone blue! And not only that look at the eyes man look at the eyes!

I love Drupal really.

kiteglinton’s picture

I have found the same and unistalled and re-installed Devel several times without success; Theme developer and other devel modules are available but not the main devel module; i.e. I cannot display in a block as it does nor appear in the list of blocks either enabled or disabled.

fuquam’s picture

Subscribing. Same issue. Devel block is not even an option. I too am using Acquia Marina theme, or a bastardized version of it at least. I need the block to clear my cache.

The menu "Development" is active under the menus (admin/build/menu) so where is the block? It worked fine in D5 but when I made the switch to D6 is disappeared.

scronide’s picture

The old code managing the Devel block seems to have been intentionally removed in revision 1.248 to MAIN, replaced by a system that only appears to work for Drupal 7.

The revision comment: "use custom menu instead of a custom block. you will need to enable the 'development' block on admin/build/block page. still need to dynalically append querystrings to a couple menu items."

salvis’s picture

Category: bug » support
Priority: Critical » Normal
Status: Needs review » Active

I run the October 14 6.x-1.x-dev version (not the very latest, haven't had the urge to update yet) and it works just fine for me. The Development block is there and it shows the Development menu wherever I put the block...

Try rebuilding menus, emptying the cache, and look in admin/build/block/list. If you have more than one theme, you'll need to enable the block for each one.

If you have trouble with 1.18, then try the -dev version.

druplicate’s picture

I suspect this may be the problem for some people. It's bitten me in the past.

Make sure you are enabling the devel block for the theme you want. I use Rootcandy for my admin theme where I want the devel block to appear, BUT I have chosen the default theme for the block admin page so if I enable it there, it doesn't show up in Rootcandy. Select the theme you are enabling the block for, at the top of the block admin page.

krengar’s picture

Subscribing. Same problem here.

iliya’s picture

Version: 6.x-1.18 » 6.x-1.19

Subsribing same issue with 6.x-1.19 devel module. The block just GONE!

wenbing’s picture

anyone is here

salvis’s picture

Ok, let's try and narrow this down a bit...

I've set the Administration theme at admin/settings/admin to Bluemarine. I just updated to 6.x-1.20 and cleared the caches.

When I go to admin/build/block/list/bluemarine, I find the block called "Development" right there.

Is that not what you're seeing, or are you talking about something else?

memcinto’s picture

Subscribing.

I've set the Administration theme at admin/settings/admin to Bluemarine. I am at 6.x-1.20 and cleared the caches, including rebuilding the menus.

When I go to admin/build/block/list/bluemarine, I do NOT find any block called "Development". Nor do I find it in the list of blocks for the one other (custom) theme I have enabled. I do find:
Devel Node Access
Execute PHP
Switch User
Debug: Message Log
Debug: Post message
Devel Node Access by User

... But NO "Development" block!!

salvis’s picture

Title: Devel block not visible » Devel block missing
Version: 6.x-1.19 » 6.x-1.20

Thank you for the clear report, memcinto.

There are 26,000 known installations of 6.x-1.20 (see http://drupal.org/project/usage/devel) and that problem seems to be very rare. It must be related to some very specific configuration of your site.

Please try installing a virgin Drupal + Devel and check whether the issue persists.

fmjrey’s picture

I'm having this problem.
I was reinstalling all modules on a test server, devel itself was checked.
Hit the time limit on php.
And then devel block's gone, nowhere to be seen or set.

salvis’s picture

@fmjrey: Hmm, have you tried enabling devel, disabling it, uninstalling it, and enabling it again? That's what I'd do at this point...

You did have the devel block before?

memcinto’s picture

Will do. We definitely have some funky stuff on this website as it was the one we used to cut our teeth on drupal, so to speak. I actually just set up a new vanilla sandbox site today -- I'll install it there and see if I can figure out what "diff" is causing the problem. Thanks again.

Anonymous’s picture

I ran into this issue today. Or at least an issue with the same symptoms - the cause may be different.

After installing Devel, I was able to see the Execute PHP and Switch User blocks, but no Develepment block.

Update.php listed an available upgrade for Devel, so I ran the update and it resolved the problem. Though, it's not clear to me why update.php was necessary after the initial install of the module. I thought it was only necessary after upgrades.

So if you're having this problem, check if there's a pending DB update. Maybe it will fix it for you.

fmjrey’s picture

salvis: i did what you suggested to no avail. I since rebuilt my drupal site from scratch (was on php 5.3 and downgraded to 5.2).

salvis’s picture

@fmjrey: And did this help?

fmjrey’s picture

@salvis: yes it helped. I rebuilt the site from scratch because it's a new site I'm building. I still see the developer block, but I have not used the install/uninstall module feature yet...

koosdewit’s picture

My devel block has disappeared as well in the Right Sidebar, but I added it to the admin menu by checking the Devel block in the /admin/settings/admin under the Administrative Blocks.

Web Assistant’s picture

Did anyone ever find a fix for this? I'm using Drupal 7 and having the same problem. By looking at the block table it seems like the menu module is controlling the Development block, is that correct?

salvis’s picture

Version: 6.x-1.20 » 6.x-1.x-dev
Status: Active » Postponed (maintainer needs more info)

First, try the -dev version.

At this point it seems like among those who have this problem, no one is capable or interested enough to investigate. And we others don't have it, so there is no progress...

Web Assistant’s picture

I worked out that I just hadn't enabled the menu module, which makes sense really. So, in my case, not the same issue as the others but can see the development block now.

thePanz’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Postponed (maintainer needs more info) » Needs work

I can confirm that (under Drupal7) the Devel block isn't visible at all if the Core Menu module is not active.
Maybe a warning in Drupal status, or displayed in Devel setting page, could help

Regards

ps: moving to "needs work" as a "simple" patch could solve this misunderstanding in Devel blocks visibility

salvis’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Needs work » Postponed (maintainer needs more info)

For D7 this behavior is intentional: menu.module became optional for Devel, and if you don't have menus, you don't have menus.

For D6, menu.module is mandatory, but some people still don't see the Devel block. This may be a bug or some special configuration — we have yet to find its cause...

cooldeeponline’s picture

lol!!! what a way to say it.. "virgin drupal".. never heard of it until now....

tce’s picture

Makes you think what the phrase is for installing modules.

Frank Ralf’s picture

@#30
Thanks for the hint. The missing Devel block in D7 was driving me crazy. Perhaps some hint to that effect on the Devel configuration page would be helpful.

salvis’s picture

Version: 6.x-1.x-dev » 8.x-1.x-dev
Category: support » task
Status: Postponed (maintainer needs more info) » Needs work

#33: Yes, I like the idea of displaying a hint if menu.module is disabled.

Frank Ralf’s picture

Thanks for the quick response!

salvis’s picture

Issue tags: +develcontribute

 

dkl4’s picture

I had this "missing Devel block" issue on Drupal 7.22, devel 7.x-1.3. I found that after I enabled the Menu module my Devel block appeared. (I also did a cache clear ALL, and disabled / enabled the Devel module).

willzyx’s picture

Version: 8.x-1.x-dev » 7.x-1.x-dev
Issue summary: View changes

Moving to 7.x since the 8.x branch doesn't suffer from this issue

jvogt’s picture

Status: Needs work » Needs review
FileSize
959 bytes

Since the consensus seems to be to add info to the config page about the block's dependence on the core Menu module, here's a patch that does just that. I made some executive decisions about which I'm looking forward to feedback:

  • Is it appropriate as a message or should it be placed elsewhere?
  • It only shows if the Menu module is disabled. I can rework the language if it would be better to display it regardless.
salvis’s picture

Status: Needs review » Needs work

Thank you for your patch, zorya! And sorry for not replying sooner...

This looks like a good solution for a long-standing problem, except...

+++ b/devel.admin.inc
@@ -1,6 +1,16 @@
+    $devel_block_alert = '<strong>' . t('Devel block alert:') . '</strong> ' . t('The Devel block requires the core Menu module. The Devel block will become available once you <a href="!url">enable Menu</a>.', array(

... merging strings is always problematic. In this case, right-to-left language translations will run into a problem. This could be avoided by putting the two parts on separate lines, but the boldness doesn't really add anything of value IMO.

Also, you don't really know what any given them does with <strong> tags, and the way you use them makes them unthemeable. For the same reason, formatting inside the strings is frowned upon, too.

I think it would be a good idea to mention Administration Menu which can show the Devel menu without the need for the block and Core Menu.

jvogt’s picture

Interesting, thanks for the feedback! I'll re-roll with the suggested changes...hopefully soon. :)

salvis’s picture

Status: Needs work » Needs review
FileSize
2.22 KB

Sorry, but I want to get this nine-year-old issue fixed for the release, and I can't wait any longer.

Here's what I had in mind.

  • salvis committed cbc82b7 on 7.x-1.x
    Issue #541342 by zorya, salvis: Display message about Devel block...
salvis’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.