Page 1 of 1

PHP warning in php.ini file

Posted: Fri Jan 30, 2009 5:17 am
by gagan
HI everyone,

I have got one warning in my php file.Please help me i want to remove this warning .How it can be removed ,warning is :

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 /home/fhlinux146/r/rydergifts.co.uk/user/htdocs/admin/includes/OrderRender.class.php on line 88

gagan

Re: PHP warning in php.ini file

Posted: Fri Jan 30, 2009 10:44 am
by Attero
You might want to make your software so that it works rather than having to edit the ini file, especially if you are offering this software to other users.

If you have access to the php.ini file just open that up and press ctrl+f and search for allow_call_time_pass_reference.
Then do as it says.

If you don't have access to the ini file, (I'm not sure if it will work, but it's worth a try) use:

Code: Select all

<?php
ini_set('allow_call_time_pass_reference', true);
?>