PITS /
00396: Creating uploads directory error message may require tidy
Summary: Creating uploads directory error message may require tidy
Created: 2005-03-18 15:32
Status: Closed (added for 2.2.3)
Category: Bug
From: Simon
Assigned:
Priority: 1
Version: 2beta28
OS: Debian
Description: I am enabling uploads.
$UploadDir = "/home/ksyr69rn/public_html/pmwikiuploads";
I got the message
Warning: MkDir failed (Permission denied) in /home/ksyr69rn/public_html/pmwiki/pmwiki.php on line 361 PmWiki can't process your request PmWiki needs to have a writable /home/ksyr69rn/public_html/pmwikiuploads/ directory before it can continue. You can create the directory manually by executing the following commands on your server: mkdir /home/ksyr69rn/public_html//home/ksyr69rn/public_html/pmwikiuploads chmod 777 /home/ksyr69rn/public_html//home/ksyr69rn/public_html/pmwikiuploads Then, reload this page. We are sorry for any inconvenience.
Is it possible that the commands shown above incorrectly repeat the directory?
- Doing this again, knowing the correct commands for congif.php, and there really does appear to be a problem:
Warning: MkDir failed (Permission denied) in /home/ttc/public_html/pmwiki/pmwiki.php on line 361 PmWiki can't process your request PmWiki needs to have a writable /home/ttc/public_html/pmwikiuploads/ directory before it can continue. You can create the directory manually by executing the following commands on your server: mkdir /home/ttc/public_html//home/ttc/public_html/pmwikiuploads chmod 777 /home/ttc/public_html//home/ttc/public_html/pmwikiuploads Then, reload this page. We are sorry for any inconvenience.
Config is
$EnablePathInfo = 1; $EnableUpload = 1; $UploadDir = "/home/ttc/public_html/pmwikiuploads"; $UploadUrlFmt = "/pmwikiuploads";
A recent (2006-05-23) example)