[Vtigercrm-developers] vTiger 5.3.0 unable to open documents

Joffrey Pannequin joffrey.pannequin at gmail.com
Fri Jan 18 07:28:58 PST 2013


Hello.
I used to have some problem with end of line at the end of file after the
closing php tag. Depending on the web server, they could be buffered or not.
Regards.
Joffrey Pannequin
Le 18 janv. 2013 16:12, "Joe Bordes" <joe at tsolucio.com> a écrit :

>  I'd say even better to find out what is getting in the way, there is
> probably some php warning or error message getting mixed with the output
> that should be attended.
>
> Joe
> TSolucio
>
>
> On 18/01/13 15:47, Adam Heinz wrote:
>
> 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>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:
>>
>>
>> If I tried to open a .docx I would get:
>>
>>
>>  If I tried to open a jpg I would get:
>>
>>  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:
>>
>>
>>  Now ALL documents are able to open just fine from the browser.
>>
>> I hope this mod helps you too.
>>
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
>
> This body part will be downloaded on demand.
>
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130118/848fbeed/attachment.html 


More information about the vtigercrm-developers mailing list