perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Kim <b...@coe.tamu.edu>
Subject errors not shown on page
Date Thu, 19 Jan 2006 22:42:29 GMT

On a server running apache 1.3, database access errors shows on the page.
However, on another server running apache 2.0.47, with embperl 2.1.0,
usual perl code errors show on the page (like unclosed while) , but
database errors are very irregular. What could be wrong?

I'm on httpd-2.0.47, mod_perl 2.0.2 and embperl 2.1.0.

The error is generated by selecting from a non-existent table. What's
happening is on Mozilla, the database error shows every other time. On
Firefox, every third time. On IE, never.

These are on server conf.
...
PerlSetEnv EMBPERL_OPTIONS 278528
PerlSetEnv EMBPERL_FILESMATCH \.epl$
PerlSetEnv EMBPERL_ESCMODE 0
PerlSetEnv EMBPERL_LOG "/logs/embperl_log"
PerlSetEnv EMBPERL_DEBUG 2301
	(2301 = 2285 + 16)
ErrorDocument 500 /errors/500.epl
LogLevel warn
...


This is on 500.epl page.
  $errors = $req_rec->prev->pnotes('EMBPERL_ERRORS');
  @myerr = @{$errors};


Regards,

Ben Kim
Developer
http://benix.tamu.edu


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message