Results 1 to 5 of 5

Thread: Lead Details Error

  1. #1
    comcorp is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    10

    Default Lead Details Error

    Hi Everyone---

    We just upgraded our Sugar to 5.0 and we are getting the following error in the Lead Details:

    Error retrieving Lead list: Query Failed SELECT meetings.id , meetings.name , meetings.status , ' ' contact_name , ' ' contact_id , ' ' contact_name_owner , ' ' contact_name_mod , meetings.date_start , jt1.user_name assigned_user_name , jt1.created_by assigned_user_name_owner , 'Users' assigned_user_name_mod, meetings.time_start , meetings.assigned_user_id , 'meetings' panel_name FROM meetings LEFT JOIN users jt1 ON jt1.id= meetings.assigned_user_id AND jt1.deleted=0 AND jt1.deleted=0 where ( meetings.parent_id= 'cd2256c2-4609-7e19-47b1-47fd0a0e8c4d' AND meetings.parent_type='Leads' AND meetings.deleted=0 AND (meetings.status='Planned')) AND meetings.deleted=0 ) UNION ALL ( SELECT tasks.id , tasks.name , tasks.status , CONCAT(IFNULL(contacts.first_name,''),' ',IFNULL(contacts.last_name,'')) contact_name , tasks.contact_id , contacts.assigned_user_id contact_name_owner , 'Contacts' contact_name_mod, tasks.date_due as date_start , jt1.user_name assigned_user_name , jt1.created_by assigned_user_name_owner , 'Users' assigned_user_name_mod, tasks.assigned_user_id , 'tasks' panel_name FROM tasks LEFT JOIN contacts contacts ON contacts.id= tasks.contact_id AND contacts.deleted=0 AND contacts.deleted=0 LEFT JOIN users jt1 ON jt1.id= tasks.assigned_user_id AND jt1.deleted=0 AND jt1.deleted=0 where ( tasks.parent_id= 'cd2256c2-4609-7e19-47b1-47fd0a0e8c4d' AND tasks.parent_type='Leads' AND tasks.deleted=0 AND (tasks.status='Not Started' OR tasks.status='In Progress' OR tasks.status='Pending Input')) AND tasks.deleted=0 ) UNION ALL ( SELECT calls.id , calls.name , calls.status , ' ' contact_name , ' ' contact_id , ' ' contact_name_owner , ' ' contact_name_mod , calls.date_start , jt1.user_name assigned_user_name , jt1.created_by assigned_user_name_owner , 'Users' assigned_user_name_mod, calls.time_start , calls.assigned_user_id , 'calls' panel_name FROM calls LEFT JOIN users jt1 ON jt1.id= calls.assigned_user_id AND jt1.deleted=0 AND jt1.deleted=0 where ( calls.parent_id= 'cd2256c2-4609-7e19-47b1-47fd0a0e8c4d' AND calls.parent_type='Leads' AND calls.deleted=0 AND (calls.status='Planned')) AND calls.deleted=0 ) ORDER BY date_start desc LIMIT 0,10::MySQL error 1054:


    Anyone got any ideas what is causing this?

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Lead Details Error

    The upgrade did not complete.
    During the upgrade the meetings.time_start is deleted.
    Your code addresses this field like 4.5.1 code does.
    Your database is obviously already a 5.0.0 databse but your code is not.

  3. #3
    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: Lead Details Error

    Hi, comcorp

    Try to repair database.
    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.

  4. #4
    comcorp is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    10

    Default Re: Lead Details Error

    Quote Originally Posted by kuske
    The upgrade did not complete.
    During the upgrade the meetings.time_start is deleted.
    Your code addresses this field like 4.5.1 code does.
    Your database is obviously already a 5.0.0 databse but your code is not.

    I've just re-uploaded the 5.0.0 files and the error is still showing on those certain leads.

  5. #5
    sanvercrm's Avatar
    sanvercrm is offline Sugar Community Member
    Join Date
    Aug 2007
    Location
    Mumbai, India
    Posts
    23

    Default Re: Lead Details Error

    Dear Tammy,

    Do let me know in case your problem is resolved. Else we can do it for you. Just let me know.
    Last edited by sanvercrm; 2009-05-23 at 09:07 AM. Reason: Add Signature
    Sanjay Verma
    Sanver E-Solutions Private Limited, Mumbai, India
    SugarCRM Hosting, Google Apps, Java Hosting

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Email IMAP SSL issue ( with error log )
    By clearlink in forum Help
    Replies: 16
    Last Post: 2009-11-16, 01:50 AM
  2. Replies: 19
    Last Post: 2008-04-11, 05:41 PM
  3. Replies: 3
    Last Post: 2008-01-25, 11:44 AM
  4. Replies: 0
    Last Post: 2007-08-08, 02:47 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
  •