Howdy
I had a template shooting out a 404 page for some reason “out of the blue.” It was a page on a site that didn’t get a lot of traffic so when it was brought to my attention this morning I assumed it has been acting up for a little while. I know the page & code rendered properly when we launched.
We launched the site in 1.6.8 and have since upgraded to 1.6.9 then 1.7.0.
I narrowed down the problem to a conditional like this:
{if a == b} something {if:else} something else {/if}When changing the code to this the 404 problem went away:
{if a == b} something {/if}
{if a != b} something else{/if}Not really a big deal or a hard change to make.
I’m still curious, though, how this cropped up in a perfectly good and working template. I noticed the following from the 1.6.9 change log items:
Optimized the weblog module’s parsing of reverse related entries to reduce memory consumption.
Could this have played a role in my conditional parsing issue?
Any insight is appreciated. Thanks!