Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to Images and Attachments uploads failing

Re: Images and Attachments uploads failing


You may have already checked this but check the permissions on the directories and which user owns the directory. Can the web account (apache access the directories. Also see if the file being reference exist in the directories. Check the source and the destination for the referenced files.

> My wiki users can no longer attach files to wiki pages.
>
> Example error output:

>
Copy to clipboard
> Warning: move_uploaded_file(/tmp/AoDBG.jpg.tmp): failed to open stream: > No such file or directory in > c:\easyphp1-8\www\tiki192\tiki-upload_image.php on line 172 > > Warning: move_uploaded_file(): Unable to move 'C:\EASYPH~1\\tmp\php331.tmp' > to '/tmp/AoDBG.jpg.tmp' in > c:\easyphp1-8\www\tiki192\tiki-upload_image.php on line 172 >

>
> We've been running our wiki for several months with ))TikiWiki(( 1.9.2 and have had very few serious problems. This one is killing us since most of our image and document assets are contained on the wiki.
>
> My guess is that one of the other wiki adminstrators errantly changed a setting, but I can't figure out which one. (This is not my primary job, but wiki is a convenient way for us to manage game content.)
>

>
Settings

> Wiki attachments
> Wiki attachments: enabled
> Use a directory to store files: enabled; using 'attachments'
> Image Galleries
> Use a directory to store images: enabled; using 'galleries/images/'
> Enable directory batch loading: enabled; using 'galleries/images/'
> File Galleries
> Use a directory to store files: enabled; using 'galleries/files'
>
> Please note: I am not a PHP or SQL guru though competent in several other programming languages. So bear with my (short term) ineptitude while I figure this out. 😊 Thanks for any help.
>