Call-time pass-by-reference error

Bug #521410 reported by cybergord
6
This bug affects 1 person
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_time_pass_reference to true. I have replaced the instance iof &$ with $ in a search and replace action throughout my open source php shopping cart software.

(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/classes/sessions.php with the originals

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_pass_reference errors completely??

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_time_pass_reference to true in your INI file. However, future versions may not support this any longer.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.