You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Ben Kim <bk...@coe.tamu.edu> on 2006/01/19 23:42:29 UTC

errors not shown on page

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