Project:CSS Injector
Version:6.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I just installed CSS_injector, but I can't run the configuration page of CSS_injector under Site Configuration. This is the error I got:

warning: Parameter 1 to theme_css_injector_admin_form() expected to be a reference, value given in ...\includes\theme.inc on line 617.

I'm running a local test site, with XAMPP version 1.7.2: MySQL 5.1.37, PHP 5.3.0

Can anyone help me ?

Thanx.

Comments

#1

I'm brand new in the Drupal world.
I have the exact same problem with Enrityn.
Can anyone help?
Thanks

#2

change line 54 of css_injector.admin.inc to
function theme_css_injector_admin_form($form) {
used to be:
function theme_css_injector_admin_form(&$form) {

this is a php 5.3.0 problem. the same thing happened for me on snow leopard.

#3

I have the same problem, the change on line 54 don't work for me.

Linux 64bits
PHP Version 5.3.1
Apache/2.2.14

#4

It worked for me, wedge. Thank you!

#5

Status:active» needs review

Here is a patch for the above change.

AttachmentSizeStatusTest resultOperations
css_injector_php5.3_01.patch479 bytesIgnored: Check issue status.NoneNone

#6

Committed. Thanks!

#7

Status:needs review» fixed

#8

Status:fixed» closed (fixed)

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

nobody click here