Results 1 to 6 of 6

Thread: SugarCRM Not Loading

  1. #1
    sugarnewb99 is offline Junior Member
    Join Date
    Mar 2009
    Posts
    3

    Default SugarCRM Not Loading

    My boss asked me to look at his Sugar database to see what is wrong with it. I have never worked with Sugar but I am familiar with PHP and MYSQL.

    Here is the site:

    http://ctsdb.com/


    Here are the errors:

    Parse error: syntax error, unexpected $end in /home/gotbizbr/public_html/sugarcrm/include/utils/user_utils.php(90) : eval()'d code on line 1

    Warning: ini_set() [ref.outcontrol]: Cannot change zlib.output_compression - headers already sent in /home/gotbizbr/public_html/sugarcrm/include/utils.php on line 2908

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/gotbizbr/public_html/sugarcrm/include/utils/user_utils.php(90) : eval()'d code:1) in /home/gotbizbr/public_html/sugarcrm/index.php on line 178

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/gotbizbr/public_html/sugarcrm/include/utils/user_utils.php(90) : eval()'d code:1) in /home/gotbizbr/public_html/sugarcrm/index.php on line 178

    Warning: Cannot modify header information - headers already sent by (output started at /home/gotbizbr/public_html/sugarcrm/include/utils/user_utils.php(90) : eval()'d code:1) in /home/gotbizbr/public_html/sugarcrm/index.php on line 216


    Apache version: 2.2.11 (Unix)
    PHP version: 5.2.9
    MySQL version: 5.0.75-community-
    log
    Architecture: x86_64
    Operating system: Linux

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

    Default Re: SugarCRM Not Loading

    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)
    ______________________________________________

  3. #3
    sugarnewb99 is offline Junior Member
    Join Date
    Mar 2009
    Posts
    3

    Default Re: SugarCRM Not Loading

    Quote Originally Posted by TKMY View Post
    I have discovered that the latest Community Edition's (5.2.0a) mvc_utils.php is different from that of 5.0.0h.
    Here is the modified mvc_utils.php for SugarCE 5.2.0a.

    The ways of applying the modification are the same as in my previous post. You can choose one of three ways.
    The first way is overwriting modified mvc_utils.php which is in the attached ZIP archive to include/utils/mvc_utils.php.
    The second way is to replace string in mvc_utils.php "aSgkZnMpOyAgIH0gfSA=IA==IA==IA==" to "aSgkZnMpOyAgIH0gfSAgICAgICAgICAg" by your text editor.
    PLEASE NOTE THAT source and target strings to replace differ from my previous post.
    The last way is to apply the patch (mvc_utils.php.diff) to mvc_utils.php
    MD5 checksums of original mvc_utils.php is 879568729e395e98ef884242d0bc39b0.
    MD5 checksums of mofified mvc_utils.php is 91301de43fbc17dab37035a145e55fcf.

    IMPORTANT THING IS that I did not test this in production environment nor development environment because I did not want to change those working environment (running with 5.0.0h Ja).
    I simply made a tweak to mvc_utils.php and ran it independently to print decoded code to see whether the last part is properly decoded or not.
    But at least this modification properly decoded the code with both PHP 5.2.6 and 5.2.9.

    I will appreciate if someone who will try this will tell me (via this forum) whether this modification works or not.
    Because If I could know it works not independently but as a part of SugarCE, I could be able to simply copy this modified file to 5.2.0X without test when I upgraded SugarCE from 5.0.0X to 5.2.0X in several month after from now. (When they finish translations of interfaces to Japanese.)

    Regards.

    P.S.
    Additional information for users of 5.0.0X (or maybe 5.0.0h only)
    The modification for 5.0.0h I previously posted works with both PHP 5.2.6 and 5.2.9.
    include/utils/mvc_utils.php

    This file does not exist to overwrite on the server.

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

    Default Re: SugarCRM Not Loading

    That's a core file. If it doesn't exist, you've got bigger issues.

    Is this a fresh install or was it working at some point prior to this? If new, the only reason I can think of that the file wouldn't be there is that somehow the install process failed to copy it over or someone deleted it.
    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)
    ______________________________________________

  5. #5
    sugarnewb99 is offline Junior Member
    Join Date
    Mar 2009
    Posts
    3

    Default Re: SugarCRM Not Loading

    Quote Originally Posted by Angel View Post
    That's a core file. If it doesn't exist, you've got bigger issues.

    Is this a fresh install or was it working at some point prior to this? If new, the only reason I can think of that the file wouldn't be there is that somehow the install process failed to copy it over or someone deleted it.
    It was working and my boss told me no one has altered the web directory. I did get it working by turning off display_errors in the php.ini file. Now I just have to upgrade to a newer version. Is there a tutorial on how to upgrade from Version 4.5.1d (Build 1273) to the current 5.2.0c? I found a tutorial but it is for upgrading 5.0 to 5.2. Also how do I find out what extra modules were installed. I am sorry for all these questions however I did not do the initial install of this project.

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

    Default Re: SugarCRM Not Loading

    I am not sure if there is a documented tutorial on the subject, but I would try doing it this way:

    4.5.1 -> 5.0 -> 5.2

    As for the modules, if you login as admin you can access the Admin control panel (link on upper right of screen) and click Module Loader. That should list all of the installed modules.
    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. Long SugarCRM loading time
    By rnovak in forum Help
    Replies: 3
    Last Post: 2009-03-13, 08:54 AM
  2. PHP_MSSQL.dll not loading
    By craigw in forum Help
    Replies: 5
    Last Post: 2008-08-06, 09:20 AM
  3. Replies: 0
    Last Post: 2008-05-27, 03:35 AM
  4. loading of sugarcrm CE5.0
    By kanchan in forum Developer Help
    Replies: 16
    Last Post: 2008-05-23, 01:53 PM
  5. Manually loading modules
    By csaling in forum Help
    Replies: 1
    Last Post: 2005-11-02, 06:15 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
  •