+- +-

Benutzer

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

Autor Thema: Project Spartan und Forums-Avatare  (Gelesen 3990 mal)

Itchy

  • Administrator
  • Boardmonster
  • Beiträge: 5.862
    • Profil anzeigen
Project Spartan und Forums-Avatare
« am: 04. Juni 2015, 10:24:07 »
Blaukool hat entdeckt, dass mit dem IE-Nachfolger manche Avatar im Forum nicht angezeigt werden. Deswegen brauche ich ExpertenTM-Hilfe.

Meiner funktioniert:
https://www.trident-online.de/smf/index.php?action=dlattach;attach=1373;type=avatar

Abyes funktioniert nicht:
https://www.trident-online.de/smf/index.php?action=dlattach;attach=980;type=avatar

HTTP Header, zuerst mein Avatar (markiert die relevanten Unterschiede):

Zitat
Accept-Ranges: bytes
Cache-Control: max-age=31536000, private
Connection: close
Content-Disposition: inline; filename*=UTF-8''avatar_88.png
Content-Encoding: none
Content-Type: image/png
Date: Thu, 04 Jun 2015 07:17:26 GMT
Etag: "1373avatar_88.png1206833874"
Expires: Fri, 03 Jun 2016 07:17:26 GMT
Last-Modified: Sat, 29 Mar 2008 23:37:54 GMT
Server: Apache/2.4.10 (Debian)
Transfer-Encoding: chunked
X-Frame-Options: SAMEORIGIN
X-Powered-By: PHP/5.6.7-1
x-content-type-options: nosniff
x-xss-protection: 1

Und nun der von Abye:

Zitat
Accept-Ranges: bytes
Cache-Control: no-cache
Connection: close
Content-Disposition: attachment; filename*=UTF-8''avatar_158.png
Content-Encoding: none
Content-Type: application/octet-stream
Date: Thu, 04 Jun 2015 07:20:10 GMT
Etag: "980avatar_158.png1192643551"
Expires: Fri, 03 Jun 2016 07:20:10 GMT
Last-Modified: Wed, 17 Oct 2007 17:52:31 GMT
Server: Apache/2.4.10 (Debian)
Transfer-Encoding: chunked
X-Frame-Options: SAMEORIGIN
X-Powered-By: PHP/5.6.7-1
x-content-type-options: nosniff
x-xss-protection: 1

Die Bilder im Filesystem sind wie folgt:

mail:/srv/www/www.trident-online.de/smf/attachments$ file avatar_88.png avatar_158.png
avatar_88.png:  PNG image data, 80 x 80, 8-bit/color RGBA, non-interlaced
avatar_158.png: PNG image data, 80 x 80, 8-bit/color RGBA, non-interlaced

Sind also beides echte PNGs...

Ich bin ratlos, jemand eine Idee?

Itchy

  • Administrator
  • Boardmonster
  • Beiträge: 5.862
    • Profil anzeigen
Re: Project Spartan und Forums-Avatare
« Antwort #1 am: 04. Juni 2015, 10:28:45 »
Ok, direkt nach dem Absenden die zündende Idee gehabt. Im Forum werden die MIME-Types zu den Attachments in einer Tabelle gespeichert. Die waren teilweise kaputt. Habs jetzt gefixt.

Ronnie Drew

  • Trident Vollmitglied
  • Boardmonster
  • Beiträge: 4.618
  • aka GRANTIG
    • Profil anzeigen
Re: Project Spartan und Forums-Avatare
« Antwort #2 am: 04. Juni 2015, 10:47:51 »
Kein Problem, schön dass wir dir helfen konnten!

Blaukool

  • Trident Vollmitglied
  • Boardmonster
  • Beiträge: 3.793
    • Profil anzeigen
Re: Project Spartan und Forums-Avatare
« Antwort #3 am: 04. Juni 2015, 11:58:27 »
Danke für deinen Post Ronie ;)

Funktionieren: Abye, Blaukool, B$, Ed, Itchy, Hurz, Skeltem
Funktioniert nicht: Ronnie Drew

Blaukool

  • Trident Vollmitglied
  • Boardmonster
  • Beiträge: 3.793
    • Profil anzeigen
Re: Project Spartan und Forums-Avatare
« Antwort #4 am: 04. Juni 2015, 12:05:59 »
« Letzte Änderung: 04. Juni 2015, 12:12:43 von Blaukool »

Blaukool

  • Trident Vollmitglied
  • Boardmonster
  • Beiträge: 3.793
    • Profil anzeigen
Re: Project Spartan und Forums-Avatare
« Antwort #5 am: 04. Juni 2015, 12:15:05 »
Details Blaukool:

http://www.trident-online.de/smf/index.php?action=dlattach;attach=1929;type=avatar

Der Empty-Body wird scheints von Project Spartan eingefügt...

Itchy

  • Administrator
  • Boardmonster
  • Beiträge: 5.862
    • Profil anzeigen
Re: Project Spartan und Forums-Avatare
« Antwort #6 am: 04. Juni 2015, 22:42:41 »
Hab jetzt auch die kaputten GIF und JPEG gefixt. Beim ersten mal hab ich nur die PNGs gemacht. Sollten jetzt aber alle Bilder sein.

Blaukool

  • Trident Vollmitglied
  • Boardmonster
  • Beiträge: 3.793
    • Profil anzeigen
Re: Project Spartan und Forums-Avatare
« Antwort #7 am: 04. Juni 2015, 22:56:15 »
Sieht gut aus :)

abye

  • Trident Vollmitglied
  • Textkönig
  • Beiträge: 2.414
    • Profil anzeigen
Re: Project Spartan und Forums-Avatare
« Antwort #8 am: 04. Juni 2015, 23:23:44 »
Warum schreibt er denn den falschen content-type in die Tabelle ?

Itchy

  • Administrator
  • Boardmonster
  • Beiträge: 5.862
    • Profil anzeigen
Re: Project Spartan und Forums-Avatare
« Antwort #9 am: 04. Juni 2015, 23:29:15 »
Das weiß ich nicht. Wahrscheinlich ein SMF Bug? Hab jetzt nicht extensiv danach gegoogled.

 

Benutzer Online

38 Gäste, 1 Mitglied
Carfesch
Powered by EzPortal