on a small device I'm having problems with the smart plugin. PHP dies without something in the PHP error log. Apache is having: "Premature end of script headers: xml.php". And I have the usual message "can't read XML" in the browser.
After tracking down the problem, I located it in the file "class.SMART.inc.php", line:
| preg_match('/Vendor Specific SMART Attributes with Thresholds\:\n(.*)\n((.|\n)*)\n\nSMART Error Log Version\:/', $result, $vendorInfos);
even in a small sample script this regex is working, using inside the plugin PHP dies at this line. I've changed this to:
| preg_match('/Vendor Specific SMART Attributes with Thresholds:\n(.*?)\n(.*?)\n+SMART Error Log Version:/s', $result, $vendorInfos);
and now it's working (for me).