Hi guys. I updated my MW 1.16 to 1.19 and run the update.php script from command line. Everything works except displaying of images and uploads. Uploads don't work! I keep getting this error every time I try to upload a file: Unable to create the folder "mwstore://local-backend/local-public/x/XXX"
I didn't set any of these variables $wgTmpDirectory, $wgUploadDirectory, $wgUploadPath. They're all set to their default values. My /includes/DefaultSettings.php is untouched and my LocalSettings hasn't variables regarding file uploads (except EnableUploads set to true). My /images folder is set to 777 as well as its subdirectories (/images/tmp too). It's just weird. Seems a permissions issue but the folder is chmodded to 777, owned by www-data and everything!
After I added $wgShowExceptionDetails = true; I got this results:
Error storing file in '/tmp/phpxdixN7.jpg': Could not create directory "$1". Backtrace: 0 /var/www/ rockciclopedia.com/htdocs/wiki/includes/upload/UploadBase.php(746): UploadStash->stashFile('/tmp/phpxdixN7', 'file') 1 /var/www/ rockciclopedia.com/htdocs/wiki/includes/upload/UploadBase.php(757): UploadBase->stashFile() 2 /var/www/ rockciclopedia.com/htdocs/wiki/includes/upload/UploadBase.php(766): UploadBase->stashFileGetKey() 3 /var/www/ rockciclopedia.com/htdocs/wiki/includes/specials/SpecialUpload.php(336): UploadBase->stashSession() 4 /var/www/ rockciclopedia.com/htdocs/wiki/includes/specials/SpecialUpload.php(427): SpecialUpload->showUploadWarning(Array) 5 /var/www/ rockciclopedia.com/htdocs/wiki/includes/specials/SpecialUpload.php(174): SpecialUpload->processUpload() 6 /var/www/ rockciclopedia.com/htdocs/wiki/includes/SpecialPageFactory.php(476): SpecialUpload->execute(NULL) 7 /var/www/rockciclopedia.com/htdocs/wiki/includes/Wiki.php(263): SpecialPageFactory::executePath(Object(Title), Object(RequestContext)) 8 /var/www/rockciclopedia.com/htdocs/wiki/includes/Wiki.php(593): MediaWiki->performRequest() 9 /var/www/rockciclopedia.com/htdocs/wiki/includes/Wiki.php(503): MediaWiki->main() 10 /var/www/rockciclopedia.com/htdocs/wiki/index.php(58): MediaWiki->run() 11 {main}
Also $wgScriptPath is commented (so default value)! Is this a bug? Please help me! Thx in advance! Other details that may help you: Ubuntu Server 12.04, PHP 5.4.7, Nginx 1.3.6, APC 3.1.11