in reply to Re: CGI::Application:: Plugin::DebugScreen
in thread CGI::Application:: Plugin::DebugScreen

in the error log i am only getting this error

I have myself put code so that my code fails, but instead of getting a DebugScreen i am getting the same screen

Error executing run mode 'login': must call dbh_config() before callin +g dbh(). at WebApp/AppBase.pm line 224 at /var/www/cgi-bin/testproj/perl/testproj.pl line 7 [Thu May 31 01:16:32 2007] [error] [client 127.0.0.1] Premature end of + script headers: testproj.pl, referer: http://localhost/cgi-bin /testproj/perl/testproj.pl

Replies are listed 'Best First'.
Re^3: CGI::Application:: Plugin::DebugScreen
by marto (Cardinal) on May 30, 2007 at 20:05 UTC
    You are 'only' getting an error message explaining that something is wrong in the runmode 'login'. How are you configuring DBH? Via a prerun runmode? Please make an effort to check out error messages and debug your code before posting. Making effort encourages people to help you when you are really stuck. This goes the same for finding example code. The CGI::Application home page has links to examples and articles that are available, quickly searching using Google would have found that for you. Read the articles I linked to previously, and the articles/examples in links from this post. If you still have problems let us know.

    Martin
      this error is coming into the code, as i have introduced this error to check if theis DebugScreen module is usefull for development, but till now no luck