Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#39 Trouble uploading PDF after installing mailinglists

closed-invalid
Greg Meiste
5
2007-12-08
2007-06-09
bweber
No

installed mailinglists module 0.5.6
using phpWebsite 0.10.2
and Documents module 2.2.10

After installing mailinglists it appears that the only way I can upload PDF files into the Documents module is to modify the mod/documents/conf/config.php file to define("JAS_DOCUMENT_TYPES", "all");

In my conditional types, it is shown as follows:
define("JAS_DOCUMENT_TYPES","text/plain,text/richtext,text/html,text/css,text/xml,application/octet-stream,application/postscript,application/rtf,application/applefile,application/mac-binhex40,application/wordperfect5.1,application/pdf,application/x-stuffit,application/zip,application/msword,application/vnd.ms-excel,application/vnd.ms-powerpoint,application/xml,application/x-gzip,application/x-gunzip,application/x-zip-compressed,audio/basic,audio/mpeg,video/mpeg,video/quicktime");

When JAS_DOCUMENT_TYPES is NOT "all", I get the following error when trying to upload a PDF into Documents:
"The file type binary/octet-stream uploaded was not an allowed file type."

Please advise a solution. TIA.

Discussion

  • Greg Meiste
    Greg Meiste
    2007-12-08

    Logged In: YES
    user_id=780595
    Originator: NO

    This may be an issue with the Documents module. By phpWebSite design, the mailinglists module won't even be active when you are within the documents module.

     
  • Greg Meiste
    Greg Meiste
    2007-12-08

    • status: open --> closed-invalid