Jump to content

Where can I see the error console?


virtuala

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...