Jan Erik Moström <[EMAIL PROTECTED]> 08-01-01 20.25 >Patrick R. Michaud <[EMAIL PROTECTED]> 08-01-01 13.07 > >>Perhaps your PHP or apache server isn't configured to allow >>file uploads? > >In order to try this I took the script found at ><http://www.w3schools.com/php/php_file_upload.asp> > >and when I run it I get > >Upload: wer.jpg >Type: image/jpeg >Size: 8.7021484375 Kb >Stored in: /private/var/tmp/phpgGIry0 > >(I can't find the file but I suspect it's automatically deleted >when the php script is completed -- I'm not PHP person so I'm >just guessing) > >>I suspect it has something to do with server or PHP configuration, >>as opposed to being an issue with PmWiki. > >I agree ... I have had no problems earlier but this is the >first time I'm trying on 10.5 so probably something has changed >(apart from going to apache 2)
Getting a bit desperate, since I have no idea what could be causing my problems, I set up a temporary sub-domain on my linux server and copied the PmWiki installation from my Mac. I changed $ScriptUrl = 'http://127.0.0.1/~jem/slakt/pmwiki.php'; $PubDirUrl = 'http://127.0.0.1/~jem/slakt/pub'; to point to the sub-domain and upload worked on the first attempt. So I copied a new config file to local and only changed $EnableUpload = 1; $DefaultPasswords['upload'] = crypt('secret'); No change. Before getting really upset I decided to try Firefox ... and it works. A few more tests shows that upload doesn't work using OmniWeb or Safari but on Firefox ... I have no idea why. jem -- Jan Erik Moström, www.mostrom.pp.se _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
