Jump to content

Recommended Posts

Posted

I need more details about the error from the following Django website:

https://mainstay.heliohost.org/mainstayerp/admin

The log says:

TypeError: sequence of byte string values expected, value of type str found, referer: https://mainstay.heliohost.org/mainstayerp/login/?next=/mainstayerp/admin/

The login page load and then fails during POST request.

username: amalgd

main domain: mainstay.heliohost.org

server: johnny

 

Thank you!

Posted

Solved it by adding, "<meta charset="utf-8">" in the html templates. It is embarrassing to say this, but thanks for pointing to Google.

Now I see another problem:

NotSupportedError

deterministic=True requires SQLite 3.8.3 or higher

Would there be a quick fix for this?

Posted

The best fix is to switch to MySQL or PostgreSQL.

Not only do they provide much better performance, you don't have to worry about file and directory permissions and disk io. If you insist on using SQLite for some reason you'll have to deal with version 3.7.17 because it can't be upgraded to anything newer. Another option if you refuse to use MySQL or PostgreSQL and need a newer version of SQLite is you could switch to a VPS plan where you could install any version you want, but that starts at $4 per month.

  • Krydos changed the title to [Solved] Help with internal server error on johnny
  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...