Jump to:
| Project: | Block Theme |
| Version: | 6.x-1.0-beta1 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
Running on a drupal 6.2 install in multisite mode I have experienced some very strange behavior.
After a while, the link for the administration interface for managing block themes has disappeared from the site configuration list.
/* module install */
The module is installed in *drupal_install_folder*/modules/blocktheme as it should be for a global module.
The module is activated under all sites.
/* sites */
The sites runs in *drupal_install_folder*/sites/site_name1 and *drupal_install_folder*/sites/site_name2.
/* themes */
site_name1 runs with a custom theme.
site_name2 runs on standard themes( bluemarine, Garland )
/* blocktheme settings */
site_name1 has no blockthemes declared.
site_name2 has 2 blockthemes declared - "redblock|Red block" and "blackblock|Black block".
There are corresponding blocktheme templates defined:
blocktheme-blackblock.tpl.php
blocktheme-redblock.tpl.php
in the database for site_name2.variable I located following values:
| name | value
|----------------------------------------------------------------------
| blocktheme | a:0:{}
| blocktheme_themes | s:42:"redblock|Red block blackblock|Black block";
/* other modules enabled */
Core - Optional
---------------
Color
Comment
Database logging
Help
Menu
Path
Taxonomy
Update status
Upload
/* other modules installed */
Mail
----
SMTP Authentication support (version 6.x-1.0-beta3)
Mail API
--------
Mail API
Other
-----
Block Theme (version 6.x-1.0-beta1)
IMCE (version 6.x-1.1) (Applied "hack" in template.php to use with TinyMCE)
Nice Menus (version 6.x-1.2)
TinyMCE (version 6.x-1.1-dev with tinyMCE lib version 3.2.1) (Applied "hack" in template.php to use with IMCE)
/* what have i tried */
I have tried to change themes on both sites (also the physical files).
I have tried to swap database settings on both sites.
I have tried disabling all other modules and cleared Drupals cache
I have tried installing the blocktheme module in following ways
1) As a (for all sites) global module in *drupal_install_folder*/modules/
2) As a site shared module in *drupal_install_folder*/sites/all/modules/
3) As a site individual module in *drupal_install_folder*/sites/site_name1/modules/ and *drupal_install_folder*/sites/site_name2/modules/
#) Drupal cache flushed between installing on different places
If trying to access the administration form through /admin/settings/blocktheme I'm given a 404 - Access denied - you are not authorized to access this page.
/* what works */
When creating new/editing blocks on site_name2, the declared blockthemes are available through the selector.
When using a fresh install of a site there is no problem accessing the blocktheme administration interface.
Can anyone help me out here??
Comments
#1
A similar problem has been reported : http://drupal.org/node/342997 ...
It seem that the problem is due to user rights.
#2
Please verify that the User Rights are set correctly and if the problem persists with the current release of Drupal.
#3
I'm also seeing the Access Denied behavior on the same blocktheme version (Drupal 6.10).
There appear to be no user rights available for adjustment for this module -- I was looking at the permissions list while logged in as user 1, and could see no permissions related to block theme. (I don't remember anything about how it worked in D5.)
I've tried deactivating/reactivating, with no luck. Blocktheme doesn't seem to have an uninstall routine. Could try manually dropping the module's tables -- would that be unwise?
#4
Duplicate of #342997: Can't access to /admin/settings/blocktheme with role, only with "Super" Webmaster role (First user)..
A fix is commited but there is no release which includes it.