Announcement

Collapse
No announcement yet.

Problem Downloading

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem Downloading

    Problem Downloading
    We are currently running vBulletin 3.68 with MySQL 5.0.37-standard and PHP Version 5.2.5

    Some, but not all of users are having problems open attachments (zip files). Here were some of our tests.

    - Found an original version of the file that was reported as corrupted. (by users)

    - Verified that the zip file would open properly.

    - Created a thread, and uploaded the file.

    - Downloaded the file, and tried to open it.

    - It failed to open. It was also 380 bytes smaller than original file

    - Change the vBulletin option to store to disk instead of within the MySQL database

    - Downloaded the file and tried to open it again.

    - It failed again.

    - Open SSH session to the server, copied the file from the server to my PC with WinSCP

    - It was the same size as the original file, and confirmed that it opened properly.

    So the site is not having any problems uploading the files, but downloading the files via vBulletin are failing.

    Any suggestions?

    Thanks in advance.

  • #2
    No need for reply - we have found the solution.

    When the ISP setup the new server, he did not add a MIME to Apache's httpd.conf file for the .zip extension. We added this entry and restarting Apache, and it resolved the problem.

    Comment


    • #3
      False alarm

      still not working

      We still need help..........

      Comment


      • #4
        It is not uncommon for some zip programs to report zip files as being corrupt when they aren't. Try using a different zip program like 7-zip:

        http://www.7-zip.org/

        Comment


        • #5
          they are corrupt, when using IE6 to download them, they are not corrupt on the site, IE7 is having no issues, Firefox is having no issues either, we have used winazip, winrar, even the extract of XP's OS, still a problem for certain member, the file is corrupt ..

          Comment


          • #6
            I have had bad experiences with all three zip programs you named. I still recommend trying 7-zip.

            I know of no reason why your forum would corrupt the zip files.

            Comment


            • #7
              I have over 6 thousand members, easy enough for me to change my program to unzip the files, how do I tell the other 5999 to do the same...

              as well it's not the program that is wrong....it is if downloaded using IE6 as your browser that one has the issue, if using FireFox no problem, no matter what program is used to unzip the files with, this includes rar files as well, they are corrupted as well on the down load

              Comment


              • #8
                for anyone else here is how we fixed

                I tried a couple of things to track down the problem …

                · Uploaded a file via our website, but downloaded with WinSCP instead of Apache and it worked
                · Changed the file extension, then uploaded and downloaded via Apache and it worked
                · So I assumed it had something to do with the mime type – so I looked at httpd.conf and did not see an entry there.

                This started working in FireFox and IE7, but not in IE6 – so I just started looking at browser specific settings.

                So I made a change to /etc/httpd/conf/extra/httpd-deflate.conf

                I changed:
                # MSIE masquerades as Netscape, but it is fine
                BrowserMatch \bMSIE !no-gzip !gzip-only-text/html

                To:

                # MSIE masquerades as Netscape, but it is fine
                #BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
                BrowserMatch \bMSIE no-gzip


                It just worked successfully for me in IE6, IE7 and FireFox.

                Comment

                widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                Working...
                X