Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
b_rahul Offline
New Member
 
Posts: 6
Join Date: Jul 2005
PHP Warning: Call-time pass-by-reference has been deprecated - 21-07-2005, 04:19 PM

My apache error_log files are filling up with :

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. in /home/rahul/esupport/modules/tickets/functions_ticketmain.php on line 1869
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. in /home/rahul/esupport/modules/tickets/functions_alertrules.php on line 296

What gives?
   
Reply With Quote
  (#2) Old
ntwaddel Offline
New Member
 
ntwaddel's Avatar
 
Posts: 5
Join Date: Jul 2005
Location: San Luis Obispo, CA
21-07-2005, 05:03 PM

well if you set allow_call_time_pass_reference to true in your php.ini it will go away. they are calling a function that was depreciated
   
Reply With Quote
  (#3) Old
Varun Shoor Offline
Chief Executive Officer
 
Varun Shoor's Avatar
 
Posts: 2,828
Join Date: May 2003
21-07-2005, 06:46 PM

Hi,
Please submit a bug report for this at http://bugs.kayako.net, We will get it fixed.

Regards,

Varun Shoor


Varun Shoor (varun.shoor ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#4) Old
alaghaie Offline
New Member
 
alaghaie's Avatar
 
Posts: 3
Join Date: Nov 2007
Location: Placentia, CA
Thumbs up Don't Forget to restart the PHP Engine - 03-01-2008, 04:15 PM

This worked for me on my IIS6 + PHP installation.
Don't Forget to restart the PHP Engine after you make your changes.
   
Reply With Quote
  (#5) Old
yy17616433 Offline
Banned
 
Posts: 1
Join Date: Jan 2008
Lightbulb 05-01-2008, 08:44 AM

That is sure!!!
〖^o^〗^o^ 〖^o^〗
Slam DunkYuYu Hakusho
claymore
   
Reply With Quote
  (#6) Old
bear Offline
Community Moderator
 
Posts: 674
Join Date: Jan 2005
05-01-2008, 12:24 PM

Quote:
Originally Posted by Varun Shoor View Post
Hi,
Please submit a bug report for this at Kayako Bug Tracker - Bug List, We will get it fixed.
I still get this in my logs.
   
Reply With Quote
  (#7) Old
Jamie Edwards Online
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,018
Join Date: Jan 2006
Location: United Kingdom
05-01-2008, 01:24 PM

I am afraid it is unavoidable; I am not sure if Varun plans to work around it in Version 4, but when Version 3 core was developed call-time pbr was required for multiple return items.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
  • New to the forum? New user's guide here.
  • Submit bug reports here.
  • Submit support tickets via the members area.
  • Submit sales queries either via live chat or via e-mail.
  • There is no official ETA on Version 4.
   
Reply With Quote
  (#8) Old
craigbrass Online
Senior Member
 
Posts: 5,315
Join Date: Jun 2005
Location: Cumbria, UK
05-01-2008, 01:28 PM

You should ignore PHP Warnings like this. Most scripts have this happening.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#9) Old
Jamie Edwards Online
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,018
Join Date: Jan 2006
Location: United Kingdom
05-01-2008, 01:33 PM

bear has PHP warnings ignored, as do most people - it doesn't stop them being logged, however.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
  • New to the forum? New user's guide here.
  • Submit bug reports here.
  • Submit support tickets via the members area.
  • Submit sales queries either via live chat or via e-mail.
  • There is no official ETA on Version 4.
   
Reply With Quote
  (#10) Old
craigbrass Online
Senior Member
 
Posts: 5,315
Join Date: Jun 2005
Location: Cumbria, UK
05-01-2008, 01:47 PM

I know they are logged, I am just saying many pieces of software do this and it should be ignored as there isn't much you can do.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#11) Old
bear Offline
Community Moderator
 
Posts: 674
Join Date: Jan 2005
05-01-2008, 03:42 PM

Quote:
Originally Posted by craigbrass
I am just saying many pieces of software do this
Kayako is the only software I use that produces errors like this.

Of course I'm ignoring them, Craig...it's just an annoyance to see all the warnings in the logs, that's all. If it's deprecated, that means it's not going to be supported much longer. Surely a replacement for this can (and needs to) be found, as it won't work forever.

PHP4 is "end of life", PHP5 is the new supported version, and PHP6 is coming. Many things found to be useless or even dangerous have been removed entirely. Might as well preemptively fix it before it become a must and an emergent need, eh?
   
Reply With Quote
  (#12) Old
Jamie Edwards Online
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,018
Join Date: Jan 2006
Location: United Kingdom
05-01-2008, 04:59 PM

Quote:
Kayako is the only software I use that produces errors like this.
Several other scripts do as well. The methods used aren't insecure or volatile, they are simply depreciated as they are technically no longer needed with PHP5 features and possible some work-around code in PHP4.

While PHP4 is reaching end of life, we have no reason to cut off support for it - Version 4 will support PHP4 and PHP5 and right now we see no incompatibilities with PHP6.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
  • New to the forum? New user's guide here.
  • Submit bug reports here.
  • Submit support tickets via the members area.
  • Submit sales queries either via live chat or via e-mail.
  • There is no official ETA on Version 4.
   
Reply With Quote
Reply

Tags
calltime, deprecated, passbyreference, php, warning

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Desk completely down with multiple errors Lisa SupportSuite, eSupport and LiveResponse 31 30-05-2007 10:23 AM
problem ! graziano68 SupportSuite, eSupport and LiveResponse 2 08-11-2006 08:07 AM
Can not insert staff? ozgurerdogan SupportSuite, eSupport and LiveResponse 5 31-10-2006 12:48 PM
Swift CLI problem joshopkins SupportSuite, eSupport and LiveResponse 2 02-09-2006 06:12 AM
mail parser not working netjunkie SupportSuite, eSupport and LiveResponse 8 14-06-2006 10:37 AM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46