https://bugzilla.wikimedia.org/show_bug.cgi?id=29461
Web browser: ---
Bug #: 29461
Summary: Upload file: Special Pages does not allow Office 2007
or 2007 saved as 2003 files to be uploaded.
Product: MediaWiki
Version: 1.17.0rc1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Uploading
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Upon updating from the 1.17beta to the 1.17rc1 the allowing of office 2007
files is still not detecting the correct mime type for .doc and it does not
allow .docx files to be uploaded giving the error of "application/x-opc+zip"
are not allowed. The .doc still gives the "File extension does not match MIME
type" error.
I attempted to copy the black list to LocalSetting.php and comment out the ones
related to office but it crashes the wiki with an internal error:
Internal error
>From wikitest
Jump to: navigation, search
error storing file in '/var/tmp/phpdeguPj.docx': directorycreateerror;
/var/www/html/wikitest/images/temp/8/8b
Backtrace:
#0 /var/www/html/wikitest/includes/upload/UploadBase.php(634):
UploadStash->stashFile('/var/tmp/phpdeg...', Array, NULL)
#1 /var/www/html/wikitest/includes/upload/UploadBase.php(646):
UploadBase->stashSessionFile(NULL)
#2 /var/www/html/wikitest/includes/specials/SpecialUpload.php(367):
UploadBase->stashSession()
#3 /var/www/html/wikitest/includes/specials/SpecialUpload.php(461):
SpecialUpload->showUploadWarning(Array)
#4 /var/www/html/wikitest/includes/specials/SpecialUpload.php(192):
SpecialUpload->processUpload()
#5 /var/www/html/wikitest/includes/SpecialPage.php(578):
SpecialUpload->execute(NULL)
#6 /var/www/html/wikitest/includes/Wiki.php(251):
SpecialPage::executePath(Object(Title))
#7 /var/www/html/wikitest/includes/Wiki.php(63):
MediaWiki->handleSpecialCases(Object(Title), Object(OutputPage),
Object(WebRequest))
#8 /var/www/html/wikitest/index.php(114):
MediaWiki->performRequestForTitle(Object(Title), NULL, Object(OutputPage),
Object(User), Object(WebRequest))
I tried both a chmod 666 and 777 on the images directory with the same result
based on the error storing file.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l