Author Topic: ZIP Upload geht nicht immer  (Read 6227 times)

0 Members and 1 Guest are viewing this topic.

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
ZIP Upload geht nicht immer
« on: August 21, 2008, 03:35:56 PM »
Hallo,

ich habe den Upload auf ZIP eingestellt, bei mir und bei anderen geht das auch ohne Probleme.
Nun bekommt ein User folgende Meldung:
Quote
Fehler beim Upload der Datei:
jestertb.zip: Die Datei hat ein ungültiges Format (zip, application/x-zip)

Ich habe daraufhin die Einstellungen im Script überprüft.
- im ACP ist ZIP eingetragen
- in der upload_definitions.php hatte ich zunächst
Code: [Select]
$mime_type_match['zip'] = array("application/zip", "application/x-zip-compressed");das habe ich gegen folgendes ausgetauscht
Code: [Select]
$mime_type_match['zip'] = array("application/zip", "application/x-compressed", "application/x-zip-compressed", "multipart/x-zip");- im Media Ordner gibt es den File zip.html mit diesem Inhalt
Code: [Select]
<!-- Template file for ZIP Files -->
{media_icon}<br />

Die Zip Einstellung ist schon etwas länger her, daher hoffe ich, das ich alle Einstellungen aufgelistet habe.

Jedenfalls scheint das Problem nur dieser eine User zu haben.
Liegt es am Script oder hat der User ein Problem?
Es handelt sich um die Script Version 1.7.6

Gruß
michi-w.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: ZIP Upload geht nicht immer
« Reply #1 on: August 21, 2008, 03:52:38 PM »
Code: [Select]
$mime_type_match['zip'] = array("application/zip", "application/x-compressed", "application/x-zip-compressed", "multipart/x-zip", "application/x-zip");
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: ZIP Upload geht nicht immer
« Reply #2 on: August 23, 2008, 02:22:36 PM »
Vielen Dank, so gehts!

Muss ich eigentlich bei RAR auch etwas besonders eintragen?

Ich habe jetzt folgendes eingetragen
Code: [Select]
$mime_type_match['rar'] = array("application/x-rar-compressed", "application/octet-stream");
Gruß
michi-w.

P.S. Außerdem sollte dieser Beitrag editiert werden, schließlich scheint die Zip Einstellung nicht zu stimmen.
http://www.4homepages.de/forum/index.php?topic=7277.0