chmod -R 777 images
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Gary Roush Sent: Tuesday, November 30, 2010 12:48 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Basic help
Hi Benjamin,
I removed those two lines from LocalSettings.php and got a different error message of "Could not create directory "public/1/1f"". So it still can not create a directory but at least found the images directory. What now?
Thanks, Gary
At 10:46 AM 11/30/2010, you wrote:
On Tue, Nov 30, 2010 at 9:42 AM, Gary Roush
groush2@earthlink.net wrote:
Interesting that "public" is actually the images directory.
Yeah, that's rather unhelpful behavior. See https://bugzilla.wikimedia.org/show_bug.cgi?id=13812 (which I'm re-adding to my to-do list).
$wgUploadPath = true; ///< defaults to "{$wgScriptPath}/images" $wgUploadDirectory = true; ///< defaults to "{$IP}/images"
$wgUploadPath and $wgUploadDirectory default to false, which allows them to be initialized in Setup.php; setting them to true is
probably
causing the odd behavior. You actually don't need to set
them at all
if you just want the defaults, so you should remove those two lines from LocalSettings.php.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l