Forums de discussion

Main Page Keeps Changing to HTML

thumbnail
William Fleming, modifié il y a 13 années.

Main Page Keeps Changing to HTML

Regular Member Publications: 180 Date d'inscription: 15/09/10 Publications récentes
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, modifié il y a 13 années.

RE: Main Page Keeps Changing to HTML (Réponse)

Junior Member Publications: 53 Date d'inscription: 24/08/10 Publications récentes
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, modifié il y a 13 années.

RE: Main Page Keeps Changing to HTML

Junior Member Publications: 78 Date d'inscription: 01/04/09 Publications récentes
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, modifié il y a 13 années.

RE: Main Page Keeps Changing to HTML

Regular Member Publications: 180 Date d'inscription: 15/09/10 Publications récentes
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