Hi folks,

I am running the latest 4.7 beta. I installed the blockbar module, tried adding a new blockbar, and now my site won't come up at all:

http://d39050.u22.sagehost.net/

just a blank page

help please!

thanks in advance,
Dan

Comments

DaveNotik’s picture

Try physically disabling the file by renaming the .module to something like .module_ as the etension. Then go to /admin/modules and disable it. That should bring back your site, then investigate from there.

--
http://dave.notik.com

mtndan’s picture

Thanks Dave,

Changing the extension on the actual module worked. The site came back. I went into admin/modules but it wasn't displayed in the list anymore.

Do you think it's safe to just completely remove the blockbar directory from /modules/ even though I wasn't able to disable it in the conventional manner from the admin/modules page?

Thanks again,

--
Dan Katz
Electric Sage Designs, LLC
Web development, hosting and marketing
http://www.electricsage.com/

dreed47’s picture

It's safe to do so. Blockbar module doesn't make any other changes that would cause you a problem. I would be curious to know more about your problem though. The BlockBar module has been tested with the latest beta release so it should be in working order.

mtndan’s picture

Hi again,

When I have some time this weekend, I'll re-enable it and document step by step where the problem is.

--
Dan Katz
Electric Sage Designs, LLC
Web development, hosting and marketing
http://www.electricsage.com/

linxjp’s picture

I'm in the middle of trying to track down where the issue lies. If you have any more information, please post.

dhaviere’s picture

i had the same problem with blockbar killing my site.
i'm running drupal 4.7.0 rc3, and the latest blockbar release (as of 2006.04.15)

when adding the new container script to my template.php file, it kills my site.
but, when erased it from this file, and replaced the existing procedure in the themes\engines\phptemplate, then it worked.

after i replaced this code, i had to first config my blockbar to the container region (ie, container_1) under admin/blocks (and renamed it to 'block_bar_right'). do this BEFORE you actually enable the block.

then, when you enable the block in admin/blocks, set it to the location you actually want it to be (ie, right sidebar).

finally, when you want to insert something in the blockbar, specify its location to the same container you used for the blockbar (in my case, container_1) when you enable the block.

michelle’s picture

Just adding a link to the issue on this for anyone waiting for an update...

http://drupal.org/node/57999

Michelle

smilodon’s picture

"1. Create a "container region" in your template.php. The sole purpose
of this new region is to act as a container for your blockbar elements
(ie normal blocks)"

NEEDS MORE EXPLAINING!

dreed47’s picture

Okay....try this.

picture

smilodon’s picture

Also this link: http://drupal.org/node/29139 should be in the readme of this module + your image :)

Now i got it right. You need the template.php to add regions. Then you put the region in the blockbars block and you add the other blocks to this blockbars region. And to choose between displays go to blockbars block configuration.

You do not need to edit other template files, wich i was doing as soon as i heared "container region". :D

Steel Rat’s picture

I have no template.php files anywhere in my 4.7 installation. There's no mention in the blockbar docs of needing a different theme engine installed, unless I just missed it. And PHPTemplate doesn't seem to be for 4.7 (doesn't show up in the 4.7 theme engines listing.

So what do I need to do to have template.php files for my themes?

Steel Rat
Drupal Site: RPGMapShare.com

michelle’s picture

PHPTemplate is the default theme for 4.7 so, if you have 4.7, you have PHPTemplate. If you don't have a template.php file with your theme already, just create one.

Michelle

Steel Rat’s picture

Tried that early on, Michelle, and it didn't work. I had to edit the .engine file as mentioned in another thread.

Steel Rat
Drupal Site: RPGMapShare.com

michelle’s picture

I've been gone nearly 2 weeks other than popping on briefly the other day so I don't know what thread you're referring to. At any rate, I didn't need to make any changes to the .engine file to use it with a modified box_grey.

Michelle

dreed47’s picture

No changes are required in the .engine file.

Did you look at this http://mycivicsite.com/blockbar.html

I don't really know how to explain this any better.

Steel Rat’s picture

And I don't know how I can explain it any better. I had no template.php file anywhere. Creating one and adding the function as described in the instructions did not work.

I followed the instructions to the letter, as far as I could, the link above shows the same thing, editing the template.php file, which I DON'T HAVE!!!

I searched the forums and found a thread where someone else said the same thing, they had to edit the .engine file, and that's where the function was located as described as being found in template.php. Editing the .engine file works.

I've installed four Drupal 4.7.x sites in recent weeks, and none of them have template.php files anywhere in the installation.

Sorry if I seem frustrated but no one seems to be reading what I'm typing.

Steel Rat
Drupal Site: RPGMapShare.com

michelle’s picture

Some themes have them already, some don't. If you don't have one, all you have to do is create one in your theme directory. You said you did that and it didn't work. I have no idea why it wouldn't. Something else must be wrong on your system, then. Editing the .engine file is not necessary.

Michelle

Steel Rat’s picture

Not much else I can do except follow the installation instructions. If they're not there they're not there. None of the out of the box themes have them. And only one of the ones I downloaded has one, Aquasoft, and that doesn't have the region function. But it's not on the site where I'm using the blockbar. In my case, and at least one other (the thread I found that I don't have time to look for again), it was necessary to edit the .engine file, since that's the only thing that worked.

Steel Rat
Drupal Site: RPGMapShare.com

michelle’s picture

If they're not there they're not there.

No, if it's not there, you create it as I've said. I don't know what more I can say to you. There is no need to change the .engine file and doing so means you need to change it on every upgrade. If you're satisfied with that, fine.

Michelle

Steel Rat’s picture

It's not a matter of whether I'm satisfied with it, it's a matter if that's the only thing that worked....

Steel Rat
Drupal Site: RPGMapShare.com