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

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

Documents download problem

More
06 Jui 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 Connexion or Create an account to join the conversation.

More
06 Jui 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 Connexion or Create an account to join the conversation.

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

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.042 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

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