Hi guys,
making a testing lab, I discovered that when I add a Dashlet “Campaign ROI” chart on HOME, it does not shows anything based on suitecrm 7.5.3, however if I go to 7.4 and make same testing lab, it shows.
Error in apache logs:
/* When adding the dashlet */
[Wed Apr 13 20:24:20 2016] [error] [client 192.168.15.9] PHP Warning: Invalid argument supplied for foreach() in /opt/suitecrm/modules/Charts/Dashlets/CampaignROIChartDashlet/CampaignROIChartDashlet.php on line 325, referer: http://centos67/index.php
[Wed Apr 13 20:24:20 2016] [error] [client 192.168.15.9] PHP Notice: Undefined index: labelsAndValues in /opt/suitecrm/modules/Charts/Dashlets/CampaignROIChartDashlet/CampaignROIChartDashlet.php on line 101, referer: http://centos67/index.php
[Wed Apr 13 20:24:21 2016] [error] [client 192.168.15.9] PHP Warning: file_get_contents(cache/xml/175f2e1f-6574-941e-6e0c-570eefe7093f_b261b57e-9e62-a24f-e689-570ef130c7e9.xml): failed to open stream: No such file or directory in /opt/suitecrm/include/SugarCharts/JsChart.php on line 716, referer: http://centos67/index.php
/* Finish log when adding dashlet*/
Then, after editing and configuring with the pencil icon and select the campaign and configure auto refresh time:
[Wed Apr 13 20:25:52 2016] [error] [client 192.168.15.9] PHP Notice: Undefined index: LBL_ROI_CHART_REVENUE in /opt/suitecrm/modules/Charts/Dashlets/CampaignROIChartDashlet/CampaignROIChartDashlet.php on line 260, referer: http://centos67/index.php
[Wed Apr 13 20:25:52 2016] [error] [client 192.168.15.9] PHP Notice: Undefined index: LBL_ROI_CHART_REVENUE in /opt/suitecrm/modules/Charts/Dashlets/CampaignROIChartDashlet/CampaignROIChartDashlet.php on line 268, referer: http://centos67/index.php
[Wed Apr 13 20:25:52 2016] [error] [client 192.168.15.9] PHP Notice: Undefined index: labelsAndValues in /opt/suitecrm/modules/Charts/Dashlets/CampaignROIChartDashlet/CampaignROIChartDashlet.php on line 101, referer: http://centos67/index.php
[Wed Apr 13 20:25:52 2016] [error] [client 192.168.15.9] PHP Warning: file_get_contents(cache/xml/175f2e1f-6574-941e-6e0c-570eefe7093f_b261b57e-9e62-a24f-e689-570ef130c7e9.xml): failed to open stream: No such file or directory in /opt/suitecrm/include/SugarCharts/JsChart.php on line 716, referer: http://centos67/index.php
Any ideas?
Thanks.