I had CSS injector installed under Drupal 6.1 and it worked fine. Since my upgrade to Drupal 6.2 I get a No access, you do not have sufficient access rights to visit this page, whenever I try to edit one of my existing or add a new CSS injector.

I have checked the access rights of the sites/default/files directory, but they appear to be okay (the uploading of images via the Img module works fine).

Comments

mdonkers’s picture

Found this information on converting 6.0, 6.1 modules to 6.2:

Converting 6.0, 6.1 modules to 6.2

mdonkers’s picture

Fixed the problem with the following workaround:

In css_injector.module in the function css_injector_menu:

have copied the following two lines:

      'access callback' => 'user_access',
      'access arguments' => array('administer css injection'),

from the item 'admin/settings/css_injector'

to the items: 'admin/settings/css_injector/edit', 'admin/settings/css_injector/add', and' admin/settings/css_injector/delete'.

Now it works fine, again.

Macronomicus’s picture

Thanks .. that worked perfectly!! ^_^

Rob T’s picture

THis seems to be working for me as well. Thanks.

eaton’s picture

The fix has been checked in and is part of the dev version -- I'll roll a new release shortly. Thanks!

pasqualle’s picture

bump
the project does not have dev release

new release or dev snaphot is required as soon as possible. asking people to hack the module is not the way to go..

eaton’s picture

Status: Active » Fixed

A new release has been rolled -- 1.2 includes the fixed code. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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