-
AuthorPosts
-
December 15, 2013 at 7:33 pm #200476
Hello,
I’m experiencing a problem trying to upload a fontello zip file:
Couldn’t add the font because the server didn’t respond.
Please reload the page, then try againCan you help me please?
Regards
December 15, 2013 at 7:33 pm #200477This reply has been marked as private.December 16, 2013 at 9:24 am #200599Hi!
Can you please provide a php error log? The “Couldn’t add the font because the server didn’t respond” error is very generic and it basically just tells you that something on the server went wrong. It could be a problem with the php memory limit – in this case try to increase the allocated memory limit to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP – or a server side configuration issue like here: https://kriesi.at/support/topic/iconfont-manager-upload-problem/
If you don’t have a php error log please contact the hoster/server administrator and ask him to provide the error logs.
Cheers!
PeterDecember 17, 2013 at 1:35 am #200878This reply has been marked as private.December 17, 2013 at 1:57 am #200891This reply has been marked as private.December 19, 2013 at 1:37 pm #202007Hey!
Can you please post a link to the fontello font file. I found some threads about the “Entity ‘XXX’ not defined in ” error on stackoverflow but I’m curious why fontello uses the raquo entity in the xml file. Please try a following fix (ref http://stackoverflow.com/questions/6208764/how-do-i-troubleshoot-simplexml-load-file-parser-error-entity-nbsp-not-def ).
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 = str_ireplace(array('»'),array('»'), $response); $xml = simplexml_load_string($response);
Regards,
PeterDecember 19, 2013 at 2:22 pm #202017This reply has been marked as private.December 19, 2013 at 2:41 pm #202020This reply has been marked as private.December 19, 2013 at 9:06 pm #202251This reply has been marked as private.December 19, 2013 at 9:09 pm #202255This reply has been marked as private.December 20, 2013 at 9:54 am #202501Hey!
Yes, it’s not a problem with the font icon set. The ” Entity ‘raquo’ not defined” is just a symptom of another error (probably your server just passes the error message to the simplexml_load_string() function and this error message contains a raquo sign). I’m not sure what causes the issue though – do you have a php error log which lists all errors, not only the simplexml_load_string() errors?
Regards,
PeterDecember 31, 2013 at 8:47 pm #204150I get the same message when I try and upload a fontello font file, is there a resolution.
December 31, 2013 at 8:54 pm #204152Hey @scanman2121 – Can you post a new topic with the exact error you are getting? This topic and the responses from Peter are very specific to this user so far and I don’t want them to get confused and prevent a resolution from happening.
-
AuthorPosts
- The topic ‘Error trying to upload fontello font file’ is closed to new replies.