Results 1 to 6 of 6

Thread: Problem while accessing sugarcrm

  1. #1
    deveshm is offline Member
    Join Date
    May 2009
    Posts
    13

    Default Problem while accessing sugarcrm

    Hi,

    I am a new user of sugrcrm. I have installed it on the server. It was working well.

    But now its throwing an error and its really surprising for me that how error came. I haven't touched the code.

    [ERROR]

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/guruj0/public_html/crm/Sugar52/include/database/PearDatabase.php on line 54

    Warning: Wrong parameter count for class_exists() in /home/guruj0/public_html/crm/Sugar52/include/utils.php on line 2871

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/guruj0/public_html/crm/Sugar52/data/SugarBean.php on line 5358

    [/ERROR]


    Not able to understand why its coming

    Please help me.

    Thanks
    Devesh M

  2. #2
    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: Problem while accessing sugarcrm

    Which is the php and SugarCRM version?
    it seems a kind of incompatibility.

    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.

  3. #3
    deveshm is offline Member
    Join Date
    May 2009
    Posts
    13

    Default Re: Problem while accessing sugarcrm

    PHP Version 4.4.9

    Sugar CRM version: SugarCE-5.2.0e

  4. #4
    ronaldo is offline Senior Member
    Join Date
    Feb 2009
    Location
    Brasil
    Posts
    85

    Question Re: Problem while accessing sugarcrm

    Quote Originally Posted by deveshm View Post
    PHP Version 4.4.9

    Sugar CRM version: SugarCE-5.2.0e
    Are you using the SugarCRM with MySQL or SQLServer database?
    Ronaldo Rodrigues
    Lampada Global Services
    Phone: 55 11 3237-3110
    Email: rodrigues@lampadaglobal.com
    Conheça nosso site: www.lampadaglobal.com

  5. #5
    deveshm is offline Member
    Join Date
    May 2009
    Posts
    13

    Default Re: Problem while accessing sugarcrm

    Quote Originally Posted by ronaldo View Post
    Are you using the SugarCRM with MySQL or SQLServer database?
    MySQL Database

  6. #6
    tlck9 is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    71

    Default Re: Problem while accessing sugarcrm

    I do not know if this has been answered elsewhere, as the ones I have checked point to the use of php4 rather than php5.

    I have the same issue, with I have been using the database and suddenly it has stopped working with the error

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/39/dXXXXXX/htdocs/SUGAR/include/database/PearDatabase.php on line 54

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/39/dXXXXXX/htdocs/SUGAR/data/SugarBean.php on line 5363

    I have already added and amended the.htacess, to have the following text

    #
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    #

    I am using 5.2.0f, CE version build 5688
    PHP Version 5.2.10
    I have the CRM installed on my 1and1 hosted shared server....any help would be appreciated as I could do with accessing the data and my boss would like me to do some work


    Here is my line 54 in SUGAR/include/database/peardatabase.php
    public static function getInstance($instanceName='')

    and my error on line 5363 is
    private function _checkOptimisticLocking($action, $isUpdate)

    If you can help me, it would be much appreciated
    Last edited by tlck9; 2009-07-20 at 12:18 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Accessing SugarCRM Externally
    By charitha in forum Help
    Replies: 3
    Last Post: 2009-08-13, 02:49 PM
  2. Accessing problem
    By reddysankarsugarcrm in forum Developer Help
    Replies: 1
    Last Post: 2009-01-07, 09:10 AM
  3. Problem in Accessing in Lan
    By amolsax in forum General Discussion
    Replies: 0
    Last Post: 2007-10-10, 06:55 AM
  4. Problem accessing the bugs database
    By george_bbch in forum Help
    Replies: 1
    Last Post: 2006-05-03, 04:19 PM
  5. Problem accessing 'My Account'
    By jeg1972 in forum Help
    Replies: 5
    Last Post: 2006-04-24, 08: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
  •