Forums / Developer / makestaticcache.php dont generate cache

makestaticcache.php dont generate cache

Author Message

Pierre Tissot

Thursday 09 March 2006 7:07:56 am

Hi,

I'm trying to test the staticcache in my machine, but I'm having the following: makestaticcache.php do not generate anything.

My configurarion:

/overwrite/staticcache.ini.append.php
----------------------------------------------------------------------------------------------
[CacheSettings]
HostName=localhost
StaticStorageDir=static
MaxCacheDepth=3

# A list of url's to cache. You can use the * wildcard to include a whole
# subtree.
CachedURLArray[]=/*

# A list of site accesses to generate static content for
CachedSiteAccesses[]=plain

# A list of locations that will be updated whenever an object is published. You
# can NOT use a wildcard here.
AlwaysUpdateArray[]
AlwaysUpdateArray[]=/
----------------------------------------------------------------------------------------------

in my settings\siteaccess\plain\site.ini.append.php
----------------------------------------------------------------------------------------------
[ContentSettings]
TranslationList=
ViewCaching=enabled
StaticCache=enabled

[TemplateSettings]
TemplateCache=enabled
Debug=disabled
ShowXHTMLCode=disabled
ShowUsedTemplates=enabled

[OverrideSettings]
Cache=enabled
-----------------------------------------------------------------------------------------------------

when I run the scrip the output is this one and nothing is created on ez root directory or anywhere else:

php.exe makestaticcache.php -s plain -f

Warning: in_array(): Wrong datatype for second argument in C:\Program Files\Easy
PHP1-8\www\ezpublish-3.7.3\kernel\classes\ezscript.php on line 1084

Warning: in_array(): Wrong datatype for second argument in C:\Program Files\Easy
PHP1-8\www\ezpublish-3.7.3\kernel\classes\ezscript.php on line 1084

Warning: in_array(): Wrong datatype for second argument in C:\Program Files\Easy
PHP1-8\www\ezpublish-3.7.3\kernel\classes\ezscript.php on line 1084

Warning: in_array(): Wrong datatype for second argument in C:\Program Files\Easy
PHP1-8\www\ezpublish-3.7.3\kernel\classes\ezscript.php on line 1084

---------------------------------------------------------------------------------------------------------

Any ideia? I'm runing this on WINDOWS.

thanks in advance

Dompirrota