Hello. That "public" may stand for "$IP/images", so make sure you have that directory writable. -MGrabovsky
On Apr 19, 2008, at 11:57 PM, 65s.mg@atlas.cz 65s.mg@atlas.cz wrote:
Hello. That "public" may stand for "$IP/images", so make sure you have that directory writable. -
I set the /wiki/images directory to: 777
and I get this error when trying to upload:
Could not rename file "/tmp/phpXzowz9" to "public/6/64/ StrawberryFields-PennyLane.jpg".
There's no such file I can find when I SSH into the server.
I've done many MW wikis and this has always worked. But my other wikis are v. 1.9.
Thanks.
Tim
Could not rename file "/tmp/phpXzowz9" to "public/6/64/ StrawberryFields-PennyLane.jpg".
In LocalSettings.php, I have this:
$wgEnableUploads = true;
$wgUploadPath = "$wgScriptPath/images"; $wgUploadDirectory = "$IP/images";
But when I try to upload an image, I keep getting this:
Could not create directory "public/6/64".
Somewhere MW thinks I want to upload files to a directory called "public".
Tim
Tim Ware wrote:
Could not rename file "/tmp/phpXzowz9" to "public/6/64/ StrawberryFields-PennyLane.jpg".
There's no such file I can find when I SSH into the server. _______________________________________________
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
The file is a temporary file made of what was sent to PHP.
That's why you can't find it.
Also, try making a public directory inside wiki/images ,
mediawiki-l@lists.wikimedia.org