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

Helge Larsen hal at post4.tele.dk
Thu Jan 4 18:22:40 CST 2007


Hello Pm

>I have now set up at completely bare system:
>	http://www.makoni.dk/test/
>
>The folowing config.php is loaded:
>	<?php if (!defined('PmWiki')) exit();
>	$WikiTitle = "My test Wiki";
>	$EnableUpload = 1;
>	$DefaultPasswords['upload'] = '';
>	$EnableDirectDownload=0;
>	$EnablePathInfo = 1;
>	$ScriptUrl = "http://www.makoni.dk/test";
>
>I have uploaded my picture and Excel file, and added Attach: on the
>main page. 
>
>There seems to be no problem on the test system, so the problem must
>be in my configuration, the skin or one of the recipies. I will test
>them one by one and report my findings back to you.

I have now narrowed the error down either one of these recipies:
	include_once("cookbook/selectquery.php");
	include_once('cookbook/protectemail.php');

When any one of these recepies is enabled, the action=download fails.

-- 
Regards
Helge Larsen




More information about the pmwiki-users mailing list