Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #184144

    Hello,

    I can’t fontello functionality put to work. I do everything like in your vimeo tutorial, but get the following error:

    #184145

    Here is the generated by fontello file I am trying to upload: http://yadi.sk/d/dnZedg-6C6CZt

    #184705

    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

    #184716

    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?

    #184736

    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

    #185083

    Perfect, thank you! The thread can be closed.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Fontello fonts don't work’ is closed to new replies.