Call-time pass-by-reference error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenFreeway |
New
|
Undecided
|
Unassigned |
Bug Description
In order to eliminate the problem of Call-time pass-by-reference errors
for some clients running very up to date php5 and where they dont have access to their php.ini to set allow_call_
(this is a big problem on localhost WAMP and XAMPP also)
However I have found that it affects session creation and straight away Admin cannot login and user cannot login or add items to the shopping cart.
By replacing the files includes/
I can get it all to work ok......but what about the depreciated function variables &$ in the session files can this be rewritten for openfreeway.org? as to elininate call_time_
Can someone solve this problem for me or is it enough to leave the original session.php files in place without replacing the depreciated &$.
PHP 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 would like to enable call-time pass-by-reference, you can set allow_call_