form Posted February 17, 2019 Posted February 17, 2019 Hi! I am using django for my website on Tommy and I am having troubles with this Internal Server Error. I already had this kind of problems in the past but this time I am struggling to find a solution. It seems to be something with the dispatch.wsgi file. This are the errors that appear in the c-panel: [Sun Feb 17 21:50:30.387082 2019] [core:info] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] AH00128: File does not exist: /home1/formigol/public_html/500.shtml, referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.386425 2019] [wsgi:error] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] File "/home1/formigol/public_html/colswe2/dispatch.wsgi", line 21, in <module>, referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.384893 2019] [wsgi:error] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] mod_wsgi (pid=29170): Exception occurred processing WSGI script '/home1/formigol/public_html/colswe2/dispatch.wsgi'., referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.384637 2019] [wsgi:error] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] mod_wsgi (pid=29170): Target WSGI script '/home1/formigol/public_html/colswe2/dispatch.wsgi' cannot be loaded as Python module., referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.374405 2019] [wsgi:info] [pid 29170:tid 140379588355840] [client 93.34.147.76:13708] mod_wsgi (pid=29170, process='', application='colouredsweat.heliohost.org|/colswe2/dispatch.wsgi'): Loading WSGI script '/home1/formigol/public_html/colswe2/dispatch.wsgi'., referer: http://www.colouredsweat.heliohost.org/ Thanks in advance for your help! Quote
Krydos Posted February 18, 2019 Posted February 18, 2019 That error is because of the fairly recent upgrade to Django 2 on Tommy. You're using code for Django 1 still. See https://stackoverflow.com/a/43139407/2336864 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.