1
gediminasbyt
Can't upload powerpoint

I can't upload PowerPoint docs and searching for an answer... Might someone already did figure this out.

I'm using:
# XOOPS Version : XOOPS 2.0.16
# XOOPS Theme : gbxlt
# XOOPS Template Set : templates_prod
# PHP Version : 5.2.1
# MySQL Version : 5.0.24a-standard-log
# Server Software : Apache/2.0.54 (Unix) PHP/4.4.4 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.3.2
# User's Browser : Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20070130 Firefox/2.0.0.1

I do have latest xoopsinfo installed and did chose to overwrite default image manager. I did add in:

XoopsInfo->mimetypes new mime types pps, ppo and ppt with mimetype: application/vnd.ms-powerpoint

Added in XoopsInfo->Mimetypes->system (added ridiculously large size and gave everyones upload permissions...)

Added in XoopsInfo->Mimetypes->smartsection (added ridiculously large size and gave everyones upload permissions...)

Tried to upload within Xoops->system->images but getting error:

Errors Returned While Uploading
MIME type not allowed 
application/vnd.ms-powerpoint


When I try to upload within smartsection getting their error:
ErrorUnable to store uploaded file for the following reasons:<br />Errorfiletype is not allowedPlease re-submit.



I've added these entries mimetypes.inc.php as it had only ppt and I needed pps to add.

Xoops_root/html/class
egrep "ppt|pps|ppo" mimetypes.inc.php
      
"ppt"              => "application/vnd.ms-powerpoint",
     
"pps"              => "application/vnd.ms-powerpoint",
     
"ppo"              => "application/vnd.ms-powerpoint",


Any help would be nice...

2
gediminasbyt
Re: Can't upload powerpoint

I even had tried following:

INSERT INTO `xoopsdbname_MimeTypeMap` ( `g_extension` , `g_mimeType` , `g_viewable` )
VALUES (
'pps', 'application/vnd.ms-powerpoint', '1'

3
gediminasbyt
[SOLVED]Re: Can't upload powerpoint

Well XoopsInfo is crap at this stage for mimetype management. It does not do anything just make you feel it's working. Haven't looked deeper but the only thing you need to do is:

remove any module configs in XoopsInfo and do usual management in the module itself, in my case smartsection... define extension and manage size within smartsection preferences.

Have to look more into implementation of xoopsinfo for better control of mimetypes.

4
rgauci
Re: Can't upload powerpoint
  • 2008/8/18 17:03

  • rgauci

  • Not too shy to talk

  • Posts: 173

  • Since: 2007/8/31


I am using PD downloads and even tried WF downloads....all seems to have aproblem ti upload a powerpoint presentation with .ppt or .ppt extension

any ideas how to solve this problem????
Be Set FREE!

Login

Who's Online

289 user(s) are online (193 user(s) are browsing Support Forums)


Members: 0


Guests: 289


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits