I finally got my wiki reinstalled & upgraded on a new server, however I am getting an error in trying to upload a image file. Below is the backtrace error message:
Internal error [d198ad70] /index.php?title=Special:Upload Exception from line 244 of /var/www/pw/includes/upload/UploadStash.php: Error storing file in '/tmp/phpb07wwf': Could not create directory "mwstore://local-backend/local-temp/6/65". Backtrace: #0 /var/www/pw/includes/upload/UploadBase.php(844): UploadStash->stashFile(string, string) #1 /var/www/pw/includes/upload/UploadBase.php(857): UploadBase->stashFile() #2 /var/www/pw/includes/upload/UploadBase.php(866): UploadBase->stashFileGetKey() #3 /var/www/pw/includes/specials/SpecialUpload.php(340): UploadBase->stashSession() #4 /var/www/pw/includes/specials/SpecialUpload.php(433): SpecialUpload->showUploadWarning(array) #5 /var/www/pw/includes/specials/SpecialUpload.php(179): SpecialUpload->processUpload() #6 /var/www/pw/includes/SpecialPage.php(631):Internal error [d198ad70] /index.php?title=Special:Upload Exception from line 244 of /var/www/pw/includes/upload/UploadStash.php: Error storing file in '/tmp/phpb07wwf': Could not create directory "mwstore://local-backend/local-temp/6/65". Backtrace: #0 /var/www/pw/includes/upload/UploadBase.php(844): UploadStash->stashFile(string, string) #1 /var/www/pw/includes/upload/UploadBase.php(857): UploadBase->stashFile() #2 /var/www/pw/includes/upload/UploadBase.php(866): UploadBase->stashFileGetKey() #3 /var/www/pw/includes/specials/SpecialUpload.php(340): UploadBase->stashSession() #4 /var/www/pw/includes/specials/SpecialUpload.php(433): SpecialUpload->showUploadWarning(array) #5 /var/www/pw/includes/specials/SpecialUpload.php(179): SpecialUpload->processUpload() #6 /var/www/pw/includes/SpecialPage.php(631): SpecialUpload->execute(NULL) #7 /var/www/pw/includes/SpecialPageFactory.php(488): SpecialPage->run(NULL) #8 /var/www/pw/includes/Wiki.php(298): SpecialPageFactory::executePath(Title, RequestContext) #9 /var/www/pw/includes/Wiki.php(602): MediaWiki->performRequest() #10 /var/www/pw/includes/Wiki.php(467): MediaWiki->main() #11 /var/www/pw/index.php(49): MediaWiki->run() #12 {main} SpecialUpload->execute(NULL) #7 /var/www/pw/includes/SpecialPageFactory.php(488): SpecialPage->run(NULL) #8 /var/www/pw/includes/Wiki.php(298): SpecialPageFactory::executePath(Title, RequestContext) #9 /var/www/pw/includes/Wiki.php(602): MediaWiki->performRequest() #10 /var/www/pw/includes/Wiki.php(467): MediaWiki->main() #11 /var/www/pw/index.php(49): MediaWiki->run() #12 {main}
Any tips to fix this. Thanks john
On Wed, Mar 26, 2014 at 4:11 PM, John Foster jfoster81747@verizon.netwrote:
Error storing file in '/tmp/phpb07wwf': Could not create directory
Did you check the permissions of your /tmp directory? Using your user, can you create a directory in /tmp? If yes, then you might want to check if the user you are using for your web server has the rights to create directories in /tmp.
Hope that helps...
Greg
mediawiki-l@lists.wikimedia.org