So, I installed the DB PHP API (Tera-Wurfl), and was wondering if the PHP API is actually kept more up to date...I see quite a few user agents with 'Generic' brand/model information in the Tera-Wurfl (and the user agent seems pretty clear that it should be a specific phone).
Assuming the PHP API would help, I tried installing it and ended up with this error (I'm a bit of a novice here):
Fatal error: Declaration of WURFL_Storage_Base::save() must be compatible with that of WURFL_Storage::save() in /var/www/vhosts/zzzz.com/httpdocs/wurflapi/WURFL/Storage/Base.php on line 31
Any general thoughts?
Thanks for all the help!
Installing PHP API
-
- Posts: 294
- Joined: Mon Jun 20, 2011 5:04 pm
Re: Installing PHP API
Which version of the wurfl.xml are you running? Can you send us a sample of the UA strings that are being recognized as generic?
Are you sure that your UA strings aren't being modified? some servers (notably IIS) will distort the logged strings and make them vistrually useless for later analysis with WURFL.
Thanks
Are you sure that your UA strings aren't being modified? some servers (notably IIS) will distort the logged strings and make them vistrually useless for later analysis with WURFL.
Thanks
Re: Installing PHP API
All the APIs are updated at the same time, so the detection results should be very similar between them. When you see generic in the results, it's because we weren't able to match both the device and OS version. The WURFL APIs return a generic match, like generic_android_ver4_0 instead of matching the device at the wrong OS version, like htc_inspire_ver1 (an Android 2.3 device). Another source of many generic results is for desktop web browsers. By default, these are matched as generic_web_browser, unless you explicitly set the matching mode to high accuracy. In the DB API this is accomplished by editing TeraWurflConfig.php and setting SIMPLE_DESKTOP_ENGINE_ENABLE = false;
I will try to reproduce your error - what version of PHP are you running? Also, can you post your configuration from the PHP API?
I will try to reproduce your error - what version of PHP are you running? Also, can you post your configuration from the PHP API?
Thanks,
Steve Kamerman
ScientiaMobile
Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!
Steve Kamerman
ScientiaMobile
Make sure you check out our WURFL Cloud, WURFL InSight and WURFL InFuze products!
-
- Posts: 17
- Joined: Wed Apr 04, 2012 2:39 am
Re: Installing PHP API
According to the admin file, I have the following: ScientiaMobile WURFL Database API 1.4.0 (aka Tera-WURFL 2.1.6)...
An example of a ua string that is producing a "Generic" result would be:
Mozilla/5.0 (Linux; U; Android 2.3.4; en-ca; HTC Amaze 4G Build/GRJ22) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
I tried, this and got an id of: generic_android_ver2_3
I searched the web, and saw someone else, who appears to be using the WURFL api, and input the same ua string, and got this fr the id: htc_chacha_ver1_subuaa810e (which I'm not sure is even the correct output anyway).
Hence, I was curious if one was updated more frequently than the other (I thought the one I had installed was the most up to date).
An example of a ua string that is producing a "Generic" result would be:
Mozilla/5.0 (Linux; U; Android 2.3.4; en-ca; HTC Amaze 4G Build/GRJ22) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
I tried, this and got an id of: generic_android_ver2_3
I searched the web, and saw someone else, who appears to be using the WURFL api, and input the same ua string, and got this fr the id: htc_chacha_ver1_subuaa810e (which I'm not sure is even the correct output anyway).
Hence, I was curious if one was updated more frequently than the other (I thought the one I had installed was the most up to date).
-
- Posts: 294
- Joined: Mon Jun 20, 2011 5:04 pm
Re: Installing PHP API
I can confirm that this device is currently not in WURFL.
The previous result was probably obtained with an older API. Older API were less precise and more likely to return false positives. API 1.4 will err on the side of telling you "I cannot tell you what this device is, except that it is Android 2.3", which is what you want, really.
How many unrecognized Android devices do you see? can you post a list or send it to as at wurfldb at scientiamobile.com ?
Luca
The previous result was probably obtained with an older API. Older API were less precise and more likely to return false positives. API 1.4 will err on the side of telling you "I cannot tell you what this device is, except that it is Android 2.3", which is what you want, really.
How many unrecognized Android devices do you see? can you post a list or send it to as at wurfldb at scientiamobile.com ?
Luca
-
- Posts: 17
- Joined: Wed Apr 04, 2012 2:39 am
Re: Installing PHP API
Ahh...that makes sense...
I have quite a few of Android (and others)...what's the best email to send the info to?
I have quite a few of Android (and others)...what's the best email to send the info to?
-
- Posts: 294
- Joined: Mon Jun 20, 2011 5:04 pm
Re: Installing PHP API
wurfldb at scientiamobile.com (I am not using the '@' symbol in a mostly vain attempt to fool those freaking spammers)
thanks
thanks
Who is online
Users browsing this forum: No registered users and 8 guests