[Mediawiki-l] Warning: move_uploaded_file(): SAFE MODERestriction in effect.

Arthur Guy Arthur at assys.net
Wed Nov 23 14:58:00 UTC 2005


The answer is in the subject, safe mode restriction in effect; you need to disable safe mode in the php.ini file.

-Arthur
-----Original Message-----
From: mediawiki-l-bounces at Wikimedia.org [mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of Hans Voss
Sent: 23 November 2005 14:38
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Warning: move_uploaded_file(): SAFE MODERestriction in effect.

Courtesy translation between the original mail.

Martin, are you sure that the intermediate directories are also at
least mode 711 or 755? (If directory B is a subdir of A and B has mode
777 but A has 700 then nobody can use directory B).

On 11/23/05, Martin Baumann <mailsgetlost at web.de> wrote:
>
> Hallo,
>
> ich habe eine neue Wiki auf im Rechenzentrum der Uni installiert. Soweit hat alles geklappt. Nun möchte ich Bilder und Dateien hochladen. Dabei kommt folgender Fehler:
I have installed a new Wiki in the serverroom of the University. So
far everything is OK. Now I want to upload images and files. Then I
get the following error:
>
>
> Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script running as uid 600 is not allowed to write to directory /[...]/.public_html/wiki/images/temp owned by uid 38106 in /[...]/.public_html/wiki/includes/SpecialUpload.php on line 370

>
> Warning: move_uploaded_file(/[...]/.public_html/wiki/images/temp/20051123141254!Texturing.png): failed to open stream: No such file or directory in /[...]/.public_html/wiki/includes/SpecialUpload.php on line 370
>
> Warning: move_uploaded_file(): Unable to move '/tmp/phprQj3sa' to '/[...]/.public_html/wiki/images/temp/20051123141254!Texturing.png' in /[...]/.public_html/wiki/includes/SpecialUpload.php on line 37
>
>
> Ich habe das Verzeichnis 'images' mit Recht 777 versehen. Die Unterverzeichnisse 'archive', 'temp', 'thumb' habe ich von Hand erstellt und auch mit 777-Rechten versehen.
I have changed the 'images' directory to mode 777 and the
subdirectories 'archive' 'temp' 'thumb' as well.
>
> Trotzdem kommt der Fehler ...
Despite that I get the error.
>
>
> Hat jemand eine Idee?
Does anybody have any idea.
>
> Vielen Dank,
Thank you.
>
>
> Martin
> __________________________________________________________________________
> Erweitern Sie FreeMail zu einem noch leistungsstarkeren E-Mail-Postfach!
> Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>


--
----
Met vriendelijke groeten / With kind regards
Hans Voss
---------------------------------------
skype: hans.voss
google talk enabled
I am looking for people to invite to Gmail. I have 100 invitations left.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l



More information about the MediaWiki-l mailing list