Results 1 to 4 of 4

Thread: Deployment Errors

  1. #1
    RolusTech's Avatar
    RolusTech is offline Sugar Community Member
    Join Date
    Aug 2008
    Posts
    430

    Default Deployment Errors

    [B][B][B]Hi,

    Please see that I am facing the following errors while trying to deploy a custom built of SugarCRM C.E 5.2 onto a web server. The hosting providers support SugarCRM latest version C.E hosting.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sites/irolisremovals.com/public_html/sugar755/include/database/PearDatabase.php on line 54

    Warning: Wrong parameter count for class_exists() in /home/sites/irolisremovals.com/public_html/sugar755/include/utils.php on line 2850

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sites/irolisremovals.com/public_html/sugar755/data/SugarBean.php on line 5318


    These errors are encountered due to php version conflict.

    sugarcrm5.0.2 has following requirements:
    php(MySql, SqlServer) 5.1.0 to 5.1.6
    php (Oracle) 5.2.1 to 5.2.6
    Mysql 4.1.x, 5.0.x


    Please tell me if this problem is occurring at the Hosting Proivders end or is there some other problem.

    Any help/support would be appreciated greatly.

    Thanks,

    Rolustech Development Team

  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: Deployment Errors

    Hi Rolustech

    The error seems to be related to that line:

    PHP Code:
        public static function getInstance($instanceName=''
    Which suggest your php does not understand the function and class modifiers (public, private, protected, static).

    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
    ddbtek is offline Sugar Community Member
    Join Date
    Apr 2006
    Location
    United States
    Posts
    45

    Default Re: Deployment Errors

    Has this been addressed any further? I'm running PHP 5.2.1 with Mysql 5.2 and this problem still exists in Sugar CE 5.2.0. I cannot downgrade the PHP, probably should run a separate instance.... hmmmm... Can anybody confirm that a downgraded PHP will solve the issue?

    We have tracked the attachment problem down to (from webserver logs, nothing in sugarcrm.log):

    * PHP errors "Invalid argument supplied for foreach() in InboundEmail.php on line 5974
    * PHP errors "Undefined variable: cacheUsed in InboundEmail.php on line 5940

    and are now looking at it.

    TIA,
    David
    Last edited by ddbtek; 2009-01-23 at 03:29 AM. Reason: additional info that could help solve

  4. #4
    ddbtek is offline Sugar Community Member
    Join Date
    Apr 2006
    Location
    United States
    Posts
    45

    Default Re: Deployment Errors

    Hello,

    We fixed the InboundEmail.php undefined error at 5940 by defining the variable as false a few lines up before the cache test is done.

    Now working on the other bugs.

    David

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Module Deployment
    By ashiwebi in forum Developer Help
    Replies: 1
    Last Post: 2008-11-12, 04:28 AM
  2. Deployment help
    By Gmoore in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2008-10-22, 12:47 AM
  3. development and deployment
    By michamamo in forum Developer Help
    Replies: 1
    Last Post: 2008-06-23, 09:34 PM
  4. Deployment not taking changes
    By francisco.daza in forum General Discussion
    Replies: 1
    Last Post: 2008-05-20, 01:03 AM
  5. Commercial Deployment
    By saratpediredla in forum Help
    Replies: 1
    Last Post: 2004-08-13, 05:07 AM

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
  •