[dokuwiki] FW: Re: Can't upload files anymore
- From: "Jerry Schwartz" <jschwartz@xxxxxxxxxxxxxxxx>
- To: <dokuwiki@xxxxxxxxxxxxx>
- Date: Wed, 9 Jul 2008 11:16:28 -0400
>From: John Benedetto [mailto:jbenedet@xxxxxxx]
>Sent: Wednesday, July 09, 2008 9:46 AM
>To: Jerry Schwartz
>Subject: [dokuwiki] Re: Can't upload files anymore
>
>
>Could your conf/mime.conf file in your wiki be hosed? ...that is where
>the list of extensions of allowed files is...
>
[JS] I believe they are okay. Here is mime.conf:
---------------------
#Add extensions and mimetypes of files you want to allow to upload here
jpg image/jpeg
jpeg image/jpeg
gif image/gif
png image/png
tgz application/octet-stream
tar application/x-gtar
gz application/octet-stream
bz2 application/octet-stream
zip application/zip
rar application/rar
pdf application/pdf
ps application/postscript
doc application/msword
docx application/msword
xls application/msexcel
xlsx application/msexcel
xlsm application/msexcel
ppt application/mspowerpoint
rtf application/msword
swf application/x-shockwave-flash
sxw application/soffice
sxc application/soffice
sxi application/soffice
sxd application/soffice
odc application/vnd.oasis.opendocument.chart
odf application/vnd.oasis.opendocument.formula
odg application/vnd.oasis.opendocument.graphics
odi application/vnd.oasis.opendocument.image
odp application/vnd.oasis.opendocument.presentation
ods application/vnd.oasis.opendocument.spreadsheet
odt application/vnd.oasis.opendocument.text
# You should enable HTML and Text uploads only for restricted Wikis.
# Spammers are known to upload spam pages through unprotected Wikis.
# Note: Enabling HTML opens Cross Site Scripting vulnerabilities
# through JavaScript. Only enable this with trusted users. You
# need to disable the iexssprotect option additionally to
# adding the mime type here
#html text/html
#htm text/html
#txt text/plain
------------------
I'm not sure where else to look. According to the documentation, if a user
doesn't have permission to upload files into the current namespace then the
media manager window shouldn't appear. It does, so I hope that means the ACLs
are correct. Even I (Jerry) get the same error message:
-----
User jerry currently has the following permissions in namespace
it_procedures_and_notes: Read, Edit, Create, Upload, Delete.
Note: Those permissions were not set explicitly but were inherited from other
groups or higher namespaces.
-----
>- john
>
>>>> On 7/9/2008 at 07:29 AM, in message
><254c01c8e1c7$c6947a20$53bd6e60$@com>,
>"Jerry Schwartz" <jschwartz@xxxxxxxxxxxxxxxx> wrote:
>> Anyone else running PHP 5.2.6 with DokuWiki 2008-05-05? I suspect
>that it
>> was the upgrade to PHP 5.2.6 that killed our ability to upload media
>files.
>> The media manager window opens, but every file we try to upload
>generates
>> the message that the file extension is invalid.
>>
>> Regards,
>>
>> Jerry Schwartz
>> The Infoshop by Global Information Incorporated
>> 195 Farmington Ave.
>> Farmington, CT 06032
>>
>> 860.674.8796 / FAX: 860.674.8341
>>
>> www.the-infoshop.com
>> www.giiexpress.com
>> www.etudes-marche.com
>> From: dokuwiki-bounce@xxxxxxxxxxxxx
>[mailto:dokuwiki-bounce@xxxxxxxxxxxxx]
>> On Behalf Of Jerry Schwartz
>> Sent: Monday, July 07, 2008 4:41 PM
>> To: dokuwiki@xxxxxxxxxxxxx
>> Subject: [dokuwiki] Can't upload files anymore
>>
>> I just realized that I updated PHP from version 4.x to 5.2. I can't
>think of
>> any reason that would have broken dokuwiki file uploads, but I'm
>not
>> familiar with its innards.
>>
>> We can and do upload files for other purposes.
>>
>> Regards,
>>
>> Jerry Schwartz
>> The Infoshop by Global Information Incorporated
>> 195 Farmington Ave.
>> Farmington, CT 06032
>>
>> 860.674.8796 / FAX: 860.674.8341
>>
>> www.the-infoshop.com
>> www.giiexpress.com
>> www.etudes-marche.com
>>
>>
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
Other related posts:
- » [dokuwiki] FW: Re: Can't upload files anymore