Interesting that "public" is actually the images directory. The images directory is there off the wiki directory with permissions set to 755 and stores the logo in the upper left hand corner of the main page and that link works fine. I tried renaming the images directory to allow a new images directory to be written by the program but still got the same error message. I am stumped. Here are the LocalSettings.php settings:
$wgEnableUploads = true; $wgUploadPath = true; ///< defaults to "{$wgScriptPath}/images" $wgUploadDirectory = true; ///< defaults to "{$IP}/images"
Would appreciate some help.
Thanks, Gary
At 10:33 PM 11/29/2010, you wrote:
On Mon, Nov 29, 2010 at 9:36 PM, Gary Roush groush2@earthlink.net wrote:
The search does not find the image file even though it is in the images directory. When I try to upload the image file using Special:upload, I get this error message "The upload directory (public) is missing and could not be created by the webserver" along with PHP error messages referring to the part in GlobalFunctions.php lines 2176 and 2179 which has to do with creating a new directory. I tried adding the public directory manually and that did not work either although I do not know where the public directory should be located.
"public" is actually the images directory. It sounds like you moved it around or deleted it while you were uploading files through FTP. Make sure there is a directory called "images" in your wiki directory.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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@lists.wikimedia.org