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

H. Fox haganfox at users.sourceforge.net
Wed Nov 16 15:13:07 CST 2005


On 11/16/05, JW <jizwang at yahoo.com> wrote:
> 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');

Try

$DefaultPasswords['upload'] = "";

Hagan

> $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?
>
> Thanks




More information about the pmwiki-users mailing list