Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Table calls_users doesn't exist

  1. #1
    jimrising is offline Member
    Join Date
    Jan 2009
    Posts
    9

    Default Table calls_users doesn't exist

    I just installed sugarCRM Version 5.2.0 (Build 5380).

    When browsing to the Calendar, I get the following:

    Query Failed:SELECT calls.* from calls_users,calls WHERE (DATE_FORMAT(calls.date_start,'%Y-%m-%d') >= '2009-01-23' AND DATE_FORMAT(calls.date_start,'%Y-%m-%d') <= '2009-02-02') AND calls_users.accept_status != 'decline' AND calls_users.call_id=calls.id AND calls_users.user_id='1' AND calls.deleted=0 AND calls_users.deleted=0::MySQL error 1146: Table 'calls_users' doesn't exist

    I've confirmed that this table does not exist in MySql, and have attempted to re-install SugarCRM to see if maybe it missed something along the way. No such luck.

    i've also got this in the sugarcrm.log file:

    Mon Jan 26 01:37:34 2009 [16719][1][FATAL] Error fetching relationship from cache calls_users
    Wed Jan 28 10:25:48 2009 [30628][25b82a32-adb9-653a-c6f8-497c9487014d][FATAL] MySQL error 1146: Table 'calls_users' doesn't exist

    i've verified that permissions on the cache are correct.

    any ideas?

    Jim Rising
    Serial Entrepreneur
    Sr. Software Engineer
    Red Pepper Studios
    www.redpepperstudios.com
    www.jimrising.com
    Last edited by jimrising; 2009-01-29 at 04:18 AM. Reason: added link :)

  2. #2
    jimrising is offline Member
    Join Date
    Jan 2009
    Posts
    9

    Default Re: Table calls_users doesn't exist

    I just upgraded to the 5.2.0a patch, and i'm still getting this error. is anyone else experiencing this?

    Jim Rising
    Serial Entrepreneur
    Sr. Software Engineer
    Red Pepper Studios
    www.redpepperstudios.com
    www.jimrising.com

  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: Table calls_users doesn't exist

    Hi Jim

    Go to Admin -> Repair -> Rebuild Extension / Rebuild Relationships / Repair Database
    And try again.

    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.

  4. #4
    jimrising is offline Member
    Join Date
    Jan 2009
    Posts
    9

    Default Re: Table calls_users doesn't exist

    did this... rebuilt extensions and relationships... repaired the database... still get the same calls_users' doesn't exist error...

  5. #5
    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: Table calls_users doesn't exist

    Have a look into sugarcrm.log.
    I believe there is any error message regarding that issue.
    Additionally go to phpMyAdmin -> sugarcrm database -> relationship table -> and check if there is any record related to that relationship (calls_users).
    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.

  6. #6
    jimrising is offline Member
    Join Date
    Jan 2009
    Posts
    9

    Default Re: Table calls_users doesn't exist

    op post already had looked at the sugarcrm.log ... and i've confirmed that the call_users table does not exist. i've also made the attempt at re-installing sugarcrm to see if that table would be built. if you can give me the schema for it, i can build it manually.

    -jim

  7. #7
    jimrising is offline Member
    Join Date
    Jan 2009
    Posts
    9

    Default Re: Table calls_users doesn't exist

    attached diagnostic file.
    Attached Files Attached Files

  8. #8
    jimrising is offline Member
    Join Date
    Jan 2009
    Posts
    9

    Default Re: Table calls_users doesn't exist

    calls_contacts and calls_leads are the only calls related relationships found in the 'relationships' table.

  9. #9
    jimrising is offline Member
    Join Date
    Jan 2009
    Posts
    9

    Default Re: Table calls_users doesn't exist

    any idea how to fix this?

  10. #10
    jimrising is offline Member
    Join Date
    Jan 2009
    Posts
    9

    Default Re: Table calls_users doesn't exist (fixed)

    so here's what i had to do...

    1) i found an incomplete database schema for sugar 5.2.0a. it had the calls_users table in it, but only contained 3 fields... and not much else to go on.

    2) i built the table based on that schema... and obviously it still failed to fix the problem. i got a new error showing that i was also missing: calls_users.accept_status

    3) i searched on google for calls_users.accept_status ... and i came across this guy's phpMyAdmin:

    http://michaelvilela.visuelles.com.b...l_ci&db=mv_crm

    enough said.

    thanks for the help!

    Jim Rising

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Table tracker_sessions doesn't exist
    By unvisible in forum Developer Help
    Replies: 8
    Last Post: 2009-02-12, 02:22 AM
  2. MySQL error 1146: Table doesn't exist
    By shootSOFT in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-11-13, 12:21 AM
  3. Replies: 0
    Last Post: 2006-02-20, 10:20 AM
  4. Metadata for table users does not exist
    By TMiller in forum Help
    Replies: 6
    Last Post: 2006-02-15, 04:41 PM
  5. where modify a exist table
    By threestone in forum Developer Help
    Replies: 0
    Last Post: 2005-10-26, 02:11 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
  •