ez.no / ezpublish / documentation / customization / troubleshooting / your changes not take effect or new nodes not appearing
These documentation pages are no longer maintained. Please visit the new documentation site.
This could be a cache problem. Try deleting var/cache and reload the page. You generally should keep cache off while developing.
But some caches is always enabled, so can not be set in INI files, including image cache, ini file cache, template override cache, expiry cache. Although all of them can be updated automaticlly when corresponding sources are changed, sometimes the mechenism may not work. The only solution is to clear the cache.
A handy utility is shipped with eZ, clearcache.sh, which can be found under bin/shell/. Let's see its help information, and you can understand how to use it:
$ bin/shell/clearcache.sh -h Usage: bin/shell/clearcache.sh [options] Options: -h --help This message --var-subdir=DIR Use this subdirectory under var as root --clear-image Remove image cache --clear-content Remove content cache(default) --clear-ini Remove ini file cache --clear-tpl Remove template cache --clear-tpl-override Remove template override cache --clear-tpl-block Remove template-block cache --clear-ts Remove translation cache --clear-expiry Remove expiry cache --clear-all Remove all above caches
If you are using the demo data the permissions on the Anonymous user role may be what is preventing new classes from being displayed on the user site. Read 3XPS_ClassPerms for more information regarding this.
Comments
be aware of clearcache.sh
Dan C
Saturday 05 February 2005 12:44:33 am
clearcache.sh it does NOT clear all compiled templates. there are some things that the admin cache page will clear that this utility does not and vice-versa. It would be nice to sync their functionality in a future version.
If you are doing something such as switching from MatchOrder=uri to MatchOrder=host you wont be able to access the clear all cache admin menu function, and will need to clear some cache files manually, or your site will be broken.
Maybe this should also be under "Caching"
James Ward
Monday 29 September 2003 5:50:55 pm