WordPress.org

Ready to get started?Download WordPress

Forums

BP Group Documents
MS Office 2007 Group Docs display as garbled files (6 posts)

  1. reggie3
    Member
    Posted 5 months ago #

    Hi-

    We have recently upgrade in a stepwise fashion from WP 3.1.1 to 3.8 and from BP 1.28 to BP 1.8. Upgraded BP Group Docs to 1.5 along the way. We have numerous MS-Office 2007 documents which cannot be read. Clicking on a .pptx file, for instance, yields something that looks like this (the first few lines only...):

    PK�����!�������&���[Content_Types].xml �(�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Zێ�0}��@�V�C�n�U�}�婗�v�.8 - ;����1 r�dl�% �fΙ���^��{"��l���,̣8ۭ�ߏ�f���8�"��Y�G�����W��#%�Wgl��9��bឤ��sJ2��6/R��a�C������bq��<�$�3^��7�_@GĻ���S�Q�Kė�z�� ���������1�Ib.���,�����m�(��6�a�]��&si�Mi� ������8��['h*ۗb

    We can take the same .pptx file, manually put it in the root directory, and it downloads, invokes Powerpoint, and displays normally. Have checked & rechecked Apache mime.types and don't think that's the issue. Googled the web & support forums and haven't found an answer.

    FWIW, PDF files in the same group document directory display normally also. Valid formats are set as: odt, rtf, txt, doc, docx, xls, xlsx, ppt, pps, pptx, pdf, jpg, jpeg, gif, png, zip, tar, gz

    Thanks in advance for any guidance you can offer!

    https://wordpress.org/plugins/bp-group-documents/

  2. reggie3
    Member
    Posted 5 months ago #

    PS - Have encountered this problem at pretty much every step, i.e., with WP 3.5.2/BP 1.7 along with our current WP 3.8/BP1.8...don't think it's a compatability issue with WP 3.8 particularly...

  3. reggie3
    Member
    Posted 5 months ago #

    Follow up note - our entire site is https. Could this matter?

  4. lenasterg
    Member
    Plugin Author

    Posted 4 months ago #

    reggie hi.
    Sorry to hear that you have that kind of problems.
    Unfontunately I haven't any expertice on https behavior.
    If you try to add the pptx as multimedia attachment to a wordpress post does it display correctly?

  5. tobyhawkins
    Member
    Posted 6 days ago #

    I've been having an issue with docx/xlsx documents where Internet Explorer 8 downloads them as zips.

    Not sure if this is related, but changing line 115 in include > filters.php (v1.7) to:
    header('Content-Disposition: attachment; filename="' . $file_deets[1] . '"');
    fixes the problem.

    Is there a particular reason for having it set to download the files inline instead of as attachments?

  6. lenasterg
    Member
    Plugin Author

    Posted 5 days ago #

    This is a good catch.
    I will update the code according in the next version

Reply

You must log in to post.

About this Plugin

About this Topic