WURFL Error: device falls back on an inexistent device

Integrating Tera-WURFL in your applications.

WURFL Error: device falls back on an inexistent device

Postby sweep » Tue Jun 07, 2011 10:36 am

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!
sweep
 
Posts: 10
Joined: Thu Jul 29, 2010 8:53 am

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

Postby sweep » Tue Jun 07, 2011 12:05 pm

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
sweep
 
Posts: 10
Joined: Thu Jul 29, 2010 8:53 am

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

Postby kamermans » Tue Jun 07, 2011 3:34 pm

Ah, I'm glad you got it working!
Thanks,

Steve Kamerman
Tera-WURFL Author
COO of ScientiaMobile

IMPORTANT ANNOUNCEMENT! Tera-WURFL and WURFL have joined forces! We have launched ScientiaMobile to provide commercial support for our device detection solutions.

Tera-WURFL.com | Device Explorer
kamermans
Site Admin
 
Posts: 323
Joined: Wed Mar 10, 2010 12:06 pm
Location: Fort Worth, TX


Return to Using Tera-WURFL

Who is online

Users browsing this forum: No registered users and 3 guests

cron