Hi Gilles,<br>
<br>
Thank you for your reply. The problem turned out to be really stupid! In
 my config.php file, I was specifiying: $UploadDir = &quot;pmwiki/uploads&quot;; 
instead of just &quot;uploads&quot;. I thought that the current directory was 
public_html, but it is actually pmwiki.<br>
<br>
I do still have a question though. The permissions for my uploads and wiki.d directories are:<br>
<br>
drwxrwxrwx    2 compmem  compmem      4096 Dec 16 16:01 uploads<br>
drwxrwxr-x    2 compmem  compmem      4096 Dec 17 13:07 wiki.d<br>
<br>
Is this how they should be? Is there any way to make the site more secure?<br>
<br>
Thank you,<br>
Olga<br><br><br><br><div class="gmail_quote">On Fri, Dec 17, 2010 at 9:58 AM, ABClf <span dir="ltr">&lt;<a href="mailto:languefrancaise@gmail.com">languefrancaise@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Olga,<br>
<br>
here are some basic ideas ; not sure any will help you to solve your problem.<br>
<br>
-do you have the last pmwiki installed ? there used to be a bug for<br>
something similar(?) to your problem in an older version<br>
(cf. <a href="http://www.pmwiki.org/wiki/PITS/00396" target="_blank">http://www.pmwiki.org/wiki/PITS/00396</a>)<br>
<br>
-for information, what does you ftp program say about :<br>
wiki.d/<br>
uploads/<br>
Are they writable ? Mine are 755 and working fine.<br>
<br>
-be sure you gave write rights to the real upload destination folder<br>
(search for « upload » in your config to see if there aren&#39;t some<br>
special config things related to upload, for example a dedicated<br>
folder that is not the default one) :<br>
« Defaults to uploads/ in the pmwiki directory, but can be set to any<br>
location on the server. This directory must be writable by the<br>
webserver process if uploading is to occur. »<br>
<a href="http://www.pmwiki.org/wiki/PmWiki/UploadVariables#UploadDir" target="_blank">http://www.pmwiki.org/wiki/PmWiki/UploadVariables#UploadDir</a><br>
<br>
-have a look at : <a href="http://www.pmwiki.org/wiki/PmWiki/UploadsAdmin" target="_blank">http://www.pmwiki.org/wiki/PmWiki/UploadsAdmin</a> : and<br>
especially §Upload directory configuration (?)<br>
I don&#39;t remember what I did when I installed my PmWiki ; but, in that<br>
page, it is said : &quot;Important: do NOT create the uploads directory<br>
yet! See the next paragraph.&quot; So, see next paragraph ; who knows ?<br>
<br>
Hope this can help a little (though not sure ;).<br>
<br>
Gilles.<br>
<br>
<br>
2010/12/16 Olga Lositsky &lt;<a href="mailto:olgita3@gmail.com">olgita3@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Dear Pmwiki Users,<br>
&gt;<br>
&gt; I have attempted to enable uploads on our Wiki. In addition to changes in<br>
&gt; the config file, I created an uploads directory and gave it world-writable<br>
&gt; permissions using chmod 777 as described here:<br>
&gt; <a href="http://www.pmwiki.org/wiki/PmWiki/FilePermissions" target="_blank">http://www.pmwiki.org/wiki/PmWiki/FilePermissions</a><br>
&gt;<br>
&gt; Unfortunately, when I try to upload a file, I get this message:<br>
&gt;<br>
&gt; Warning: mkdir() failed (Permission denied) in<br>
&gt; /var/www/public_html/pmwiki/pmwiki.php on line 548<br>
&gt;<br>
&gt; PmWiki can&#39;t process your request<br>
&gt;<br>
&gt; PmWiki needs to have a writable /pmwiki/ directory before it can continue.<br>
&gt; You can create the directory manually by executing the following commands on<br>
&gt; your server:<br>
&gt;<br>
&gt;     mkdir //pmwiki<br>
&gt;     chmod 777 //pmwiki<br>
&gt;<br>
&gt; Does this mean that the webserver still does not have permission to write in<br>
&gt; uploads or could there be another problem?<br>
&gt;<br>
&gt; I would really appreciate any tips!<br>
&gt;<br>
&gt; Thank you in advance,<br>
&gt; Olga<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; pmwiki-users mailing list<br>
&gt; <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
&gt; <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
<br>
---------------------------------------<br>
| A | de la langue française<br>
| B | <a href="http://www.languefrancaise.net/" target="_blank">http://www.languefrancaise.net/</a><br>
| C | <a href="mailto:languefrancaise@gmail.com">languefrancaise@gmail.com</a><br>
---------------------------------------<br>
</font></blockquote></div><br>