Closed (fixed)
Project:
Admin
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Issue tags:
Reporter:
Created:
29 Sep 2009 at 09:54 UTC
Updated:
25 Aug 2010 at 18:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
seworthi commentedI had to change the following 2 line to get admin to work under PHP 5.3:
admin.module: Line 213;
Original:
function admin_system_info_alter(&$info, &$theme) {Modified:
function admin_system_info_alter(&$info, $theme) {theme/template.php: Line 94;
Original:
function slate_fieldset(&$element) {Modified:
function slate_fieldset($element) {I have not done extensive testing yet, but seems to work.
Comment #2
whatdoesitwant commentedCheers @Seworthi, it seems to work. admin is the best thing that happened to drupal6 since views. I would create a new view set before going without it.
Comment #3
cels commentedmaintainers can confirm this solution and commit?
Comment #4
macjoyful commentedJust wanted to confirm that making the modifications is an easy fix for the php 5.3 issue. I'm a drupal newbie but definitely appreciate the look and utility of this module.
Comment #5
ezar commentedworking fine!
please commit it.
regards,
eZar
Comment #6
petebarnett commentedI can confirm this.
As detailed in http://drupal.org/node/360605 php 5.3 throws an error when passing a value to a function that takes a reference.
Both corrections to the function signatures bring them in line with the description in D6 API documentation.
theme_fieldsethas $element passed as a value (http://api.drupal.org/api/function/theme_fieldset/6) andhook_system_info_alter()(http://api.drupal.org/api/function/hook_system_info_alter) has $file passed by value, not reference.Thanks,
Peter
Comment #7
oriol_e9gtagged
Comment #8
letsdothisdrupal commentedtagged
Comment #9
yhager commentedSame fix as in #1, attached as a patch.
Works for me too.
Comment #10
Stasroot1 commentedThis work! Ok! Sory my inglish.
Comment #11
jpatiaga commentedPatch in post #1 works for me. Thanks.
Comment #12
harking commentedPatch worked for me too.
Changing to critical as interface is unusable in PHP 5.3.
Comment #13
makangus commentedworked on snow leopard
Comment #14
chris_gooley commentedworked for me too. thanks.
Comment #15
EmlynC commentedCheers worked for me (Ubuntu 10.4).
Comment #16
alexmc commentedPatch file in #9 didn't actually work - I couldn't apply the patch normally. However I manually edited the files it was trying to patch and that worked.
(Ubuntu 10.4, 32 bit, Drupal 6. whatever is current release.)
Comment #17
manuel garcia commentedpatch doesnt apply, but the changes do work apparently. Also, the 2.x branch doesnt have this problem =)
Comment #18
greg.harvey+1, this works. Patch available for 4 months, R&TBC for 3 months, issue nearly a year old...? Huh?
Edit: Hmm, 6.x-1.x maintainer required I see. That explains it. Required for some time, by the looks!
Comment #19
Anonymous (not verified) commentedThis patch has been applied and committed and will be present in the next release (which will be tagged shortly).
Comment #20
manuel garcia commentedThanks!
Comment #22
OpenChimp commentedI am running PHP Version 5.2.13 on MAMP 1.9 and am also getting this error.