[pmwiki-users] Uploading images

Patrick R. Michaud pmichaud at pobox.com
Thu Sep 7 20:09:57 CDT 2006


On Wed, Sep 06, 2006 at 04:09:20PM +0200, Tom Backer Johnsen wrote:
> Patrick R. Michaud wrote:
> > As defined above, $UploadDir is set to be '/textbook/uploads'
> > in the root directory of your filesystem.  Try removing that
> > line.  PmWiki will then default $UploadDir to be the uploads/
> > directory in the same directory as pmwiki.php (which is probably
> > what you're wanting).
> 
> I tried that, and it does not help very much I'm afraid.  Am I using 
> the right password?  The system asks for userid/password three times, 
> once to get into the upload form and twice afterwards.  I think I have 
> tried all combinations, the one for the upload and the administrative 
> password.  Which is rather excessive, at least in my case, a passorwd 
> is needed to log on to the wiki.

A couple of questions...

1.  Are you doing any form of HTTP or Apache authentication at all?
    If so, the two authentication systems may be interfering with
    each other, and we should go with just one.

2.  IIRC, your server is running on a Windows platform?  If so,
    then it may be that the PHP session_save_path configuration
    value isn't set properly; this is a common problem on windows
    systems.  You might try setting $EnableDiag=1; in local/config.php,
    then run ?action=phpinfo and see what the value is for
    session.save_path .  If it's not set, then add the following
    to the beginning of your config.php:

        session_save_path('/tmp');

    Replace '/tmp' with the location of a valid temporary directory
    on your system.  Then PHP will be able to save its session data,
    and things will (hopefully) work.

Pm




More information about the pmwiki-users mailing list