Share » Forums » Setup & design » Undefined variable: cacheDir,...

Undefined variable: cacheDir, cachePath, keyString

Undefined variable: cacheDir, cachePath, keyString

Thursday 10 March 2005 12:52:06 am - 3 replies

Modified on Thursday 10 March 2005 12:54:39 am by Carl Heaton

Author Message

Frederik Holljen

Friday 11 March 2005 12:12:11 am

The settings you are looking for should be set in site.ini. Check the following:
- are the settings actually defined in the correct sections of the configuration file.
- check if caches are actually created where you expect them to be (sounds like it since it only complains the first time)

Frey Staso

Friday 11 March 2005 4:33:11 pm

I JUST had this problem myself, it was driving me and the sys admin crazy, we tried refreshing everything, changing the file, and then eventually deleting the file.

What was happening was no matter what I did, it still gave the error. Eventually I backed up that specific file and deleted it on the server, but it still had it cached somehow.

To solve the problem, we backstepped and deleted everything (all folders and files) under home/www/dev/var/plain/cache/ and on a next refresh, ezpublish was fine. MAKE SURE YOU BACK THOSE FILES UP FIRST!!!!

Ɓukasz Serwatka

Saturday 12 March 2005 5:41:04 am

Hi Carl,

Try to add keys string in {cache-block}

{cache-block expiry=300 keys=$node.node_id}

and clear the cache.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu