Search found 10 matches

by emaillenin
Thu Nov 24, 2011 12:53 am
Forum: General API Questions
Topic: Approach for integrating my own devices table with TeraWURFL
Replies: 0
Views: 41539

Approach for integrating my own devices table with TeraWURFL

Till today, I am using Tera WURFL API only to detect whether the visitor is a mobile user or not using the is_wireless_device capability. In my database, I have a devices table with device_id(1,2,3..) brand_name (Nokia, Blackberry etc) model_name (N8, N9 etc) Currently, new users need to choose thei...
by emaillenin
Sun Nov 20, 2011 12:37 am
Forum: PHP API
Topic: 'Error: Commands out of sync; you can't run this command now
Replies: 7
Views: 20597

Re: 'Error: Commands out of sync; you can't run this command

My OS - Ubuntu 11.04 (GNU/Linux 3.0.4-linode37 i686)
My PHP - PHP 5.3.5-1ubuntu7.3 with Suhosin-Patch (cli) (built: Oct 13 2011 21:56:07)
My MySQL - mysql Ver 14.14 Distrib 5.1.54, for debian-linux-gnu (i686) using readline 6.2

Hope this helps.
by emaillenin
Sat Nov 19, 2011 4:51 am
Forum: PHP API
Topic: 'Error: Commands out of sync; you can't run this command now
Replies: 7
Views: 20597

Re: 'Error: Commands out of sync; you can't run this command

I just dug through the source code. The following function is throwing the error. // Cache Table Functions // should return (bool)false or the device array public function getDeviceFromCache($userAgent){ $tablename = TeraWurflConfig::$TABLE_PREFIX.'Cache'; $this->numQueries++; $res = $this->dbcon->q...
by emaillenin
Sat Nov 19, 2011 4:27 am
Forum: PHP API
Topic: 'Error: Commands out of sync; you can't run this command now
Replies: 7
Views: 20597

'Error: Commands out of sync; you can't run this command now

I have updated my WURFL db yesterday. Since then I am experiencing a problem. My Version - Tera-WURFL 2.1.5 Administration Loaded WURFL: 2.3, db.scientiamobile.com - 2011-11-17 17:59:23 I have tried rebuilding the cache and clearing the cache also. (through the admin page). My production system is d...
by emaillenin
Tue Aug 23, 2011 11:37 am
Forum: ScientiaMobile WURFL Cloud Service
Topic: Documentation for Cloud Service
Replies: 5
Views: 10793

Re: Documentation for Cloud Service

Thanks for the update. Will test it in my site.
by emaillenin
Mon Aug 22, 2011 9:09 pm
Forum: PHP API
Topic: Couldnt fetch mysqli
Replies: 5
Views: 13388

Re: Couldnt fetch mysqli

Yes. The problem is resolved by installing Tera-WURFL from the admin page. Thanks.

I have asked for the sample code to the Cloud Beta service here - http://www.scientiamobile.com/forum/vie ... ?f=12&t=40
Yet to get a reply over there.
by emaillenin
Sun Aug 21, 2011 8:44 am
Forum: ScientiaMobile WURFL Cloud Service
Topic: Documentation for Cloud Service
Replies: 5
Views: 10793

Re: Documentation for Cloud Service

Where is the sample code?

I could not find that anywhere. Searched in http://www.scientiamobile.com/downloads
by emaillenin
Sun Aug 21, 2011 4:51 am
Forum: ScientiaMobile WURFL Cloud Service
Topic: Documentation for Cloud Service
Replies: 5
Views: 10793

Documentation for Cloud Service

I just signed up for the Cloud Beta program and got an API key.
Where can I find the documentation on how to use this? Is this free?
by emaillenin
Sun Aug 21, 2011 1:51 am
Forum: PHP API
Topic: Couldnt fetch mysqli
Replies: 5
Views: 13388

Re: Couldnt fetch mysqli

Actually I forgot to create the mysql user, which I identified from the error in the admin page. Now, I have fixed it by creating a mysql user and giving access to the terawurfl database. :)
Now my web application is showing a blank page, will see what this problem is.
by emaillenin
Sat Aug 20, 2011 3:42 pm
Forum: PHP API
Topic: Couldnt fetch mysqli
Replies: 5
Views: 13388

Couldnt fetch mysqli

I moved my hosting from one to another. Now I get the following warning. Warning: mysqli::real_escape_string() [mysqli.real-escape-string]: Couldn't fetch mysqli in /var/www/library/Tera-WURFL/DatabaseConnectors/TeraWurflDatabase_MySQL5.php on line 541 I have mysqli installed and enabled in my appli...