Path

ez.no / ezpublish / documentation / customization / troubleshooting / your changes not take effect or new nodes not appearing


Your changes not take effect or new nodes not appearing

These documentation pages are no longer maintained. Please visit the new documentation site.

Why do my new INI/tpl files not take effect? Why does my new folder/article/other content object not appear on my site? Why is my content object still there even though I deleted it?

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

[ezPub 3.5]
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"

I think this information should be available when under caching. Also can we get a description of the --var-subdir=DIR option and maybe a better description of what each of the other options will do i.e. "This should delete all files located in var/sitedesign/cache/template".

Contents

Customization

Access control
eZ publish API Documentation
Content structure
Custom design
Components
Tips & Tricks
Troubleshooting
    Your changes not take effect or new n...
    New content class not shown on user site


Created

06/05/2003
1:23:14 pm
by Karsten Jennissen

Last updated

24/07/2003
2:21:27 pm
by liu spider

Authors

Karsten Jennissen
Bård Farstad
liu spider



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.