[pmwiki-users] can't upload files (*.jpg, *.txt)

JW jizwang at yahoo.com
Wed Nov 16 14:47:48 CST 2005

My settings:

PmWiki 2.0.12
CentOS Linux 4.2
default HTTPd 2 and PHP installation
No passwords for both upload and edit
admin has password enabled

# local/config.php
$EnableUpload = 1;
#$DefaultPasswords['upload'] = crypt('secret');
$UploadDir = "/data/http/wiki/uploads";
$UploadMaxSize = 32000000;

# php.ini
file_uploads = On
upload_max_filesize = 32M
post_max_size = 32M

/data/http/wiki/uploads has permission 777

phpinfo() shows file_uploads enabled (other appls can
upload using same httpd/php

Even though I don't have passwords for both uploads
and edit, when I click "attach file" on a page, it
still asks password before displaying the upload
screen. After I entered path to the file and filename,
and click "upload", It asks password TWICE and then
failure message.

what have I missed?


More information about the pmwiki-users mailing list