Hi,

Like I said latest Collection extension on Ubuntu 9.10 Renders PDF ok,
but the download does not work.
I have updated PHP in Ubuntu 9.10 from 5.2 to 5.3.2 and now I get "The
file is damaged and could not be repaired" msg from Adobe Reader ???
when I try to Download.

PS: btw: I do not see my previous post in this group ?!

Kind regards,

Darko



On Apr 21, 5:56 am, leif wang <[email protected]> wrote:
> The issue has been solved. It's a bug of PHP 5.3 that tmpfile() is not
> writable. After i upgrade to 5.3.1. The pdf download works well now.
>
> Thank your for all your help. Hope this can also help others.
>
> leif
>
> 2010/4/21 leif wang <[email protected]>
>
>
>
> > I found that, if i change the Collection.body.php file in line 1121
> > (download() method):
> > $tempfile = tmpfile();
>
> > to:
> > $tempfile = fopen('test.pdf', 'w');
>
> > I can get the correct pdf file in local folder. So the problem is how
> > tmpfile() transfer data to browser.
>
> > leif
>
> > 2010/4/20 leif wang <[email protected]>
>
> > Yeah, i've tried the latest version (trunk) from the following link, still
> >> the same issue:
> >>http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Collection
>
> >> <http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Collection>
> >> leif
>
> >> 2010/4/20 Johannes Beigel <[email protected]>
>
> >> On 20.04.2010, at 12:47, leif wang wrote:
> >>> > mw-render works on my linux server. And i've used Network Monitor to
> >>> get the http&tcp package. I found my wiki server has got the content of 
> >>> the
> >>> pdf file. So the problem should be on my wiki server configuration.
>
> >>> Do you use the latest revision of the Collection extension? There was a
> >>> bug with downloads a few days ago.
>
> >>> > Do i need to do any privilege configurations?
>
> >>> No.
>
> >>> -- Johannes
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "mwlib" group.
> >>> To post to this group, send email to [email protected].
> >>> To unsubscribe from this group, send email to
> >>> [email protected]<mwlib%[email protected]>
> >>> .
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/mwlib?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "mwlib" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/mwlib?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mwlib?hl=en.

Reply via email to