:) Hi Greg,
I was trying to get this information also, that should be a standard in
bug reporting policy (REQUIRED fields, and yes, we can change the
bugtracker's behavior)
presumably 5.3.0 +
As of PHP 5.3.0, you will get a warning saying that "call-time
pass-by-reference" is deprecatedwhen you use & in foo(&$a);
Basically in the function dec and the function call, & needs to be
removed....
It's a fairly easy fix, and I was considering doing it yesterday, think I
should proceed and push the code and you can merge it in?
Advise and input welcome,
Cheers,
Charles
Charles Wisniewski
Application Architect
CUNY School of Professional Studies
tel: 212.652.2094 http://sps.cuny.edu/
Greg Miernicki <email address hidden>
Sent by: <email address hidden>
05/24/2010 11:46 AM
Please respond to Bug 353573 <email address hidden>
To
<email address hidden>
cc
Subject
[Bug 353573] Re: PHP Warnings after install
What version of PHP was used in the environment for this bug?
Bug description:
Warnings
Warning: Call-time pass-by-reference has been deprecated; If you would
like
to pass it by reference, modify the declaration of
shn_location_get_descendants(). If you would like to enable call-time
pass-by-
reference, you can set allow_call_time_pass_reference to true in your INI
file. in
/var/www/templevoad/sahana/mod/or/lib_or.inc on line 36
Warning: Call-time pass-by-reference has been deprecated; If you would
like
to pass it by reference, modify the declaration of shn_get_parents(). If
you
would like to enable call-time pass-by-reference, you can set
allow_call_time_pass_reference to true in your INI file. in
/var/www/templevoad/sahana/mod/or/lib_or.inc on line 141
Warning: Call-time pass-by-reference has been deprecated; If you would
like
to pass it by reference, modify the declaration of [runtime function
name](). If
you would like to enable call-time pass-by-reference, you can set
allow_call_time_pass_reference to true in your INI file. in
/var/www/templevoad/sahana/inc/lib_location.inc on line 113
Warning: Call-time pass-by-reference has been deprecated; If you would
like
to pass it by reference, modify the declaration of
shn_config_database_fetch(). If
you would like to enable call-time pass-by-reference, you can set
allow_call_time_pass_reference to true in your INI file. in
/var/www/templevoad/sahana/mod/admin/conf_admin.inc on line 128
I was about to promote sahana as a proof of concept project but i cannot
present it with these warnings popping up....
Is there a more stable release that I can use, that would not display
these
warnings? Please advise...
:) Hi Greg,
I was trying to get this information also, that should be a standard in
bug reporting policy (REQUIRED fields, and yes, we can change the
bugtracker's behavior)
presumably 5.3.0 +
As of PHP 5.3.0, you will get a warning saying that "call-time
pass-by-reference" is deprecatedwhen you use & in foo(&$a);
Basically in the function dec and the function call, & needs to be
removed....
It's a fairly easy fix, and I was considering doing it yesterday, think I
should proceed and push the code and you can merge it in?
Advise and input welcome,
Cheers,
Charles
Charles Wisniewski sps.cuny. edu/
Application Architect
CUNY School of Professional Studies
tel: 212.652.2094
http://
Greg Miernicki <email address hidden>
Sent by: <email address hidden>
05/24/2010 11:46 AM
Please respond to
Bug 353573 <email address hidden>
To
<email address hidden>
cc
Subject
[Bug 353573] Re: PHP Warnings after install
What version of PHP was used in the environment for this bug?
-- /bugs.launchpad .net/bugs/ 353573
PHP Warnings after install
https:/
You received this bug notification because you are subscribed to Sahana-
Agasti.
Status in Sahana Agasti: New
Bug description: get_descendants (). If you would like to enable call-time time_pass_ reference to true in your INI templevoad/ sahana/ mod/or/ lib_or. inc on line 36
Warnings
Warning: Call-time pass-by-reference has been deprecated; If you would
like
to pass it by reference, modify the declaration of
shn_location_
pass-by-
reference, you can set allow_call_
file. in
/var/www/
Warning: Call-time pass-by-reference has been deprecated; If you would time_pass_ reference to true in your INI file. in templevoad/ sahana/ mod/or/ lib_or. inc on line 141 time_pass_ reference to true in your INI file. in templevoad/ sahana/ inc/lib_ location. inc on line 113
like
to pass it by reference, modify the declaration of shn_get_parents(). If
you
would like to enable call-time pass-by-reference, you can set
allow_call_
/var/www/
Warning: Call-time pass-by-reference has been deprecated; If you would
like
to pass it by reference, modify the declaration of [runtime function
name](). If
you would like to enable call-time pass-by-reference, you can set
allow_call_
/var/www/
Warning: Call-time pass-by-reference has been deprecated; If you would database_ fetch() . If time_pass_ reference to true in your INI file. in templevoad/ sahana/ mod/admin/ conf_admin. inc on line 128
like
to pass it by reference, modify the declaration of
shn_config_
you would like to enable call-time pass-by-reference, you can set
allow_call_
/var/www/
I was about to promote sahana as a proof of concept project but i cannot
present it with these warnings popping up....
Is there a more stable release that I can use, that would not display
these
warnings? Please advise...