error 500 looking at a note/attachment

see https://github.com/salesagility/SuiteCRM/issues/1725

Serge

Actually I am not really sure if we have an issue or not…
but for anyone having this problem here is how I solved it…
running on IIS…
even if I ran for one whole week on php5.6 with no issue (v.7.5.3), once I upgraded to 7.6.5 (7.7 use the same download.php file) the download.php was having issues which had me think of someone used an obsolete function on the new relase.

But it appears that I was missing an extension in my php settings : php_fileinfo.dll
my first solution was to use an older version of download.php but not really future proof…

finally once I enabled the php_fileinfo.dll extension and used the “proper” download.php the system is running fine…

there are currently some contradiction on the support of the function over php version, it appear that the function is supported (still) on php 7…

I hope this helps other…