refs #5007 display an error message in case console is executed as type CGI