Closed (fixed)
Project:
Flag
Version:
7.x-3.x-dev
Component:
Flag core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2012 at 07:17 UTC
Updated:
23 Sep 2012 at 16:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
joachim commentedWhat version of PHP are you on?
Comment #2
kaizerking commentedEDIT:
If i try to update the flag also I am getting this
Comment #3
kaizerking commentedPhp 5.2
Comment #4
joachim commentedSigh, this is a PHP 5.2 thing isn't it?
This would need switching to
call_user_func(array($classname, $method), $param);Comment #5
kaizerking commentedYes, indeed it shows high lighted in my net beans editor as error
$update_class::update($flag);Comment #6
joachim commentedCan you try this patch please?
Comment #7
joachim commentedTried this myself on PHP 5.2.
Turns out quite a few things needed changing. *sigh*.
Comment #8
joachim commentedTests pass, committing.
Issue #1778628 by joachim: Fixed uses of variable classname, unsupported on PHP 5.2.
Comment #9
kaizerking commentedMy apologies for the delay,I will test and come back, each time I am enabling a new module my site is crashing, i want to make sure that it is not caused by some other module . I have been installing the site for last 12hours.
Comment #10
kaizerking commentedthis worked
Comment #11
joachim commentedThanks for trying it out! :)