Results 1 to 4 of 4

Thread: Missing Dashboard charts

  1. #1
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Missing Dashboard charts

    I click on the Dashboard tab and the dashboard is gone. No charts are showing up. I read something about doing a Repair Dashboard in Admin but there is no option to do that. Any ideas?

    Sugar 4.5.1

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Missing Dashboard charts

    It seems to be failing in the print_add function in modules/Dashboard/index.php right at this line:
    require_once ("modules/Charts/code/".$func.".php");

    It's trying to call modules/Charts/code/Chart_pipeline_by_billing_country.php which exists but it never seems to execute. I put some debug logs in that file including at the very top and it never gets to it.

    PHP Code:
    foreach ($predefined_charts as $chart)
    {
      if ( ! empty(
    $chart_map[$chart['id']]))
      {
        continue;
      }
            
    $func $chart['id'];
    //    global $currentModule;
    //    $currentModule = 'Dashboard';
    $GLOBALS['log']->fatal("before: modules/Charts/code/".$func.".php");
        require_once (
    "modules/Charts/code/".$func.".php");
    $GLOBALS['log']->fatal("after");
        
    $chart_obj = new $func;

        if ( ! 
    get_display_status($chart_obj->modules) )
        {
          continue;
        }

      print 
    '<option value="code|'.$chart['id'].'">'.$chart['label'].'</option>';


  3. #3
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Missing Dashboard charts

    Commenting out this code in modules/Charts/code/predefined_charts.php made it so the Dashboard page loaded again. The My Pipeline doesn't seem to load correctly on the Home page though.

    PHP Code:

        
    //'Chart_pipeline_by_billing_country'=>
        //array('type'=>'code','id'=>'Chart_pipeline_by_billing_country','label'=>'Pipeline by Billing Country'), 

  4. #4
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Missing Dashboard charts

    Looks like TeamsOS 3.3 was installed at one point. I may have done that awhile ago. When uninstalling it also didn't replace the Charts/code files with the original so that also caused some more issues. Hope this helps someone.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dashboard Charts Disappears
    By rajneshsiwal in forum Help
    Replies: 3
    Last Post: 2008-06-04, 09:24 AM
  2. Dashboard Charts Disappear
    By breezy in forum Help
    Replies: 5
    Last Post: 2008-06-03, 07:58 AM
  3. Replies: 0
    Last Post: 2007-08-09, 03:41 AM
  4. Bug: Dashboard charts do not support international chars
    By developer16 in forum Developer Help
    Replies: 2
    Last Post: 2006-11-06, 12:56 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
  •