[pmwiki-users] Error on attachments when using $EnableDirectDownload = 0

Helge Larsen hal at post4.tele.dk
Thu Jan 4 14:34:09 CST 2007


Hello Pm

>Something on this site is setting the HTTP Content-Type response 
>header to always be "text/html", even for images and downloaded 
>files.

That was also what I have seen, but only when direct download is
disabled.

>I don't know if it's a recipe, local customication, Apache
>configuration, or something else that is doing this.  In fact,
>it appears that the Content-Length: and Content-Disposition:
>headers that PmWiki normally supplies are also missing, so I'm
>guessing there's something somewhere (proxy? webserver?) that
>is stripping PmWiki's headers and replacing them with something
>else.  Either that or a skin/recipe is changing the output of
>?action=download.

This is a list of the recipies used:
	include_once("cookbook/newmember-hal.php");
	include_once("cookbook/htpasswdform.php");
	include_once("cookbook/selectquery.php");
	include_once("cookbook/updateform-hal.php");
	include_once('cookbook/GoogleMapAPI/gma-2.1.3-hal.php');
	include_once('cookbook/actionlog.php');
	include_once('cookbook/logbook.php'); 
	include_once("cookbook/cmsb-cmsmode.php");
	include_once("cookbook/cmsb-blocklist.php"); }
	include_once("cookbook/cmsb-addlink.php"); }
	include_once("cookbook/commentboxplus.php");
	include_once("cookbook/forumstyled.php");
	include_once('cookbook/protectemail.php');
	include_once('cookbook/multilanguage.php'); 
	include_once('cookbook/totalcounter_1_7.php'); 
	include_once("cookbook/extendcond.php"); 
	include_once('cookbook/wsplus.php');
	include_once('cookbook/thumblist.php');

Those with "-hal" in the names is modified by my self.

The skin is a Monobook skin, with only small changes.

>Perhaps you could set $EnableDiag = 1; on the site?  That might
>provide me a few more clues.

Ready for you now.

-- 
Regards
Helge Larsen




More information about the pmwiki-users mailing list