Fórumok

Main Page Keeps Changing to HTML

thumbnail
William Fleming, módosítva 13 év-val korábban

Main Page Keeps Changing to HTML

Regular Member Bejegyzések: 180 Csatlakozás dátuma: 2010.09.15. Legújabb bejegyzések
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, módosítva 13 év-val korábban

RE: Main Page Keeps Changing to HTML (Válasz)

Junior Member Bejegyzések: 53 Csatlakozás dátuma: 2010.08.24. Legújabb bejegyzések
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, módosítva 13 év-val korábban

RE: Main Page Keeps Changing to HTML

Junior Member Bejegyzések: 78 Csatlakozás dátuma: 2009.04.01. Legújabb bejegyzések
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, módosítva 13 év-val korábban

RE: Main Page Keeps Changing to HTML

Regular Member Bejegyzések: 180 Csatlakozás dátuma: 2010.09.15. Legújabb bejegyzések
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