Hello Dan,<br><br>Your suggestion worked. Excellent ! <br><br>However, I am redirected to the pmwiki upload page even though I specified a different nextpage. Is there a way I can avoid that ?<br><br>Thanks a lot,<br><br>Benoit
<br><br><br><br><div><span class="gmail_quote">2007/3/8, The Editor <<a href="mailto:editor@fast.st">editor@fast.st</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Benoit,<br><br>I think I may have figured out the upload problem. If you can look in<br>the ZAPfiles module down near the bottom and replace this line<br><br> if (($ZAParray['uploadfile'] != "") && ($ZAParray['upname'] != ""))
<br>HandlePostUpload($pagename);<br><br>with<br><br> if ($ZAParray['upname'] != "") HandlePostUpload($pagename);<br><br>it may work. Evidently the actual file is not stored in the<br>$ZAParray... So it fails the conditional.
<br><br>Can anyone suggest a way to tell whether or not the input field<br>"uploadfile" actually has a field? Or should I just let PmWiki worry<br>about error messages in this regards?<br><br>Cheers,<br>Dan<br>
</blockquote></div><br>