Is the /images directory writable by the web
server? You may need to
set global write (CHMOD 777) permissions on it.
Rob Church
On 23/12/05, Martin Baumann <mailsgetlost(a)web.de> wrote:
>I am not shure what exactly my problem is...
>I press upload button, it takes a few seconds, then an error message is
>shown:
>
>Could not copy file "/tmp/php8DaiV2" to
"/home/ws/ry149/.public_html/wiki/images/Cutplane_snapshot.png".'
>
>There aren't any files in images/tmp directory. So I guess that not even
>these uploads to the temp directory are
>done correct. Then Mediawiki cannot copy file from temp to destination
>directory (as in the message).
>But what makes the browkser not to be able to upload files?
>I am not an export in web-servers and so. I should do a "little wiki"
>for an programming project.
>Maybe I am looking for the wrong things... I thought it would be a good
>idea to look for the command that uploads
>the file (from local to temp directory).
>
>Martin
>
>
>Rob Church schrieb:
>
>
>
>
>
>>The actual uploading bit's done by the browser and the web server; the
>>PHP script calls functions which finds out where the file content has
>>gone and what the file's called at that precise moment, amongst other
>>things.
>>
>>I'm not sure what you're trying to achieve.
>>
>>
>>Rob Church
>>
>>On 23/12/05, Martin Baumann <mailsgetlost(a)web.de> wrote:
>>
>>
>>
>>
>>
>>
>>>I did this things. But it doesn't help.
>>>As far as I can see the uploading process is done in file
>>>SpecialUpload.php in function
>>>processUpload(). At least the comments say so.
>>>
>>>But which line exactly copies the file from local drive to the temp
>>>directory?
>>>How is the function named? Is it a standard php function? Or a mediawiki
>>>function?
>>>
>>>This is really tricky to someone that has no experiences in php
>>>programming...
>>>
>>>
>>>Martin
>>>
>>>
>>>
>>>Rob Church schrieb:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>PHP's safe mode breaks a number of things MediaWiki uses, uploads
>>>>being one of them. However, it is possible to work around the problem.
>>>>Disable hashed uploads, create the individual images subdirectories
>>>>and ensure those are writable, then enable uploads and see.
>>>>
>>>>Be aware that safe mode configuration can and will cause other
>>>>problems in other areas, some of which don't have corresponding
>>>>workarounds.
>>>>
>>>>
>>>>Rob Church
>>>>
>>>>On 22/12/05, Martin Baumann <mailsgetlost(a)web.de> wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Is it possible that save mode makes mediawiki absolutely not able to
>>>>>upload images?
>>>>>And as admin of the mediawiki I have no chance to change this fact?
>>>>>
>>>>>I tried anything I found in this mailing list and in the internet.
But
>>>>>without success.
>>>>>
>>>>>ohhhh :-(
>>>>>
>>>>>Martin
>>>>>
>>>>>
>>>>>
>>>>>Martin Baumann schrieb:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Hi,
>>>>>>
>>>>>>is there a way to add images to the database without uploading
them?
>>>>>>Because I have massive problems bypassing save mode I upload image
files by hand.
>>>>>>But I cannot use [Image ...]. What can I do to use [Image ...]
with these images?
>>>>>>
>>>>>>Thanks, Martin
>>>>>>______________________________________________________________
>>>>>>Verschicken Sie romantische, coole und witzige Bilder per SMS!
>>>>>>Jetzt bei WEB.DE FreeMail:
http://f.web.de/?mc=021193
>>>>>>
>>>>>>_______________________________________________
>>>>>>MediaWiki-l mailing list
>>>>>>MediaWiki-l(a)Wikimedia.org
>>>>>>http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>_______________________________________________
>>>>>MediaWiki-l mailing list
>>>>>MediaWiki-l(a)Wikimedia.org
>>>>>http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>_______________________________________________
>>>>MediaWiki-l mailing list
>>>>MediaWiki-l(a)Wikimedia.org
>>>>http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>_______________________________________________
>>>MediaWiki-l mailing list
>>>MediaWiki-l(a)Wikimedia.org
>>>http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>_______________________________________________
>>MediaWiki-l mailing list
>>MediaWiki-l(a)Wikimedia.org
>>http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>>
>>
>>
>>
>>
>>
>>
>_______________________________________________
>MediaWiki-l mailing list
>MediaWiki-l(a)Wikimedia.org
>http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
>
>
>
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org