[Vtigercrm-developers] vTiger 5.3.0 unable to open documents

Juan C. Dulanto juan at compuxpert.com
Fri Jan 18 10:54:29 PST 2013


I never opened a track ticket before.
I do not know the procedure.
Juan

From: Adam Heinz [mailto:amh at metricwise.net]
Sent: Friday, January 18, 2013 9:47 AM
To: vtigercrm-developers at lists.vtigercrm.com
Subject: Re: [Vtigercrm-developers] vTiger 5.3.0 unable to open documents

I can't help but wonder if it wouldn't be better to find offending ob_start() and remove that instead.  Would you open a Trac ticket for this issue?

On Fri, Jan 18, 2013 at 12:10 AM, Juan C. Dulanto <juan at compuxpert.com<mailto:juan at compuxpert.com>> wrote:
In order to save someone else's headaches, I will write up about a problem that has not been well documented:
Issues when attempting to open documents on a Windows based vTiger CRM.
I had successfully saved documents to our vTiger server, and I could open them - without any issues - from the storage folder, but I could not open them using any browser. (The exception was with pdf files: They could open via folder or via browser)
If I try to open a .doc file I would get the following screen:
[cid:image001.png at 01CDF583.559F8150]

If I tried to open a .docx I would get:
[cid:image002.png at 01CDF583.559F8150]
[cid:image003.png at 01CDF583.559F8150]
If I tried to open a jpg I would get:
[cid:image004.png at 01CDF583.559F8150]
And same with xls, tif, mdi, mht, etc.
The solution was to modify \modules\uploads\downloadfile.php around line 45 and include 4 lines of code to clean the buffer before loading any new documents:
[cid:image005.png at 01CDF583.559F8150]
Now ALL documents are able to open just fine from the browser.
I hope this mod helps you too.


_______________________________________________
http://www.vtiger.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130118/76b2965d/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 104567 bytes
Desc: image001.png
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130118/76b2965d/attachment-0005.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 13320 bytes
Desc: image002.png
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130118/76b2965d/attachment-0006.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 43272 bytes
Desc: image003.png
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130118/76b2965d/attachment-0007.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 68335 bytes
Desc: image004.png
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130118/76b2965d/attachment-0008.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 267441 bytes
Desc: image005.png
Url : http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130118/76b2965d/attachment-0009.png 


More information about the vtigercrm-developers mailing list