Fórum

Main Page Keeps Changing to HTML

thumbnail
William Fleming, modificado 13 Anos atrás.

Main Page Keeps Changing to HTML

Regular Member Postagens: 180 Data de Entrada: 15/09/10 Postagens Recentes
Sometimes when I go into the the control panel and then go back to home page it changes from normal into html version of the site. Its really quite frustrating. Any advice?

Thanks
Nick Willey, modificado 13 Anos atrás.

RE: Main Page Keeps Changing to HTML (Resposta)

Junior Member Postagens: 53 Data de Entrada: 24/08/10 Postagens Recentes
Is it the same as what is reported here?
If so, try adding the following two properties to $CATALINA_HOME/webapps/ROOT/WEB-INF/classes/portal-ext.properties:

com.liferay.portal.servlet.filters.cache.CacheFilter=false
com.liferay.portal.servlet.filters.gzip.GZipFilter=false


Nick
thumbnail
Hennie de Villiers, modificado 13 Anos atrás.

RE: Main Page Keeps Changing to HTML

Junior Member Postagens: 78 Data de Entrada: 01/04/09 Postagens Recentes
If you mean that your page goes gibberish an not properly formatted, in other words the CSS style sheet is broken or does not load, then turning of theses caching parameters should solve that.

You will need to stop Liferay and may need to delete the cache files under Catalina localhost and any the Tomcat temp directories before you restart.
thumbnail
William Fleming, modificado 13 Anos atrás.

RE: Main Page Keeps Changing to HTML

Regular Member Postagens: 180 Data de Entrada: 15/09/10 Postagens Recentes
Hennie de Villiers:
If you mean that your page goes gibberish an not properly formatted, in other words the CSS style sheet is broken or does not load, then turning of theses caching parameters should solve that.

You will need to stop Liferay and may need to delete the cache files under Catalina localhost and any the Tomcat temp directories before you restart.


That is exactly what i mean the CSS is buckled well and truly. That fix is just if you are running java 5 apparently may have to use that instead of 6.

Thanks guys