Follow-up Comment #14, sr #711 (project savane):
In php.ini, I just did some tests. First, I set the following:
error_reporting = E_ERROR | E_STRICT
display_errors = On
and attempted to use editgroupfeatures.php.
I got this E_STRICT warning:
Strict Standards: Assigning the return value of new by reference is
deprecated in .../editgroupfeatures.php on line 162
and several more that all looked like:
Strict Standards: var: Deprecated. Please use the public/private/protected
modifiers in .../include/Error.class on line 29
with various class and line numbers (the classes were Error, Layout and
Group.)
I doubt this means much of anything, but thought I should mention it.
There were no E_ERROR errors reported.
I next set:
error_reporting = E_CORE_ERROR | E_COMPILE_ERROR
No errors reported.
Next I did this:
error_reporting = E_CORE_WARNING | E_COMPILE_WARNING
And got this error:
Warning: Call-time pass-by-reference has been deprecated - argument passed by
value; if you would like to pass it by reference, modify the declaration of
[runtime function name](). If you woul dlike to enable call-time
pass-by-reference, you can set allow_call_time_pass_reference to true in your
INI file. However, future versions may not support this any longer. in
.../include/session.php on line 76
Next I set this:
allow_call_time_pass_reference = On
and the warning went away. But this does point to some old, deprecated code.
As it says, allow_call_time_pass_reference is likely to be removed from PHP
in the future.
Setting allow_call_time_pass_reference to "On" had no effect on the problems
I'm reporting (1: Bugs Tracker is off although Group Type says it should be
on; 2: can't turn on/off anything in editgroupfeatures.php except for
Mailing-List).
The next experiment was this one:
error_reporting = E_PARSE
No errors.
Next:
error_reporting = E_WARNING
No errors.
Next:
error_reporting = E_NOTICE
This last one is what spits out the long set of "Notice:" errors, such as I
reported the other day. Some examples:
Notice: Undefined index: module in .../include/pre.php on line 67
Notice: Use of undefined constant SV_LANG - assumed 'SV_LANG' in
.../include/i18n.php on line 73
Notice: Undefined variable: style in .../include/Layout.class on line 249
There were well over 100 of these, most of them undefined constant notices,
quite a few undefined index, and only a handful of undefined variable. For
the constants it seems to just want them 'single-quoted' from what I can
tell. <shrug>
That was it for the PHP 5 error reporting tests. Don't know if this was
informative in any way.
_______________________________________________________
Reply to this item at:
<http://gna.org/support/?func=detailitem&item_id=711>
_______________________________________________
Message sent via/by Gna!
http://gna.org/