Jump to content

Recommended Posts

Posted (edited)

Hi. I'm trying to write a page in Python CGI. The hello world works, but when I edit the file, I often get "Internal Server Error", but I don't know the cause. Is there an error console or an option to print the error to the generated html?

Edited by virtuala
Posted

You can sometimes get some error log information from this page https://johnny.heliohost.org:2083/frontend/paper_lantern/stats/errlog.html but if you post the URL or path to your script an admin can sometimes get more useful information for you. The reason you can't access the detailed error logs directly is because you're on a shared server with thousands of other users, and there may be private information in the detailed error logs. If you want direct access to all of the logs you could consider getting a VPS https://www.heliohost.org/vps/ where you'll have root ssh access to run your scripts and view all the logs.

 

One of the most common reasons for 500 errors is trying to load modules that aren't installed. You can see the modules that are currently installed on Johnny at

https://krydos2.heliohost.org/cgi-bin/modules27.py

https://krydos2.heliohost.org/cgi-bin/modules37.py

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...