On Wed, Jan 03, 2007 at 11:23:01PM +0100, Helge Larsen wrote: > I'm trying to the SecureAttachments cookbook, but there seems to be an > error on my site running pmwiki-2.1.26. > > I tried locking the whole site by setting $EnableDirectDownload = 0 in > config.php, but the my pictures no longer shows. > > I have now restrivted it to two specific groups, but it still fails in > the following way: > > 1. The normal dialog box with open/save does not show, and the file is > displayed on the page, and with and excel file that is to no use ... > > 2. Even if I use save destination to a file it is corrupt, and a small > portion bigger that the original file. > > It seems that the file is handles as text/plain, even it is an excel > file.
What's the name of the file? Does it have a normal ".xls" file extension, or is it named something else? Have you made any custom settings for $UploadDir, $UploadPrefixFmt, $UploadFileFmt, or any of the other $Upload... variables? Pm _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
