[Fixed]-Mezzanine – blog link is returning error page in ubuntu server

1πŸ‘

βœ…

See this issue for the list of likely solutions:

  • Make sure that you created your production database with a UTF-8 charset. This will cause headaches if you forget to do it.

  • Verify that the system locale supports UTF-8:

    Your system locale may be a default ASCII locale, like the β€œC” locale on UNIX-like systems (can be checked by the locale command). If it’s the case, please refer to your system documentation to learn how you can change this to a UTF-8 locale.

  • Verify that your wsgi handler (e.g., uwsgi, gunicorn) is being passed the right locale. Here’s some sample config:

    environment=LANG="%(locale)s",LC_ALL="%(locale)s",LC_LANG="%(locale)s"
    
πŸ‘€solarissmoke

Leave a comment