Page 1 of 1

WURFL Error: device falls back on an inexistent device

PostPosted: Tue Jun 07, 2011 10:36 am
by sweep
Hi, I'm getting a strange error (ERROR: WURFL Error: device falls back on an inexistent device: ) when I try to detect a specific UA (ApacheBench/2.0.40-dev, Nokia5310XpressMusic/2.0 (10.10) Profile/MIDP-2.1 Configuration/CLDC-1.1 Opera/9.60 (J2ME/MIDP;Opera Mini/5.0.15650Mod.by.Handler/960; U;xx-xx)flameblur/2.2.0 UNTRUSTED/1.0) - its a standard Nokia UA with ab appending its header for load testing. Im using TW Version Stable 2.1.3

PHP Notice: Undefined offset: -1 in tera-wurfl/DatabaseConnectors/TeraWurflDatabase_MySQL5.php on line 155
PHP Catchable fatal error: Argument 1 passed to TeraWurfl::addTopLevelSettings() must be an array, null given, called in tera-wurfl/TeraWurfl.php on line 333 and defined in tera-wurfl/TeraWurfl.php on line 469

it looks like it tries to run this query "CALL TeraWurfl_FallBackDevices('generic_xhtml')"

Any ideas what could be causing this ?

Thanks!

Re: WURFL Error: device falls back on an inexistent device

PostPosted: Tue Jun 07, 2011 12:05 pm
by sweep
ah it looks like there were no devices loaded from the WURFL XML after a db cleanup, rerunning the WURFL update process fixed it.

Cheers

Re: WURFL Error: device falls back on an inexistent device

PostPosted: Tue Jun 07, 2011 3:34 pm
by kamermans
Ah, I'm glad you got it working!