Ticket #253 (new defect)

Opened 3 months ago

Last modified 16 hours ago

call-time pass-by-reference warnings

Reported by: flack Assigned to: rambo
Priority: major Milestone: 8.09 Ragnaroek
Component: MidCOM core Version: 1.8 Thor
Keywords: Cc:

Description

Different parts of Midcom (auth service f.x.) rely on deprecated PHP functionality, so in standard php.ini configurations, requests produce tons of warnings. This is the output for one request to a n.n.static page (with require_valid_user()):

( ! ) 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 /usr/share/php/midcom/lib/midcom/services/auth.php on line 492
Call Stack
#	Time	Memory	Function	Location
1	0.0006	112580	{main}( )	../8-86-21-0.php:0
2	0.0024	201728	require( '/usr/share/php/midcom/lib/midcom.php' )	../8-86-21-0.php:118

( ! ) 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 /usr/share/php/midcom/lib/midcom/services/auth.php on line 636
Call Stack
#	Time	Memory	Function	Location
1	0.0006	112580	{main}( )	../8-86-21-0.php:0
2	0.0024	201728	require( '/usr/share/php/midcom/lib/midcom.php' )	../8-86-21-0.php:118

( ! ) 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 /usr/share/php/midcom/lib/midcom/services/auth/backend/simple.php on line 44
Call Stack
#	Time	Memory	Function	Location
1	0.0006	112580	{main}( )	../8-86-21-0.php:0
2	0.0024	201728	require( '/usr/share/php/midcom/lib/midcom.php' )	../8-86-21-0.php:118
3	0.0192	1779120	midcom_services_auth->initialize( )	../midcom.php:126
4	0.0194	1792844	midcom_services_auth->_prepare_authentication_drivers( )

( ! ) 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 /usr/share/php/midcom/lib/midcom/baseclasses/core/dbobject.php on line 115
Call Stack
#	Time	Memory	Function	Location
1	0.0006	112580	{main}( )	../8-86-21-0.php:0
2	0.0024	201728	require( '/usr/share/php/midcom/lib/midcom.php' )	../8-86-21-0.php:118

( ! ) 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 /usr/share/php/midcom/lib/midcom/baseclasses/core/dbobject.php on line 394
Call Stack
#	Time	Memory	Function	Location
1	0.0006	112580	{main}( )	../8-86-21-0.php:0
2	0.0024	201728	require( '/usr/share/php/midcom/lib/midcom.php' )	../8-86-21-0.php:118

( ! ) 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 /usr/share/php/midcom/lib/midcom/baseclasses/core/dbobject.php on line 551
Call Stack
#	Time	Memory	Function	Location
1	0.0006	112580	{main}( )	../8-86-21-0.php:0
2	0.0024	201728	require( '/usr/share/php/midcom/lib/midcom.php' )	../8-86-21-0.php:118

( ! ) 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 /usr/share/php/midcom/lib/midcom/baseclasses/core/dbobject.php on line 605
Call Stack
#	Time	Memory	Function	Location
1	0.0006	112580	{main}( )	../8-86-21-0.php:0
2	0.0024	201728	require( '/usr/share/php/midcom/lib/midcom.php' )	../8-86-21-0.php:118

( ! ) 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 /usr/share/php/midcom/lib/midcom/helper/_basicnav.php on line 1119
Call Stack
#	Time	Memory	Function	Location
1	0.0006	112580	{main}( )	../8-86-21-0.php:0
2	0.0024	201728	require( '/usr/share/php/midcom/lib/midcom.php' )	../8-86-21-0.php:118

( ! ) 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 /usr/share/php/midcom/lib/midcom/helper/_basicnav.php on line 1136
Call Stack
#	Time	Memory	Function	Location
1	0.0006	112580	{main}( )	../8-86-21-0.php:0
2	0.0024	201728	require( '/usr/share/php/midcom/lib/midcom.php' )	../8-86-21-0.php:118

( ! ) 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 /usr/share/php/midcom/lib/midcom/services/rcs/config.php on line 41
Call Stack
#	Time	Memory	Function	Location
1	0.0006	112580	{main}( )	../8-86-21-0.php:0
2	0.0024	201728	require( '/usr/share/php/midcom/lib/midcom.php' )	../8-86-21-0.php:118
3	0.0725	7251664	require( '/usr/share/php/midcom/lib/midcom/services/rcs.php' )	../midcom.php:191

( ! ) 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 /usr/share/php/midcom/lib/net/nemein/tag/tag_link.php on line 163
Call Stack
#	Time	Memory	Function	Location
1	0,0006	112580	{main}( )	../8-86-21-0.php:0
2	0,1498	18313552	midcom_application->codeinit( )	../8-86-21-0.php:122
3	0,2093	21454556	midcom_services_metadata->populate_meta_head( )	../application.php:550
4	0,2094	21455652	midcom_helper_metadata->get( )	../metadata.php:255
5	0,2094	21455652	midcom_helper_metadata->_retrieve_value( )	../metadata.php:163
6	0,2094	21455652	midcom_helper_metadata->get_datamanager( )	../metadata.php:462
7	0,2094	21455652	midcom_helper_metadata->load_datamanager( )	../metadata.php:184
8	0,2125	21581148	midcom_helper_datamanager2_datamanager->set_schema( )	../metadata.php:224
9	0,2125	21581148	midcom_helper_datamanager2_datamanager->_load_types( )	../datamanager.php:142
10	0,2290	23287592	midcom_helper_datamanager2_type->initialize( )	../datamanager.php:213
11	0,2290	23287832	midcom_helper_datamanager2_type_tags->_on_initialize( )	../type.php:116
12	0,2290	23287832	midcom_application->load_library( )	../tags.php:36
13	0,2290	23287832	midcom_helper__componentloader->load( )	../application.php:1937
14	0,2290	23287832	midcom_helper__componentloader->_load( )	../_componentloader.php:234
15	0,2293	23322620	midcom_baseclasses_components_interface->initialize( )


Change History

09/30/08 14:49:43 changed by bergie

  • milestone set to 1.8 Thor.

10/07/08 16:15:22 changed by bergie

  • version changed from 2.8 to 1.8 Thor.
  • milestone changed from 1.8 Thor to 8.09 Ragnaroek.

Reassigning to Ragnaroek as that is now the stable branch.

10/07/08 16:25:55 changed by bergie

  • owner changed from tarjei to rambo.