Heidi Shanklin wrote:
Brion? I have no idea what that means:)
Well, you asked. :)
$wgUploadPath = "$wgScriptPath/images/5/51"; $wgUploadDirectory = "$IP/images/5/51"; $wgLogo = "$wgUploadPath/wiki.png"; $wgStockPath = $wgUploadPath;
Is what I set. Is that incorrect?
Normally you should have this:
$wgUploadPath = "$wgScriptPath/images"; $wgUploadDirectory = "$IP/images"; $wgLogo = "$wgUploadPath/wiki.png"; $wgStockPath = $wgUploadPath;
The additional subdirectories (such as 5/51 or d/d8) are added after the main path by the wiki, and is different for each file that is uploaded. If you put "5/51" directly into the defined path, it's going to try to put Wyoming.png in images/5/51/5/51 and other things in eg images/5/51/d/d8.
The images directory has to be writable by the web server (something like 'chmod a+w images' may be necessary) but if it's not you should be seeing error messages and it shouldn't be logging successful uploads.
-- brion vibber (brion @ pobox.com)