Results 1 to 5 of 5

Thread: Unable to upgrade due to call time pass ref

  1. #1
    agcilantro is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    45

    Default Unable to upgrade due to call time pass ref

    I am unable to upgrade to 4.5.1 h from 4.5.1g because of the following message in the upgrade module:
    PHP Setting: Call Time Pass By Reference Allow Call Time Pass Reference is On (this should be set to Off in php.ini)



  2. #2
    carrenet is offline Sugar Community Member
    Join Date
    Jun 2006
    Location
    PARIS
    Posts
    50

    Default Re: Unable to upgrade due to call time pass ref

    Hello

    If you are using Apache as your web server, you can turn off the 'call time pass ref' in the file .htaccess
    Just edit .htaccess in the root directory of your Sugar installation and add the line:
    Code:
    php_value allow_call_time_pass_reference 0

    Nicolas Foucher
    --
    CARRENET www.carrenet.com
    Partenaire SugarCRM

  3. #3
    goldfish is offline Sugar Community Member
    Join Date
    Jun 2005
    Posts
    13

    Question Re: Unable to upgrade due to call time pass ref

    I am experiencing the same issue. I have attempted to edit the .htaccess file however the change you suggest produces 500 errors.

    I've tried:

    Code:
    php_value allow_call_time_pass_reference 0
    Code:
    php_value allow_call_time_pass_reference off
    Code:
    php_flag allow_call_time_pass_reference 0
    Code:
    php_flag allow_call_time_pass_reference off
    I immediately get 500 errors each time. When I remove the line the pages load fine, but I'm of course still unable to upgrade!

    I'm also getting the following in the error log:

    [24-Nov-2007 09:58:45] PHP Warning: Cannot use a scalar value as an array in /home/********/public_html/crm/modules/UpgradeWizard/systemCheck.php on line 207

    specifically on the upgrade page.

    Anyone any ideas?
    Last edited by goldfish; 2007-11-24 at 05:47 PM.

  4. #4
    agcilantro is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    45

    Default Re: Unable to upgrade due to call time pass ref

    Quote Originally Posted by goldfish
    I am experiencing the same issue. I have attempted to edit the .htaccess file however the change you suggest produces 500 errors.

    I've tried:

    Code:
    php_value allow_call_time_pass_reference 0
    Code:
    php_value allow_call_time_pass_reference off
    Code:
    php_flag allow_call_time_pass_reference 0
    Code:
    php_flag allow_call_time_pass_reference off
    I immediately get 500 errors each time. When I remove the line the pages load fine, but I'm of course still unable to upgrade!

    I'm also getting the following in the error log:

    [24-Nov-2007 09:58:45] PHP Warning: Cannot use a scalar value as an array in /home/********/public_html/crm/modules/UpgradeWizard/systemCheck.php on line 207

    specifically on the upgrade page.

    Anyone any ideas?
    I called my hosting service, and they told me to put a new file called php.ini in the folder with sugar crm with the allow call time pass reference=off string in the file. It worked very well for me.

  5. #5
    iala is offline Junior Member
    Join Date
    May 2008
    Posts
    4

    Default Re: Unable to upgrade due to call time pass ref

    Hi!!

    I´m trying to update and I have the same problem. My provider said me the same thing, agcilantro, create a PHP.INI, but it doesn´t work. Could you paste the php.ini you use in this forum? I will try it.

    Thanks a lot

    Ivan

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Unable to clear upgrade notices
    By pbwebguy in forum Installation and Upgrade Help
    Replies: 7
    Last Post: 2008-01-24, 07:13 PM
  2. Allow Call Time Pass Reference
    By muhnihausen in forum Installation and Upgrade Help
    Replies: 10
    Last Post: 2007-10-17, 09:49 PM
  3. Upgrade process review - 2.0 to 4.0
    By kimvette in forum General Discussion
    Replies: 2
    Last Post: 2007-05-22, 06:18 PM
  4. Call Time Pass By error
    By Bedlore in forum Help
    Replies: 1
    Last Post: 2006-09-13, 03:06 AM
  5. Task Time Due AM/PM Workaround 30c
    By zoomer in forum Help
    Replies: 0
    Last Post: 2005-07-25, 04:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •