Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I had same problem, I belive is due to web host installed new version of perl as following coversation between tech support and me : (my website http://blackjackstory.com)
Your system make change last 2 weeks make all CGI use html header with internal error 500
Customer-ReplyScript InstallationJC Sun || Client 24th Oct 2021 (16:12)I did 2 test cgi copy from website get 500 internal error as the source code : 0end5.cgi
#!/usr/bin/perl # hello.pl -- my first perl script! print "Content-type: text/html\n\n"; print <<"EOF"; <HTML> <HEAD> <TITLE>Hello, world!</TITLE> </HEAD> <BODY> <H1>Hello, world!</H1> </BODY> </HTML> EOF
0end6.cgi
#! /usr/bin/perl print "Content-type: text/html\n\n"; print "<html><body><h1>Hello World!"; print "</h1></body></html>\n";
----------------------------
IP Address: 2603:8001:800:76c4:71a1:3e61:cc30:9e6e Nikola T.Staff24th Oct 2021 (16:27)Hello there, Thank you for contacting the FastComet Tech Support Team. I have checked out the website and I can see that it's fully reachable + on my end, as can be seen below: > https://i.imgur.com/m7msFSe.png I can see that you're attempting to run a Perl script. Please note that your service was migrated roughly 2 days ago to a new +er, more updated environment. And the Perl version was updated FROM - + 5.10.1 - TO - 5.26.3 - within the new environment I would advise you to ensure that your Perl script's syntax is accepta +ble by Perl 5.26.3, once you've ensured this and IF the script is sti +ll not operational, please provide us with the following information: 1. If you are able to provide us with a STEP by STEP guide on how to p +roduce the issue on our end so that we can investigate further, that +would be fantastic. Please also include any login details (URL, usern +ame/email, password), IF they are necessary for the troubleshooting p +rocess. 2. If possible, attach screenshots to your replies as well, so that we + can see how the case appears on your end or/and provide us with any +error messages that you might be getting. Let me know if you need further assistance. We are here to support you 24/7 Kind Regards, Nick Technical Support Team -- Website: https://www.fastcomet.com/ Facebook: https://www.facebook.com/fastcometcloud/ Twitter: https://twitter.com/fastcometcloud/ Leave a Review for me: https://www.trustpilot.com/review/www.fastcomet +.com You rated this response: JC SunClient24th Oct 2021 (22:55)hi Nikola you are welcome to login my + file manager user name password as blackja2 XXXXxxx the 2 perl is 0e +nd5.cgi and 0end6.cgi the error message is 500 internal error on browse and AH01264 script n +ot found or unable to stat on my error log. the easy way just copy paste my Hello World CGI do test by yourself. or you can find any cgi print HTML header from your library or interne +t prove to me it work on your new version. Best Regards Jerry Sun Ivan IvanovStaff24th Oct 2021 (23:44)Hello. Thank you for reaching back to us. If I have understood your query correctly, you experience ' Internal S +erver Error ' when accessing the following files: > http://blackjackstory.com/0end5.cgi > http://blackjackstory.com/0end6.cgi I fixed the files' permissions, as well as reviewed all of the server +logs, however, I was unable to locate any error messages listed. That being said, the 500 internal server error is still encountered wh +en accessing your pages. However, in order to make sure that we are both referring the same iss +ue, please confirm that you are indeed trying, but you are unable to +access the above pages. In case I have misunderstood though, please accept my sincerest apolog +ies and elaborate further, so we can assist you accordingly. Once your request and end goal have been clarified, we will thoroughly + review your case and assist you further. Thank you for your understanding on the matter. We remain available and at your disposal. Kind Regards, Ivan I. FastComet Tech Support -- Website: https://www.fastcomet.com/ Facebook: https://www.facebook.com/fastcometcloud/ Twitter: https://twitter.com/fastcometcloud/ Leave a Review for me: https://www.trustpilot.com/review/www.fastcomet +.com You rated this response: JC SunClient27th Oct 2021 (16:49)Thanks Ivan I. did the test but still + not able to locate the problem, After install the new version of perl my cgi program not working Include my cgi guestbook on my library guestbk.cgi it print HTML Use <<END to start and end of HTML it is very basic function On CGI . Perl version was updated FROM - 5.10.1 - TO - 5.26.3 - within the new +environment I want prove to you the new version have problem search google 2 Hello world cgi program and copy paste to my library 0end5.cgi And 0end6.cgi. I advise you restore Perl to 5.10.1 all my program will work, Just do the test for few days, you still can backup to 5.26.3 Or you can selected different perl version, because perl 5.26.3 has bug on it I search google cgi print html harder error I can see other User has same problem : CGI http header error https://www.perlmonks.org/?node_id=262641

In reply to cgi HTML head error by blackjackstory.com

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found