Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2013-10-03 09:51:59

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Custom font won't display after moving the site to new host

dorka wrote:

only I don’t

Only Firefox implements CORS outside XMLHttpRequests, so that would be your reason. The CORS header, for the time being, does not have any affect to anyone else than Firefox users. Fix the header and change to relative font URLs, and you are set.

Last edited by Gocom (2013-10-03 09:55:48)

Offline

#14 2013-10-03 09:58:43

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Custom font won't display after moving the site to new host

dorka wrote:

How do I fix that?

Apache documentation. For copy paste snippets search Google for apache cache header etc.

Last edited by Gocom (2013-10-03 09:59:44)

Offline

#15 2013-10-04 11:26:37

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: Custom font won't display after moving the site to new host

dorka wrote:

only I don’t (and NOT becouse I didn’t erase the cashe in the browsers).

I can’t see the custom fonts either (yes, Firefox!). So I had a look at the source code where I saw

  1. literally every content element (stylesheets, images, …) linked to your sandbox installation of the site
  2. the stylesheet with still two out of three fonts with relative URLs

Last edited by uli (2013-10-04 11:41:50)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#16 2013-10-06 09:06:15

dorka
Member
Registered: 2012-10-04
Posts: 90

Re: Custom font won't display after moving the site to new host

@ Uli:
Long live Uli! You saved me again, dear. Indeed, the new instalation was sending everything back to the test server and I didn’t noticed that. In order to fix this I had to go to administration>settings in txp backend and change the domain name to the new one. (Than a whole new bunch of small problems came out of cource, but this was actually good to see, because it meant I’was in the right palce).
This issue will probably be mentioned one day in the missing chapter of the Moving instalation Manual.

@ Gocom
I suppose it’s clear now, that the cross site HTTP request was not intentional. ;-).

PROBLEM SOLVEDTHANKS A LOT TO ALL OF YOU FOR THE SUPPORT!

Offline

#17 2013-10-06 11:45:07

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,315

Re: Custom font won't display after moving the site to new host

dorka wrote:

@ Gocom
I suppose it’s clear now, that the cross site HTTP request was not intentional. ;-).

Made me re-read Jukka’s posts that I hadn’t read carefully enough before, apparently. Hence: this here …

Long live Uli!

… is directed at the wrong address ;)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB