On Jun 21, 2011, at 5:42 AM, roccotano wrote: > resources.useragent.wurflapi.wurfl_api_version = "1.1" > resources.useragent.wurflapi.wurfl_lib_dir = APPLICATION_PATH > "/../library/wurfl-php-1.3.0/Wurfl/" > resources.useragent.wurflapi.wurfl_config_array.wurfl.main-file = > APPLICATION_PATH "/../data/wurfl/wurfl-2.0.27.zip" > resources.useragent.wurflapi.wurfl_config_array.wurfl.patches[] = > APPLICATION_PATH "/../data/wurfl/web_browsers_patch.xml" > resources.useragent.wurflapi.wurfl_config_array.persistence.provider = > "file" > resources.useragent.wurflapi.wurfl_config_array.persistence.dir = > APPLICATION_PATH "/../data/wurfl/cache/"
rocco i ran into this issue on my MBP running Snow Leo, apache could not write to /var/tmp for whatever reason. Instead I wanted to use a path within my data path as it is shown in the manual. try adding (notice cache instead of persistence): resources.useragent.wurflapi.wurfl_config_array.cache.provider = "file" resources.useragent.wurflapi.wurfl_config_array.cache.dir = APPLICATION_PATH "/../data/wurfl/cache/" these config options will allow you to override the defaults set in WURFL: $ grep -nR "/var/tmp" wurfl/ wurfl/wurfl-php-1.3.0/WURFL/Storage/File.php:26: "dir" => "/var/tmp", hope this helps -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
