[Pmwiki-users] Uploads?
Kenneth P. Turvey
kt
Fri Oct 17 18:29:26 CDT 2003
Just wanted to say I worked this problem out. Apparently this is the error
you get when php tries to upload a file when upload_tmp_dir (from php.ini) is
pointing to a directory that doesn't exist. When using Yahoo's web hosting
/tmp is actually a directory called tmp in your home directory. The user is
responsible for creating it. Once this directory was created uploads started
to work right.
I did have to manually create the directories in which the uploads would be
stored, but I expected that.
Thanks all.
On Thursday 16 October 2003 10:52 pm, Kenneth P. Turvey wrote:
> I'm in the process of setting up a wiki at http://ai.squeakydolphin.com
> hosted by Yahoo and I'm running into some difficulty getting the upload
> feature to work.
>
> I can actually try to upload something (you're welcome to try it yourself,
> I'm using the AI.Folklore page for testing) but after uploading it, the
> wiki displays the page again as if nothing had happened. When I look on
> the server I can't locate the file anywhere. I've tried putting the
> "uploads" directory in a number of different places in case it is trying to
> put it in the wrong place, but no luck. When I look in the scripts.log
> file I see this line:
>
> [17-Oct-2003 03:43:11] PHP Warning: File upload error - unable to create a
> temporary file in Unknown on line 0
>
> I'm not a PHP person, yet anyway; would someone be able to tell me what I'm
> doing wrong from this information?
>
> One note: I can't seem to find the full path to the uploads directory
> anywhere. Yahoo hides a lot of this stuff from you. Is there someway to
> find out the full path as it appears to pmwiki.php? Maybe if I specified
> it completely it would solve this problem?
>
> Thanks for your time.
--
Kenneth P. Turvey <kt at squeakydolphin.com>
More information about the pmwiki-users
mailing list