Can't open Documents

could someone help me with this issue.

When i go to Accounts > Documents and try to open a document, a new browser tab appears with a link similar to:

but the document doesn’t open.

If i check the logs i can see the following:

Mon Sep 12 07:19:44 2016 [3192][1][FATAL] Bad subpanel definition, it has incorrect value for get_subpanel_data property aos_contracts_documents

I have performed a Quick Repair but the issue persists.

I am on SuiteCRM 7.7.4, with PHP 7.0.9 with MSSQL 2016, IIS7.

Thanks in Advance

Hello, i have configured error reporting for the server’s PHP as ‘Development Machine’. Now when i click the document i am getting an actual error message:

"Warning: file_exists(): open_basedir restriction in effect. File(themes/default/images/pdf_image_inline.gif?v=ALft2UheNjb-5y92H_TfDw) is not within the allowed path(s): (C:\inetpub\wwwroot) in C:\inetpub\wwwroot\SuiteCRM\modules\Documents\Document.php on line 270

Notice: Undefined offset: 1 in C:\inetpub\wwwroot\SuiteCRM\download.php on line 110

Fatal error: Uncaught Error: Call to undefined function mime_content_type() in C:\inetpub\wwwroot\SuiteCRM\download.php:174 Stack trace: #0 C:\inetpub\wwwroot\SuiteCRM\include\MVC\Controller\SugarController.php(864): require_once() #1 C:\inetpub\wwwroot\SuiteCRM\include\MVC\Controller\SugarController.php(394): SugarController->handleEntryPoint() #2 C:\inetpub\wwwroot\SuiteCRM\include\MVC\Controller\SugarController.php(307): SugarController->process() #3 C:\inetpub\wwwroot\SuiteCRM\include\MVC\SugarApplication.php(105): SugarController->execute() #4 C:\inetpub\wwwroot\SuiteCRM\index.php(52): SugarApplication->execute() #5 {main} thrown in C:\inetpub\wwwroot\SuiteCRM\download.php on line 174"

Unfortunately i am not sure what i can do to try to alleviate the problem. Any help would be greatly appreciated.


Hello again,

any help anyone could provide with this issue would be greatly appreciated. I really need this working.


check this post please

best regards

Hi Mike, thanks for that.
I was having so much trouble with my previous server that i decided to start over.
I’ve found and enabled the php_fileinfo.dll extension on my new server.

Hopefully this will do the trick,


Hello again, update that the above seems to have worked.