Tagged: fontello
Here is the generated by fontello file I am trying to upload: http://yadi.sk/d/dnZedg-6C6CZt
Hey!
The font file imports just fine on my test server and I’m not sure why encoding is different on your server. Try following – open up /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php and replace
$xml = simplexml_load_string($response);
with
$response = utf8_encode($response);
$xml = simplexml_load_string($response);
and check if the font file import works afterwards.
Regards,
Peter
Hello, Peter,
no, it didn’t work. But I have found out the reason!
As soon as the the site is under construction, I had the following in .htaccess:
order deny,allow
deny from all
Allow from xxx
(xxx – my ip address)
So when I deleted that for a while, importing worked fine.
1) My be it shouldn’t be this way and you will fix it
2) If not, what other way would you recommend to restrict access to a site under construction?
Hi!
Yes, then your htaccess blocks the ajax request too. You can try to use a maintenance plugin like: http://wordpress.org/plugins/maintenance/ or http://wordpress.org/plugins/wp-maintenance-mode/ instead which will block external users from viewing your website but you can work on it if you’re logged in.
Cheers!
Peter
Perfect, thank you! The thread can be closed.