Results 1 to 4 of 4

Thread: mysql error when assigning leads to users

  1. #1
    bradym80 is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    36

    Default mysql error when assigning leads to users

    When assigning leads to users I get many different errors:

    Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/sugarcrm/include/utils/db_utils.php on line 223

    Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/sugarcrm/include/utils.php on line 1618

    I have seen another error asking me to check line 1118 on SugarBean.php

    I dont know if editing my php time out would work. If I try the same action again, it usually works, FAST.

    does anyone have any ideas what could be causing this?

    Im running all the latest mysql php apache on ubuntu hardy.

  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: mysql error when assigning leads to users

    Hi Brady

    Does this error occurs only in this process?
    How many leads do you have?
    How many leads are you trying to reassign?
    Which Sugar version are you using?
    Which database are you using?

    Check:

    1. your proxy settings;
    2. value of site_url in config.php, this must be the same address accessed in the address bar in browser;

    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
    bradym80 is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    36

    Default Re: mysql error when assigning leads to users

    This is one of many database related errors I have come across in sugar. I have not logged them all. I have noticed that many mention vardefs. Perhaps I need to repair something but I dont know what precisely.

    I have 3200 leads
    This problem happens randomly. It could be 5 leads or 200. Sometimes the query will return an error yet when I refresh my information, everything has been changed.
    I changed the php time limit and reset apache.

    Sugar version 5.0.0f (about to update to g)
    latest mysql 5.0

    I will check proxy settings although i dont believe they are changed on this machine.

    site_url could definately be the culprit. Sometimes I access the server via IP on my private network instead of by domain. thank you for your suggestions.

  4. #4
    bradym80 is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    36

    Default Re: mysql error when assigning leads to users

    using the site via what is listed in site_url has relieved the problems, thank you. A related error has popped up while trying to assign leads to users. If I click the 'select all records' drop down in the upper left of the leads listview, then perform the update, I encounter this error

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 57 bytes) in /var/www/sugarcrm/include/database/MysqliManager.php on line 351

    mysql has 128mb of memory in php.ini

    any ideas?

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: 2010-07-15, 02:22 PM
  2. Prevent users from assigning opportunities
    By BrandonWillmore in forum Help
    Replies: 1
    Last Post: 2008-06-03, 02:18 PM
  3. MySQL Error 1054 - Leads
    By Angel in forum Downloads
    Replies: 0
    Last Post: 2007-06-20, 09:11 PM
  4. Assigning Leads/Opps to Accounts not users.
    By mbro in forum General Discussion
    Replies: 0
    Last Post: 2005-03-16, 09:00 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
  •