Forums

Call to Favicon crashing my website

Hi

I'm doing a fairly simple thing and it works fine for me locally, however when I apply the change online my site crashes with a 'Internal server error' message.

I am trying to swap the image over to an image I have uploaded to my 'static' folder ( static/images/favicon.ico ) . I can see that image at http://aroundaboutslaundry.eu.pythonanywhere.com/static/images/favicon.ico fine.

The code I swapping out is

{% block branding_favicon %}
 15     <link rel="icon" type="image/x-icon" href="{% versioned_static 'wagtailadmin/images/favicon.ico' %}" />                                   
 16 {% endblock %}

for

{% block branding_favicon %}
    <link rel="icon" type="image/x-icon" href="{% static 'images/favicon.ico' %}" />
{% endblock %}

with 'load static' being called at the top of the page.

Any ideas. I've tried using "url 'static/images/favicon.ico' " as well, to no success.

Any help or a nudge in the right direction will be gratefully received

Thank you.

Look in your error and server logs for tracebacks that will provide details of the error. Then you can use that to start debugging.