Hi David,

I've fought with that issue as well.  On one of our servers, some pages
(*.shtml) include the headers and footers with typical SSI's,
<!--#include virtual="header.ssi" -->.

I stuck the following line at the top of the header and footer includes
so that *.epl pages would be happy:

<!-- [- $optDisableTableScan=1; -] -->

Either way... with my way, no TableScanning is done on the headers &
footers, only on the actual page.  <SELECT> tags are always interesting
in embperl anyways, especially when their <options>s are pulled from a
database.

David Boone wrote:
> 
> Hi.  Last night I spent several hours fighting with the situation where you
> include a header and footer in a embperl file, but get a stack underflow
> because of closing </table> tags in the footer.  I set EMBPERL_OPTIONS to
> 2048 to fix this, and this worked fine.  I then spent a few hours trying to
> figure out why <SELECT> tags weren't getting processed :P  Long and the
> short of it, I re-enabled TableScan but added the following to the top of
> the footer document:
> 
> <!-- <table><tr><td> -->
> 
> Apparently embperl doesn't skip comment tags, so this fixes the stack
> underflow problem without affecting the actual layout of the page.
> 
> Hope this helps someone
> 
> - Dave

-- 
Regards,

Wim Kerkhoff
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to