RSS

LuxCal Forum

The place for questions, suggestions and news about the LuxCal Event Calendar

User:   Password:   Remember Me?   
LuxCal Forum / General / Support / Problem mini calendar / CAll-time pass-byreference...
Posted:  16 Jul 2011 10:59
Hi all,

i installed Luxcal but when i want to put the mini calendar into an iframe, i have an error.
pls find below

Warning: Call-time pass-by-reference has been deprecated in C:\Program Files\EasyPHPnew\www\calendrier\common\retrieve.php on line 119

Could you help me ?

Many thanks,
Posted:  16 Jul 2011 16:42   Last Edited By: Roel B.
Ah, you are running PHP 5.3. Right, from PHP 5.3 onwards, "call-time pass-by-reference" should not be used anymore and generates a warning.

The easiest solution is to edit the file common/retrieve.php as follows:
On line 119 remove the "&" just before $evtList, so

change: usort(&$evtList[$date], 'sortEvt'); into:  usort($evtList[$date], 'sortEvt');

or otherwise send me your email address (via the Contact Us page) and I will send you the updated retrieve.php file.

Roel
Posted:  16 Jul 2011 21:51
Thanks! I was seeing this warning in my logs as well.