Posts: 181
Threads: 23
Joined: Feb 2010
Reputation:
0
Ok,
in both solutions the node is inside the "header" section sent to the browser.
pngythai and dting: please let us know if some of this solutions works for you to consider the fix for the next release.
If none works: I need to know in wich client flatform (SO/Browser) are you experimentig the bug to try to reproduce it.
Posts: 2
Threads: 0
Joined: Mar 2011
Reputation:
0
03-30-2011, 10:29 PM
(This post was last modified: 03-30-2011, 11:05 PM by dfernandez.)
Hi!
I am using LetoDMS-3.0.0-RC3 and I'm having the same problems too.
I have tried the proposed solutions without success, someone has solved this problem?
Im using Microsoft xp and firefox 4.0, IE8
Best Regards!
Posts: 2
Threads: 0
Joined: Mar 2011
Reputation:
0
I solved the problem in the version 3.0.0-RC3 by changing op/op.Download.php approximately lline 61 to 71 this way:
/***Original***/
//header("Content-Type: application/force-download; name=\"" . mydmsDecodeString($content->getOriginalFileName()) . "\"");
header("Content-Transfer-Encoding: binary");
header("Content-Length: " . filesize($dms->contentDir . $content->getPath() ));
header("Content-Disposition: attachment; filename=\"" . mydmsDecodeString($content->getOriginalFileName()) . "\"");
//header("Expires: 0");
header("Content-Type: " . $content->getMimeType());
//header("Cache-Control: no-cache, must-revalidate");
header("Cache-Control: must-revalidate");
//header("Pragma: no-cache");
readfile($dms->contentDir . $content->getPath());
*** change to ***
header("Content-Transfer-Encoding: binary");
header("Content-Length: " . filesize($dms->contentDir . $content->getPath() ));
header("Content-Disposition: attachment; filename=\"" . mydmsDecodeString($content->getOriginalFileName()) . "\"");
header("Content-Type: " . $content->getMimeType());
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
ob_clean();
flush();
readfile($dms->contentDir . $content->getPath());
********************************************************
I hope that help to someone.
Best Regards!