Author Topic: Kein Zip-upload ?  (Read 7072 times)

0 Members and 1 Guest are viewing this topic.

Offline bananaboy

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
Kein Zip-upload ?
« on: November 16, 2010, 06:28:14 PM »
moin,

Habe ein schwerwiegenderes Problem.
Kein Upload von zip Dateien o. ähnlich möglich , nur Bilddateien .

Fehler -> Die Datei hat ein ungültiges Format (zip, application/save-as)

Habe in der upload_definitions.php dieses drin stehen

$mime_type_match['zip'] = array("application/zip""application/x-compressed""application/x-zip-compressed""multipart/x-zip");

In den Einstellungen stehts auch , sowie in der Datenbank selber.
Also zip ist dort eingetragen.


Hat jemand eine Idee was ich wo noch einstellen könnte ?


Danke
"bananaboy"



Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: Kein Zip-upload ?
« Reply #1 on: November 16, 2010, 08:08:08 PM »
fehlt evtl. die zip.html in dem Ordner templates/dein Template/media ?

Danke Harald




Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Kein Zip-upload ?
« Reply #2 on: November 16, 2010, 08:09:04 PM »
Hallo bananaboy ...

... dann verwende mal statt deiner angeführten Codezeile folgendes in deiner upload_definitions.php ...


 $mime_type_match
['zip'] = array("application/zip""application/x-compressed""application/x-zip-compressed""multipart/x-zip""application/save-as"); 


Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline bananaboy

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
Re: Kein Zip-upload ?
« Reply #3 on: November 16, 2010, 10:53:30 PM »
Hallo bananaboy ...

... dann verwende mal statt deiner angeführten Codezeile folgendes in deiner upload_definitions.php ...


 $mime_type_match
['zip'] = array("application/zip""application/x-compressed""application/x-zip-compressed""multipart/x-zip""application/save-as"); 




Moin,

das war's !
"application/save-as"

Danke

"bananaboy"

Offline x23piracy

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • FHG
Re: Kein Zip-upload ?
« Reply #4 on: November 16, 2010, 11:01:54 PM »
Hi,

ich fände es interessant zu wissen wie sich der Fehler bei dir eingeschlichen hat?
Also was war das jetzt, hast du das media template geändert weshalb das jetzt nötig war
oder hast du neuinstalliert und das ist ein release fehler?


Gruß Jens

Don't trust in md5 it's unsafe change your 4i galerys password hash algorythm! second pw db field, create new hashes over some time, deny old hash. Help members that cry, send informationen mail to the rest. Camouflage new pw hash in cookie. Done!

--(◔̯◔)--

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Kein Zip-upload ?
« Reply #5 on: November 16, 2010, 11:19:15 PM »
@x23piracy

... das hat nichts mit dem media template zu tun ...
... bananaboy verwedet mit Sicherheit noch eine frühere bzw. geupdatete Version ...
... aufgrund der Fehlermeldung kann man prinzipiell hier ( http://www.4homepages.de/forum/index.php?topic=7277.0 ) die Lösung nachvollziehen ...
... die Ursache dieser Fehlermeldung liegt auch in der Serverkonfiguration, so dass dieser Fehler nicht überall zwangsweise auftreten muss ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline x23piracy

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • FHG
Re: Kein Zip-upload ?
« Reply #6 on: November 17, 2010, 12:33:22 AM »
...
(Andi gerechtes Zitat ;) Spaß muss sein)


understood... Danke dir  :thumbup:


Gruß Jens

Don't trust in md5 it's unsafe change your 4i galerys password hash algorythm! second pw db field, create new hashes over some time, deny old hash. Help members that cry, send informationen mail to the rest. Camouflage new pw hash in cookie. Done!

--(◔̯◔)--

Offline bananaboy

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
Re: Kein Zip-upload ?
« Reply #7 on: November 17, 2010, 04:00:55 AM »
Moin,

das ganze hat vorher auch immer funktioniert,
auch mit älteren ver. vom script.
ich hatte eigentlich immer zugesehen das die typen richtig eingetragen sind.

dieses mal ist aber wohl der firefox schuld denn mit dem IE habe ich keine probleme.

nachdem ich "application/save-as" zu den typen hinzugefügt habe verstand es dann auch der FF.



"bananaboy"