PDF.js v0.8.1269 (build: 10deadd)Message: Unexpected server response (403) while retrieving PDF "http://localhost:8888//storage/2016/December/week3/6_Voucher_QM77EB.pdf".
@satish.dvnk This is cause by the htaccess that is blocking direct URL access to files. That make sense, the problem is that is also blocking the pdf viewer from loading the file.
Probably we should add a parameter to the request to by-pass the htaccess file restrictions
This is how I solved it. Pleas let me know is this is a security issue.
Make this changes in the .htaccess file in /vtigercrm/storage/
Change: <FilesMatch ".(gif|jpe?g|png)
There was an error rendering this math block. KaTeX parse error: Expected &#39;EOF&#39;, got &#39;&amp;&#39; at position 2: &quot;&amp;̲gt; To: &amp;lt;Fil…
">
If you plan to upload Words and txt documents change the line to:
<FilesMatch ".(gif|jpe?g|png|pdf|docx?|txt)$">