<p dir="ltr">Hello.<br>
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.<br>
Regards.<br>
Joffrey Pannequin</p>
<div class="gmail_quote">Le 18 janv. 2013 16:12, "Joe Bordes" <<a href="mailto:joe@tsolucio.com">joe@tsolucio.com</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>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.<br>
<br>
Joe<br>
TSolucio<br>
<br>
<br>
On 18/01/13 15:47, Adam Heinz wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">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?</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
On Fri, Jan 18, 2013 at 12:10 AM, Juan C. Dulanto <span dir="ltr"><<a href="mailto:juan@compuxpert.com" target="_blank">juan@compuxpert.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">In order to save someone else’s
headaches, I will write up about a problem that has
not been well documented:<br>
Issues when attempting to open documents on a Windows
based vTiger CRM.</p>
<p class="MsoNormal">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)</p>
<p class="MsoNormal">If I try to open a .doc file I
would get the following screen:<br>
<br>
</p>
<p class="MsoNormal"><br>
If I tried to open a .docx I would get:<br>
<br>
</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">If I tried to open a jpg I would
get:<br>
<br>
</p>
<p class="MsoNormal">And same with xls, tif, mdi, mht,
etc.</p>
<p class="MsoNormal"><b><span style="color:#e46c0a">The
solution</span></b><span style="color:#e46c0a">
</span>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:</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">Now ALL documents are able to open
just fine from the browser.
</p>
<p class="MsoNormal">I hope this mod helps you too.</p>
<p class="MsoNormal"> </p>
</div>
</div>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>This body part will be downloaded on demand.</pre>
</blockquote>
<br>
<br>
</div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div>