Results 1 to 4 of 4

Thread: SugarCRM Crash

  1. #1
    nexweb is offline Sugar Community Member
    Join Date
    Sep 2005
    Posts
    68

    Exclamation SugarCRM Crash

    I recently visited the URL for a test installation and instead of being greeted with the familiar home screen I received a white screen with the following error:

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/clipped/public_html/crm/index.php on line 260

    The application has been working fine for months and I had made no changes to the installation or anything. Any idea how this could have happened? and is there a way to revive the installation?

    Sugar 4.2b
    Shared Host
    Red Hat Linux

  2. #2
    stevec is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    London
    Posts
    1,100

    Default Re: SugarCRM Crash

    If you open the file, what is on that line?

  3. #3
    nexweb is offline Sugar Community Member
    Join Date
    Sep 2005
    Posts
    68

    Default Re: SugarCRM Crash

    This is what I have on the line

    Line 259: $result = $current_user->retrieve($_SESSION['authenticated_user_id']);
    Line 260: if($result == null) { // if the object we get back is null for some reason, this will break - like user prefs are corrupted
    Line 261: $GLOBALS['log']->fatal('User retrieval for ID: ('.$_SESSION['authenticated_user_id'].') does not exist in database or retrieval failed catastrophically. Calling session_destroy() and sending user to Login page.');
    Last edited by nexweb; 2006-06-27 at 03:52 PM.

  4. #4
    stevec is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    London
    Posts
    1,100

    Default Re: SugarCRM Crash

    That looks the same as here. Could there be odd unexpected characters at the end of the line? Try deleting the last few of each - including the carrage returns - and saving again.

Thread Information

Users Browsing this Thread

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

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
  •