"Ghost" values in PHP/Smarty.
- by Kyle Sevenoaks
I've been working on a site for a while changing the layout and skin of a webshop checkout process. I've noticed that if you go all the way through the process until the last page, then click the link to go back to the view products page, the delivery method price displays underneath the navigation buttons, until you refresh and it goes away again.
I've downloaded both sourced from the browser (Chrome, but this bug applies to all browsers) and used a file difference tool to display the differences, the result being only:
< error.html
vs
> normal.html
34c34
< <link href="gzip.php?file=167842c1496093fbcd391b41cf7b03da.css&time=1272272181" rel="Stylesheet" type="text/css"/>
---
> <link href="gzip.php?file=167842c1496093fbcd391b41cf7b03da.css&time=1272272348" rel="Stylesheet" type="text/css"/>
Which is just the way it zips up the CSS stylesheets. (afaik)
Has anyone ever encountered such a problem, or anything similar?
Normal:
Error:
I can't even hazard a guess as to what is causing this, at all. I've searched over Google for anything and come up with nothing.
What could be causing this?
The site in question is Euroworker.no.
HTML @ Pastebin.
Smarty snippet:
{if !$CANONICAL}
{canonical}{self}{/canonical}
{/if}
<link rel="canonical" href="{$CANONICAL}" />
<!-- Css includes -->
{includeCss file="frontend/Frontend.css"}
{includeCss file="backend/stat.css"}
{if {isRTL}}
{includeCss file="frontend/FrontendRTL.css"}
{/if}
{compiledCss glue=true nameMethod=hash}
<!--[if lt IE 8]>
<link href="stylesheet/frontend/FrontendIE.css" rel="Stylesheet" type="text/css"/>
{if $ieCss}
<link href="{$ieCss}" rel="Stylesheet" type="text/css"/>
{/if}
<![endif]-->
Thanks.