DragonflyCMS Projects > BizStore > Warning: Call-time pass-by-reference has been deprecated > Community Forums > Phoenix Netology
Forum Index > eCommerce > BizStore

Warning: Call-time pass-by-reference has been deprecated Reply to topic


I'm not sure what this is, but it puts close to 200 of this warning on the page line 21 to line line 232.

I hope this helps you out, it only seems to show up when I'm an Admin but normal users do not see it.

Thanks




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 push(). 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. in /home/glohoeghall/public_html/modules/BizStore/descpage.php on line 21

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 push(). 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. in /home/glohoeghall/public_html/modules/BizStore/descpage.php on line 26

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CMS Version 9.1.2.1 PHP Version 5.0.4 MySQL Version 4.1.20 (client: 4.1.20) Linux apache


hmm, thought I had eliminated that issue a very long time ago when it hit me - I'd say 198 errors to be precise.

The use of & to force arguments by reference causes it - most hosts set "allow_call_time_pass_reference" in php.ini so it rarely shows up. In reality it is redundant in current versions of php4 and 5.

I guess I must have grabbed the descpage.php to build the release - easily fixed - attached.
Attachment: descpage.zip
Description
Filename descpage.zip
Filesize 3.56 KiB
Downloaded 1 Time(s)
You are not allowed to view/download this attachment

DonationsPro for vBulletin, SMF, MyBB, DragonflyCMS

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Thanks will look into that on my weekend. aka wens-fri

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CMS Version 9.1.2.1 PHP Version 5.0.4 MySQL Version 4.1.20 (client: 4.1.20) Linux apache

All times are Australia/Adelaide


Jump to: