Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Why server error out with module

by hippo (Bishop)
on Oct 26, 2020 at 14:27 UTC ( #11123183=note: print w/replies, xml ) Need Help??

in reply to Why server error out with module

3. the correct output, though lately that isn't happening at all :(

Your script and module don't produce any output that would be rendered in an HTML page.. See replies - this is not the case.

1. error 500 page

When that happens, consult the error log on the server to determine the cause.

FWIW, my money is still on something odd your hoster is doing.


Replies are listed 'Best First'.
Re^2: Why server error out with module
by keen2learn (Novice) on Oct 26, 2020 at 14:49 UTC
    Do you mean this wouldn't be rendered? It is outputted sometimes, between either a 500 page or a software error message regarding failing to find a sub routine.
    <!doctype html> <html> <head> <title>$pageTitle</title> </head> <body></body> </html>

      My mistake - you are quite right. I had missed the print qq($doctypeAndHeader); line. You don't need to quote a single variable when you print it like that, BTW. print $doctypeAndHeader; will do just as well and might be less confusing.

      So, you should be seeing this on each call. If not, check the webserver error log for the reasons. Good luck!


        Thank you for the 'print' advice.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11123183]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (1)
As of 2021-12-01 04:31 GMT
Find Nodes?
    Voting Booth?

    No recent polls found