Results 1 to 7 of 7

Thread: Parse error - something with the session?

  1. #1
    macangelo is offline Member
    Join Date
    Mar 2009
    Posts
    10

    Default Parse error - something with the session?

    Hi all,

    Sugar worked fine for weeks. Suddenly I don't get in and get the following error messages:

    Parse error: syntax error, unexpected $end in /www/htdocs/v146946/crm/include/utils/mvc_utils.php(48) : eval()'d code on line 1

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /www/htdocs/v146946/crm/include/utils/mvc_utils.php(48) : eval()'d code:1) in /www/htdocs/v146946/crm/include/MVC/SugarApplication.php on line 384

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /www/htdocs/v146946/crm/include/utils/mvc_utils.php(48) : eval()'d code:1) in /www/htdocs/v146946/crm/include/MVC/SugarApplication.php on line 384

    Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/v146946/crm/include/utils/mvc_utils.php(48) : eval()'d code:1) in /www/htdocs/v146946/crm/include/utils.php on line 2498

    Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/v146946/crm/include/utils/mvc_utils.php(48) : eval()'d code:1) in /www/htdocs/v146946/crm/include/MVC/SugarApplication.php on line 125

    Any ideas what good be wrong? Thanks a lot!

    macangelo

  2. #2
    kinshibuya's Avatar
    kinshibuya is offline A Sugar Hero
    Join Date
    Jul 2008
    Location
    brasil
    Posts
    521

    Default Re: Parse error - something with the session?

    Hi!
    have you made any customizations?
    or installed any new modules?
    Priscila Kin Yamamoto Joranhezon
    Phone: +55 61 32010000
    priscila.joranhezon@nct.com.br
    NCT Informática Ltda

  3. #3
    macangelo is offline Member
    Join Date
    Mar 2009
    Posts
    10

    Default Re: Parse error - something with the session?

    No, just added some items to the lists - only through the admin area (studio) ..

  4. #4
    macangelo is offline Member
    Join Date
    Mar 2009
    Posts
    10

    Default Re: Parse error - something with the session?

    Does anybody have an idea how to get this running again? I have no idea where to start.

    thanks a lot for any suggestions.

    macangelo

  5. #5
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Parse error - something with the session?

    This is due to an incompatibility with your version of Sugar and PHP 5.2.9.

    There are several threads on this topic within the forums.

    Recommended solutions are:

    1. Downgrade your version of PHP to a supported version
    2. Upgrade Sugar to version 5.2.e
    3. Patch the mvc_utils.php file manually.
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  6. #6
    macangelo is offline Member
    Join Date
    Mar 2009
    Posts
    10

    Default Re: Parse error - something with the session?

    Hi Angel

    thanks a lot, you are my hero! I patched the mvc_utils.php for now. and I will update to 5.2e as soon as I find a fool proof step-by-step documentation (or is 5.5 coming soon enough to wait for it?)

    thanks again! Best
    macangelo

  7. #7
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Parse error - something with the session?

    I am not sure what version you are currently on, but the upgrade process is usually not that difficult.

    If you are concerned that you might have trouble with it, create a backup of your database and program files or mirror the install onto a separate server and upgrade the copy first to test it.

    As for 5.5, I wouldn't recommend upgrading to it yet even if it were released today. This is not a reflection on Sugar, it is just that in general, I think it is bad practice to upgrade to the latest version of *anything* upon release. We usually recommend people wait a few months after release regardless of the software in question.
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2009-04-09, 08:46 PM
  2. Replies: 4
    Last Post: 2006-11-02, 04:20 PM
  3. Replies: 1
    Last Post: 2006-09-28, 09:24 AM
  4. Replies: 1
    Last Post: 2006-09-07, 12:38 PM
  5. Replies: 3
    Last Post: 2006-02-12, 01:03 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
  •