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
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
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>';
}
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'),
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks