Scott,
> I have changed it and it is now finding the error document I created
> but it is still not showing me the error strings so I think something is
> wrong with the code I wrote? Can you tell me what is the problem?
> I don't understand symbolic/hard references in Perl very well and
> think maybe that is it?
>
> Thanks for all your help! I certainly appreciate it!
>
> errmsg.epl:
>
> [-
> $errors = $req_rec -> pnotes('EMBPERL_ERRORS') ;
> -]
Oops, sorry this was my fault, must be
$errors = $req_rec -> prev -> pnotes('EMBPERL_ERRORS') ;
because the error document is call in a subrequest and we have to get the
errors from the main request.
> <HTML>
> <HEAD>
> <TITLE>Error Occured</TITLE>
> </HEAD>
> <BODY>
> An Error Occured<BR>
> [+ $$errors[0] +]<BR>
[+ $errors -> [0] +] looks a little bit nicer, but has the same result
> [+ $$errors[1] +]<BR>
> </BODY>
> </HTML>
>
You may also make a loop like
[$foreach $err (@$errors) $]
[+ $err +]<br>
[$endforeach$]
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]