Results 1 to 6 of 6

Thread: Help with: Parse error: user_utils.php(112) : eval()'d code on line 1

  1. #1
    aisha is offline Junior Member
    Join Date
    Dec 2007
    Posts
    2

    Default Help with: Parse error: user_utils.php(112) : eval()'d code on line 1

    I am getting a parse error on my sugar and then on login i get fatal error


    errors are:

    Parse error: syntax error, unexpected $end in.../sugar/include/utils/user_utils.php(112) : eval()'d code on line 1

    Fatal error: Call to undefined function authuserstatus() in..sugar//include/utils.php on line 2772

    help would be appreciated...

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Help with: Parse error: user_utils.php(112) : eval()'d code on line 1

    What version of sugar, db, webserver, o/s, php?

    Was the instance working and has now failed?

    Have you made any modifications?

  3. #3
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Help with: Parse error: user_utils.php(112) : eval()'d code on line 1

    Quote Originally Posted by aisha View Post
    I am getting a parse error on my sugar and then on login i get fatal error


    errors are:

    Parse error: syntax error, unexpected $end in.../sugar/include/utils/user_utils.php(112) : eval()'d code on line 1

    Fatal error: Call to undefined function authuserstatus() in..sugar//include/utils.php on line 2772

    help would be appreciated...
    I suppose it is due some incompatibility between SugarCRM version and php version.
    Did you upgrade php?

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  4. #4
    sakthi is offline Junior Member
    Join Date
    Feb 2011
    Posts
    3

    Default Re: Help with: Parse error: user_utils.php(112) : eval()'d code on line 1

    Quote Originally Posted by andopes View Post
    I suppose it is due some incompatibility between SugarCRM version and php version.
    Did you upgrade php?

    Cheers

    Please go include/utils.php on line 2772 and change

    function checkAuthUserStatus(){

    authUserStatus();
    }
    to

    function checkAuthUserStatus(){
    function authUserStatus(){}

    authUserStatus();
    }

  5. #5
    sakthi is offline Junior Member
    Join Date
    Feb 2011
    Posts
    3

    Default Re: Help with: Parse error: user_utils.php(112) : eval()'d code on line 1

    Quote Originally Posted by aisha View Post
    I am getting a parse error on my sugar and then on login i get fatal error


    errors are:

    Parse error: syntax error, unexpected $end in.../sugar/include/utils/user_utils.php(112) : eval()'d code on line 1

    Fatal error: Call to undefined function authuserstatus() in..sugar//include/utils.php on line 2772

    help would be appreciated...


    Please go include/utils.php on line 2772 and change

    function checkAuthUserStatus(){

    authUserStatus();
    }
    to

    function checkAuthUserStatus(){
    function authUserStatus(){}

    authUserStatus();
    }

  6. #6
    ignitesystems is offline Junior Member
    Join Date
    Aug 2010
    Posts
    1

    Default Re: Help with: Parse error: user_utils.php(112) : eval()'d code on line 1

    I have a different solution to this error:

    We are installing the trial of Sugar CE 6.4.0 and one of the files had become corrupted during FTP transfer, this had caused the file to become truncated ! i.e. it was missing the bottom section of code...

    A complete FTP upload corrected the truncated file and the issue was resolved.

    Inspect the file which the error is spitting out and then see if the file is complete or not.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 43
    Last Post: 2011-02-28, 12:25 PM
  2. How can i debug SugarCRM code line-by-line??
    By DerekWait7 in forum Help
    Replies: 1
    Last Post: 2009-09-19, 04:17 AM
  3. Parse Error: .../include/utils/mvc_utils.php(48) : eval()'d code on line 1
    By textheavy in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2009-07-30, 11:14 PM
  4. Replies: 3
    Last Post: 2006-10-04, 06:28 PM
  5. Replies: 1
    Last Post: 2006-09-28, 09:24 AM

Tags for this Thread

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
  •