vtiger Forum Index vtiger
The Honest Open Source CRM
 

Warning: Call-time pass-by-reference has been deprecated
Click here to go to the original topic

 
       vtiger Forum Index -> Help - 5.0.3
Previous topic :: Next topic  
Author Message
pmello



Joined: 07 Jun 2007
Posts: 5

Posted: Fri Jun 08, 2007 1:32 pm    Post subject: Warning: Call-time pass-by-reference has been deprecated  

I just installed vTiger 5.0.3 on a remotely hosted

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of saveInventoryProductDetails(). 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. in ...modules/SalesOrder/SalesOrder.php on line 126

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of saveInventoryProductDetails(). 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. in ... modules/Invoice/Invoice.php on line 117

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of saveInventoryProductDetails(). 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. in
...modules/PurchaseOrder/PurchaseOrder.php on line 107





I can log in an navigate, but these error lines are popping up on every panel


Should I ask them to change it, or should I modify some code to work differently?

any ideas?

tks
Back to top  
Liza



Joined: 01 Jun 2007
Posts: 116

Posted: Thu Jul 05, 2007 6:48 am    Post subject: Warning: Call-time pass-by-reference has been deprecated  

Dear pmello,
PHP version may be the cause for this issue. kindly let me know the PHP version.

Thanks & Regards,
Liza.
Back to top  
jvkranenburg



Joined: 12 Apr 2007
Posts: 15

Posted: Wed Jul 25, 2007 5:39 am    Post subject: Re: Warning: Call-time pass-by-reference has been deprecated  

I have the same issue over here. My server config:

Apache 2.0.52 with PHP 4.3.9 and MySql 4.1.20

I also installed version 5.0.2 of VTiger and this version does NOT have this issue.

Is there somebody who has a solution found yet?
Back to top  
jvkranenburg



Joined: 12 Apr 2007
Posts: 15

Posted: Wed Jul 25, 2007 5:43 am    Post subject: Re: Warning: Call-time pass-by-reference has been deprecated  

Ok .. found it.

Adding a .htaccess (or change php.ini) to met the following requirements:

Code:
php_flag allow_call_time_pass_reference on
php_flag safe_mode off
php_flag log_errors off
php_flag display_errors on
php_flag file_uploads on
php_flag register_globals off
php_flag output_buffering on
php_flag log_errors off
php_flag short_open_tag on


The first one solved the problem.

;-)
Back to top  
scavenger



Joined: 25 Aug 2007
Posts: 5

Posted: Mon Aug 27, 2007 3:58 pm    Post subject: Re: Warning: Call-time pass-by-reference has been deprecated  

Et avec un PHP 5.2.2 ? Comment résoudre le pb ? Le .htaccess m'a fait planter l'ensemble du site...
Back to top  
 
       vtiger Forum Index -> Help - 5.0.3
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group