View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Documents download problem - Page 3 - ProjeQtOr
 
 

Documents download problem

More
06 Jun 2012 14:40 #13 by babynus
Hi,

You solution works fine on my windows environment, but fails on my Linux environment :
ERROR : ob_clean()
failed to delete buffer. No buffer to delete
in download.php
at line 51
It seems that ob_clean() fails on Linux if buffer is empty.
In your case, your server should add some extra characters that fills the buffer (leading to original download issue).
I fixed this way :
if (ob_get_length()){   
    ob_clean();
  }
  flush();
This solution brings no regression for me. Tested :
- with Windows XP and Linux servers
- using browser : Chrome 19, Firefox 12 and IE 8
- downloading : ticket attachment file, document version file

Could you please test this solution and confirm that it still fixes the issue in your case ?
Thanks.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
06 Jun 2012 14:49 #14 by ekolossov
Used your code and still seems to work.
(Oddly enough we're running a linux server....)
Regards,
Evgueni

Please Log in or Create an account to join the conversation.

More
06 Jun 2012 17:25 #15 by babynus
Great !
So this fix will be included in V2.3

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.041 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.