Results 1 to 4 of 4

Thread: Sugar 6.1 - no reminders, calendar empty, calls_users table empty

  1. #1
    tomkerswill is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    58

    Default Sugar 6.1 - no reminders, calendar empty, calls_users table empty

    Hi

    We have two new installs of Sugar 6.1.

    We are noticing that the calendar does not show any calls. Also call reminder popups are not working.

    I've taken a look at the database queries that are run by when populating the calendar and when creating reminders.

    All these queries rely on matching the user to the call, using the calls_users table.

    But in both my new Sugar installs, even after creating lots of calls for different users, I notice that the calls_users table is empty:

    mysql> select * from calls_users;
    Empty set (0.00 sec)

    Is this a bug? Or has something changed in the DB architecture for the latest Sugar?

    Tom

  2. #2
    tomkerswill is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    58

    Default Re: Sugar 6.1 - no reminders, calendar empty, calls_users table empty

    Hi

    From looking quite closely at this, I think this may be a bug in Sugar --- call reminders and calendars just aren't working out the box. I guess the database schema changed. As a work around (to fix reminders), I updated the code in include/javascript/jsAlerts.php

    This is the updated SQL query, code added into prep calls:

    // Prep Calls Query
    if ($db->dbType == 'mysql') {

    $selectCalls = "

    SELECT calls.id, name, reminder_time, description, date_start
    FROM calls
    WHERE assigned_user_id ='".$current_user->id."'
    AND calls.reminder_time != -1
    AND deleted != 1
    AND calls.status != 'Held'
    and date_start >= '".$dateTimeNow."'";

    Tom

  3. #3
    tomkerswill is offline Sugar Community Member
    Join Date
    Jul 2006
    Posts
    58

    Default Re: Sugar 6.1 - no reminders, calendar empty, calls_users table empty

    Hi

    I'm just wondering if anyone else who's using Sugar 6.1 has noticed reminders working out of the box? It looks to me like they just don't work at all without changing the database queries above, but maybe something strange is happening in my environment to stop this working.

    Is the calls_users table used in Sugar 6.1, or has something changed to simplify / update the database schema?

    Tom

  4. #4
    davidboris is offline Sugar Community Member
    Join Date
    May 2010
    Posts
    1,113

    Default Re: Sugar 6.1 - no reminders, calendar empty, calls_users table empty

    Hello,

    Follow this thread and do it for calls and you will find everything working well.
    Thumbs up.

    Skype ID - david__boris

    SugarForge Projects:

    WYSIWYG now in studio!(Version 1.1 is out now!)

    Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.

    Fab Tools! > Dashlet Not Followed Opportunities for past six Months

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sugar is sending empty mails
    By jackbq in forum Help
    Replies: 1
    Last Post: 2010-01-05, 07:25 AM
  2. Table calls_users doesn't exist
    By jimrising in forum Help
    Replies: 10
    Last Post: 2009-03-25, 03:54 AM
  3. Replies: 2
    Last Post: 2009-01-14, 06:50 PM
  4. Replies: 3
    Last Post: 2007-09-18, 03:42 PM
  5. Sugar 4.5.1: own drop-down lists are empty
    By andreroszik in forum Help
    Replies: 0
    Last Post: 2007-03-15, 03:04 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
  •