On 07/31/2012 02:01 PM, Фосса wrote:
Hi, mr. All!
When i installed MW-1.19.1 on my hosting i got error messages like
'rename() [function.rename SAFE MODE Restriction in effect. The script whose uid is 55398 is not allowed to access /var/tmp owned by uid 0 in *UploadStash.php* on line *173*'
when trying to upload any image.
Safe mode was turned OFF, but this error didn't disappear.
I think this is Bug 24985 which has been fixed by https://gerrit.wikimedia.org/r/#/c/8996/ to use $wgTmpDirectory when available. There was a lot of discussion on MW.o about this sort of problem (see http://www.mediawiki.org/wiki/Thread:Talk:MediaWiki_1.19/Thumbnails_didn%27t..., shortened: http://hexm.de/ks)
If the patch in Gerrit fixes your problem then, it will be fixed in 1.20, at the latest (due out later this year).
Mark.