Jahia Dev Forum > cannot update home...

0 (0 Good)
0 (0 Bad)

cannot update home template

by  testa »  2011/06/07 20:40

Jahia is caching wrong content.

I changed the templates.xml 's homepage to point to a different template. When I go the the website, it is opening the old page. I deleted the tomcat's work directory, restarted tomcat several times, it is still showing the wrong page. (I have already updated conf/web.xml and jahia.properties file to enable development mode and checkinterval to 0)

When I force reload page by adding ?number on the URL I get

2010-02-26 10:17:19,310: ERROR [org.jahia.bin.errors.ErrorLoggingFilter] - User message=Unable to find the template for
page ID=27, page definition ID=12 and name 'Home', System message=Unable to find the template for page ID=27, page defin
ition ID=12 and name 'Home'

It is still referencing old Home template.
How do you completely disable the cache, I did everything explained in the documentation and still Jahia is serving old content.
  • cannot update home template
    2011/06/07 20:40

    testa Jahia is caching wrong content.<br/><br/>I changed the templates.xml 's homepage to point to a different template. When I go the the website, it is opening the old page. I deleted the tomcat's work directory, restarted tomcat several times, it is still showing the wrong page. (I have already updated conf/web.xml and jahia.properties file to enable development mode and checkinterval to 0)<br/><br/>When I force reload page by adding ?number on the URL I get<br/><br/>2010-02-26 10:17:19,310: ERROR [org.jahia.bin.errors.ErrorLoggingFilter] - User message=Unable to find the template for<br/>page ID=27, page definition ID=12 and name 'Home', System message=Unable to find the template for page ID=27, page defin<br/>ition ID=12 and name 'Home'<br/><br/>It is still referencing old Home template.<br/>How do you completely disable the cache, I did everything explained in the documentation and still Jahia is serving old content.

  • Number of messages  12
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: cannot update home template

    by  pap@commaro.com »  2011/06/07 20:40

    Hello,

    the problem you have is the container HTML cache, which is activated on default. This caches the HTML skeleton and fragments with EHCache and stores them to disk.

    You can flush this cache in the toolbar, by activating the Cache menu in View -gt Cache and then you should be able to flush pages or the site. If you can't access the page anymore, you can go to the Administration console (use /administration as servlet context in the URL) and then in the Serer settings you can flush the entire cache.

    The HTML container cache can also be deactivated in WEB-INF\etc\config\jahia.properties

    outputContainerCacheActivated = false

    or set

    containerCacheLiveModeOnly = true

    to disable the cache in edit mode.

    Regards,
    Benjamin

    Benjamin Papez (pap@commaro.com)

    Number of messages  220
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: cannot update home template

    by  testa »  2011/06/07 20:40

    Thanks.

    That it completely fixed my issue.
  • Re: cannot update home template
    2011/06/07 20:40

    testa Thanks.<br/><br/>That it completely fixed my issue.

  • Number of messages  12
    Registration date Jun 7, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page