Ah.. Im starting to make some sense of this.

The cause of infinite loops when converting from 1.1.x to 1.2.0 is any standard error that would normally be reported as a PHPTAL exception error that lives in a macro.

-- the main template contains:

<tal:block metal:use-macro="xhtml/support_log_response_list.xhtml/responses" ></tal:block>

-- the macro file contains:

<tal:block metal:define-macro="responses" >
<span class="fish" class="chips" >Some food</span>

The double class attributes will cause a PHPTAL exception error however since its in a called macro it starts an infinite loop, the tpl_....php for it is never generated, we dont get to see this error as we normally would and we have to kill the apache process to recover.

Kornel, does this give you any clues as to what might be happening?


Wallace McGee /|/ Web Applications Developer
Petrosys /|/ www.petrosys.com.au
Level 4 North, 191 Pulteney Street, Adelaide SA 5000, AUSTRALIA
Switch: +61 8 8227 2799 /|/ Direct: +61 8 8418 1924 /|/ Mobile: +61 416 246 156
PHPTAL mailing list

Reply via email to