I even can't use the module since I can't configure it.

I try to do so at admin/settings/js_injector

I've set all the permissions correctly to use and administer the module

The message Drupal throws me is:

warning: Parameter 1 to theme_js_injector_admin_form() expected to be a reference, value given in /path_to_my_drupal_installation/includes/theme.inc on line 668

Then I just see the title 'js injector' and a description (Use js injection rules to add small snippets of js (JavaScript Files) to the page output when specific criteria are met.) but nothing more.

I'm using Drupal 6.22

Any further information, just ask so I can post it here.

Comments

carmiaca’s picture

I had the same problem.
Change line 54 in js_injector.admin.inc
function theme_js_injector_admin_form(&$form) {
to
function theme_js_injector_admin_form($form) {

alby111’s picture

Thanks a lot Carmiaca, you saved me meany hours of ansiety, best wishes =)

javiernovoac’s picture

Status: Active » Needs review

yep! that's it! thank you very much!!

ponsich’s picture

Version: 6.x-1.0 » 6.x-1.1
Status: Needs review » Fixed

Thanks to javiernovoac
Edit: Thanks to carmiaca too ¦)

Status: Fixed » Closed (fixed)

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