Re: Fonts missing
Damien Regad <[email protected]> Mon, 4 Sep 2023 16:43:34 +0200
| Newsgroups | gmane.comp.bug-tracking.mantis.general |
|---|---|
| Message-ID | <CA+zp4VPC-QRz+qbiQc3FU8GDZi_03kS1ihPw-OAH4gP1f6G3LQ@mail.gmail.com> |
--===============2248859289266989678== Content-Type: multipart/alternative; boundary="0000000000009d034f06048989ee" --0000000000009d034f06048989ee Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hey I had a closer look at this, and the AddType directives in the .htaccess file were added back in 2015, for IE 9/10 compatibility with Fontawesome. Since that time, RFC8081 standardized font mime types, font/woff and font/woff2 deprecated previous usages such as application/font-woff and application/octet-stream. Maybe we could get rid of this .htaccess file, as the standard font types should normally be declared by default in the web server's config nowadays (e.g. For Apache on Ubuntu 22.04 TypesConfig /etc/mime.types). Could you please try if things work (i.e. You see the icons) without the .htaccess file? Thanks Le lun. 4 sept. 2023 =C3=A0 15:24, Damien Regad <[email protected]> a =C3= =A9crit : > You are getting HTTP 500 errors, so you need to check the web server erro= r > logs for more information. > > Most likely a problem with the web server's config. > > Damien > > PS you should remove the admin directory... > > Le lun. 4 sept. 2023 =C3=A0 09:48, Fabian Cenedese <[email protected]> a > =C3=A9crit : > >> Hello >> >> I just upgraded an old 1.3.11 installation to the current 2.25.7. >> I untarred it to a new location and copied the plugins (Source, >> SourceGitlab, SourceSVN) over. The admin/install page worked >> without error. >> >> Everything seems to work so far except that there are errors >> with regards to fonts. And this also leads to missing icons. >> However the font files are all present and accessible. What >> could be the reason for this? >> >> [] >> >> >> /var/www/public/mantisbt-2.25.7/fonts$ ls -la >> -rw-r--r-- 1 www-data www-data 165742 Apr 12 00:55 >> fontawesome-webfont.eot >> -rw-r--r-- 1 www-data www-data 444379 Apr 12 00:55 >> fontawesome-webfont.svg >> -rw-r--r-- 1 www-data www-data 165548 Apr 12 00:55 >> fontawesome-webfont.ttf >> -rw-r--r-- 1 www-data www-data 98024 Apr 12 00:55 >> fontawesome-webfont.woff >> -rw-r--r-- 1 www-data www-data 77160 Apr 12 00:55 >> fontawesome-webfont.woff2 >> etc >> >> Thanks >> >> bye Fabi >> _______________________________________________ >> mantisbt-help mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/mantisbt-help >> > --0000000000009d034f06048989ee Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Hey</div><div dir=3D"auto"><br></div><div dir=3D"auto">I = had a closer look at this, and the AddType directives in the<span style=3D"= float:none;display:inline!important;background-color:rgba(0,0,0,0);border-c= olor:rgb(0,0,0);color:rgb(0,0,0)">=C2=A0.htaccess file=C2=A0</span>were add= ed back in 2015, for IE 9/10 compatibility with Fontawesome.</div><div dir= =3D"auto"><br></div><div dir=3D"auto">Since that time, RFC8081 standardized= font mime types, font/woff and font/woff2 deprecated previous usages such = as application/font-woff and application/octet-stream.=C2=A0</div><div dir= =3D"auto"><br></div><div dir=3D"auto">Maybe we could get rid of this .htacc= ess file, as the standard font types should normally be declared by default= in the web server's config nowadays (e.g. For Apache on Ubuntu 22.04 T= ypesConfig /etc/mime.types).</div><div dir=3D"auto"><br></div><div dir=3D"a= uto">Could you please try if things work (i.e. You see the icons) without t= he .htaccess file?</div><div dir=3D"auto"><br></div><div dir=3D"auto">Thank= s</div><div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_= attr">Le=C2=A0lun. 4 sept. 2023 =C3=A0 15:24, Damien Regad <<a href=3D"m= ailto:[email protected]">[email protected]</a>> a =C3=A9crit=C2=A0:<= br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e= x;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-lef= t-color:rgb(204,204,204)"><div dir=3D"auto">You are getting HTTP 500 errors= , so you need to check the web server error logs for more information.=C2= =A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">Most likely a proble= m with the web server's config.=C2=A0</div><div dir=3D"auto"><br></div>= <div dir=3D"auto">Damien</div><div dir=3D"auto"><br></div><div dir=3D"auto"= >PS you should remove the admin directory...</div><div><br><div class=3D"gm= ail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Le=C2=A0lun. 4 sept. 2023 = =C3=A0 09:48, Fabian Cenedese <<a href=3D"mailto:[email protected]" targ= et=3D"_blank">[email protected]</a>> a =C3=A9crit=C2=A0:<br></div><block= quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-w= idth:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204= ,204,204)">Hello<br> <br> I just upgraded an old 1.3.11 installation to the current 2.25.7.<br> I untarred it to a new location and copied the plugins (Source,<br> SourceGitlab, SourceSVN) over. The admin/install page worked<br> without error.<br> <br> Everything seems to work so far except that there are errors<br> with regards to fonts. And this also leads to missing icons.<br> However the font files are all present and accessible. What<br> could be the reason for this?<br> <br> []<br> <br> <br> /var/www/public/mantisbt-2.25.7/fonts$ ls -la<br> -rw-r--r--=C2=A0 1 www-data www-data 165742 Apr 12 00:55 fontawesome-webfon= t.eot<br> -rw-r--r--=C2=A0 1 www-data www-data 444379 Apr 12 00:55 fontawesome-webfon= t.svg<br> -rw-r--r--=C2=A0 1 www-data www-data 165548 Apr 12 00:55 fontawesome-webfon= t.ttf<br> -rw-r--r--=C2=A0 1 www-data www-data=C2=A0 98024 Apr 12 00:55 fontawesome-w= ebfont.woff<br> -rw-r--r--=C2=A0 1 www-data www-data=C2=A0 77160 Apr 12 00:55 fontawesome-w= ebfont.woff2<br> etc<br> <br> Thanks<br> <br> bye=C2=A0 Fabi<br> _______________________________________________<br> mantisbt-help mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">ma= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/mantisbt-help" rel= =3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listi= nfo/mantisbt-help</a><br> </blockquote></div></div> </blockquote></div></div> --0000000000009d034f06048989ee-- --===============2248859289266989678== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============2248859289266989678== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ mantisbt-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mantisbt-help --===============2248859289266989678==--