Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: List of all article list page urls
colak wrote #340764:
I’m getting an out of memory error because of the
evaluatetag.
Nope, the guilty is for ($i = $startPage; $i <= $endPage; $i++) loop. Txp tags are not parsed by php, so your $endPage variable was equal to the literal string "<txp:variable name='page_count' />", which is apparently greater than any integer $i value.
Offline
Re: List of all article list page urls
etc wrote #340779:
Nope, the guilty is
for ($i = $startPage; $i <= $endPage; $i++)loop. Txp tags are not parsed by php, so your$endPagevariable was equal to the literal string"<txp:variable name='page_count' />", which is apparently greater than any integer$ivalue.
Here was I taking baby steps in php, and I almost broke the internet.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline