Having recently started using TT, mainly in a cgi environment with CGI::Application, I have run straight into a problem when running on a mod_perl/Apache config. It seems I am experiencing the interpolate bug, but at a much smaller file size than I have read about (1 -2 kb). At least I assume it is the same problem - browser pop-up alert says 'Document contains no data' and Apache error log reports '[notice] Parent: child process exited with status 3221225477 -- Restarting.' Problem goes away if I turn interpolate off.

I read somewhere about putting dummy/empty variables into the template, and this does allow the system to run OK, but is very irritating as TT works fine without this when run as a standard CGI application from the cgi-bin.

Also I am using ActivePerl 5.8.6, and I thought this was a Perl 5.6 regex file size limit problem. The rest of the setup is Apache/2.0.52 (Win32) PHP/4.3.10 mod_ssl/2.0.52 OpenSSL/0.9.7e mod_perl/1.99_20-dev Perl/v5.8.6 (actually the Perl-5.8-win32-bin-0.9 binary by Randy Kobes).

Does anyone know how to fix this properly, as variable interpolation is one of the reasons I use TT in place of HTML::Template.
--
Richard Jones
Leeds, UK
mailto:[EMAIL PROTECTED]


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to