Uploading files is finally fixed. After escalating help with ReadyHosting to level 3, I finally found someone who could change the image directory permissions to "full" (their term). That solved the problem, but interestingly when I look at the directory permissions using FileZilla, it still shows 755. No idea why it does not show 777, but since file upload now works I am done with this.
Thanks to those of you who helped!
Gary
At 05:36 PM 11/30/2010, you wrote:
More precisely, chmod the images directory so that the webserver can write to it. (If you don't have access to chown or chgrp, then you will indeed have to chmod it to 777.)
On Tue, Nov 30, 2010 at 3:54 PM, trueskew trueskew@gmail.com wrote:
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
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