Thread:Project:Support desk/Unable to create the folder "mwstore://local-backend/local-public/f/fc"

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:
 * 1) 0 /var/www/rockciclopedia.com/htdocs/wiki/includes/upload/UploadBase.php(746): UploadStash->stashFile('/tmp/phpxdixN7', 'file')
 * 2) 1 /var/www/rockciclopedia.com/htdocs/wiki/includes/upload/UploadBase.php(757): UploadBase->stashFile
 * 3) 2 /var/www/rockciclopedia.com/htdocs/wiki/includes/upload/UploadBase.php(766): UploadBase->stashFileGetKey
 * 4) 3 /var/www/rockciclopedia.com/htdocs/wiki/includes/specials/SpecialUpload.php(336): UploadBase->stashSession
 * 5) 4 /var/www/rockciclopedia.com/htdocs/wiki/includes/specials/SpecialUpload.php(427): SpecialUpload->showUploadWarning(Array)
 * 6) 5 /var/www/rockciclopedia.com/htdocs/wiki/includes/specials/SpecialUpload.php(174): SpecialUpload->processUpload
 * 7) 6 /var/www/rockciclopedia.com/htdocs/wiki/includes/SpecialPageFactory.php(476): SpecialUpload->execute(NULL)
 * 8) 7 /var/www/rockciclopedia.com/htdocs/wiki/includes/Wiki.php(263): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
 * 9) 8 /var/www/rockciclopedia.com/htdocs/wiki/includes/Wiki.php(593): MediaWiki->performRequest
 * 10) 9 /var/www/rockciclopedia.com/htdocs/wiki/includes/Wiki.php(503): MediaWiki->main
 * 11) 10 /var/www/rockciclopedia.com/htdocs/wiki/index.php(58): MediaWiki->run
 * 12) 11 {main}

Also $wgScriptPath is commented (so default value)! Is this a bug? Please help me! Thx in advance!