Hi Here is a Fix
Symptom: Charts disply no graphs, only the chart dashlet header.
BACKGROUND: (Skip further down if you just want the answer)
Check of log (sugarcrm.log) shows and error like
[FATAL] Unable to return chart data, invalid xml for file cache/xml/cf5c5670-6587-c96c-ad17-5488356b7436_11239fac-ffe5-8e9b-1016-5492ec21299f.xml
For PHP 5.5.1+ the PCRE Extension has been updated, incoporating a change to the Regex handler.
PCRE Changelog for this version:
This means that the jsChart.php fails with this error in the Apache error.log
preg_replace(): Compilation failed: invalid range in character class at offset 36
You can correct this problem by amending line 719 in ./include/SugarCharts/jsChart.php
$pattern = ‘/<link>([a-zA-Z0-9#?&%.;/=+_-\s]+)</link>/e’;
$pattern = ‘/<link>([a-zA-Z0-9#?&%.;/=+\s-_]+)</link>/e’;
Thanks to pabloarias and his post here
Or if you prefer you can simply swap the jsCharts.php file in for this one attached, remove the .txt extension so you have jsChart.php
I will push this fix to my branch on Git Hub, and send in a Pull Request so that this fix can become upgrade safe.