Hi,
I have just got to the end of importing my site into expression engine and now sometimes the template doesn’t compile properly. This usually happens when I clear all cache/cookies and refresh the site. When this happens it just loads the inner content without the header and footer. In firefox 3.6.8 Mac OSX, if I refresh the site (ctrl + f5) a few times it suddenly compiles the whole template. This doesn’t seem to happen in other browsers, it just stays the same.
I was originally using 2.1.0 Build 20100720 but in an attempt to see if this issue has been resolved I just upgraded to Build 20100810.
Here is an example of my home page which embeds the header and footer while passing some parameters:
{embed="global_templates/header"
pageTitle=""
metaDescription=""
metaKeywords=""
bannerMessage=""
pageStyles="reset,style"
}
{exp:channel:entries channel="content" entry_id="1"}
{content}
{/exp:channel:entries}
{embed="global_templates/footer"
pageScripts="cufon,jquery.infieldlabel,jquery.simpletip,jquery.ajaxform,index"
}I have tried disabling all cache and setting the cookie domain which seems to have had no effect.
Can you please help me find out what this issue is?
Edit:
I have found the issue. I set the “can view this page” option to “no” for all users to try and prevent someone accessing the head and footer directly. While I was testing the site this worked because I was logged in on one tab while testing in another.
Thanks