Warning: Call-time pass-by-reference has been deprecated Solution

Source: Internet
Author: User
The problem is as follows:Warning: Call-time pass--
Reference has been deprecated-argument passed by value; If you wowould
Like to pass it by reference, modify the declaration of [runtime
Function name] (). If you wowould like to enable call-time pass--
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
C: \ crm203 \ modules \ Reports \ Report. php on line 370
Modify PHP. ini, allow_call_time_pass_reference = On. Real
In practice, I installed Apache/2.0.58 (Win32)
PHP/4.4.2. This option is enabled by default. In addition, I remember a friend saying that another solution is to disable the error report function. In fact, you can set the value of the above php configuration file to on.
To solve this problem, it is estimated that disabling the report function is a method of self-deception, because this is a big mistake. It does not mean that it can be solved if it is not displayed.
I found that there are several reasons that may cause the above problems:
1. The above value is set to off. Solution: Modify PHP. ini, allow_call_time_pass_reference = On.
2. If you install it in windows, and the php installation directory everyone does not have the permission to read and execute, this problem may also occur;
3. This problem may also occur if the session directory settings in the php configuration are incorrect. Including incorrect path settings in the configuration file and no session data directory created;
4. This problem may also occur if the "des" directory in the php configuration is incorrectly set. Including the incorrect path configuration in the configuration file and the directory "des" is not created.
In the last three cases, most configuration instructions for apache + php are described in detail.

The above problem usually occurs when you do not use the vTigerCRM installation program, but manually install apache + php + mysql, such as using a separate installation file or
Easyphp installation package. These problems are likely to occur. The above are some of my experiences in solving these problems, which are not necessarily representative. I only hope you can provide some reference when solving similar problems.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.