[Pmwiki-users] Troubleshooting uploads
Patrick R. Michaud
Thu Sep 23 17:25:32 CDT 2004
On Thu, Sep 23, 2004 at 11:56:05AM -0600, Mark Crane wrote:
> Hi, I apologize for the repost, but the list host told me that some
> messages weren't getting out on the day I first posted this, plus I've
> condensed the original somewhat.
Apparently it ate my reply too. Here it is again.
> Config.php (relevant portions)
> $WikiTitle = 'EWiki';
You're missing a semicolon here. This is almost certainly the
problem, as PHP then skips the rest of the file. There's a bug
in PmWiki--about to be fixed--that causes it to not report errors
in the config file (oops!).
> ## If you want uploads enabled on your system, set $EnableUpload=1.
> ## You'll also need to set a default upload password, or else set
> ## passwords on individual groups and pages. For more information see
> ## PmWiki.UploadsAdmin and PmWiki.PasswordsAdmin.
> $EnableUpload = 1;
> $EnableUploadOverwrite = 0;
> $DefaultPasswords['upload'] = crypt('');
If you want to remove the upload password entirely, use the following
(note no 'crypt'):
$DefaultPasswords['upload'] = '';
If this still doesn't solve the problem, let me know and we'll get it
fixed. Otherwise everything seems to be okay on your site.
More information about the pmwiki-users