I installed TeraWURFL and everything seemed to be OK, until I've started teh final chech wurfl demo script. The result is, that the script was processing for hours (in the longest case - 2 hours), without outputting any data. I've investigated the code and came to the conclusion, that everything comes from line 314 in TeraWurfl.php:
$this->addCapabilities(array($this->matchDataKey => $this->matchData))
When I'd commented it, the script gave me this result:
Time to load TeraWurfl.php:0.0062129497528076
Time to initialize class:0.00028419494628906
Time to find the user agent:0.00069594383239746
Total:0.0071930885314941
Total Queries: 1 (Found in cache)
Test resulted in an inconclusive match
array (
'tera_wurfl' =>
array (
'num_queries' => 0,
'actual_root_device' => '',
'match_type' => '',
'matcher' => '',
'match' => false,
'lookup_time' => 0,
'fall_back_tree' => '',
),
)
Why is this happening and how can I fix it?