Page 1 of 1

Tera-WURFL Data base upgrade with v1.5.2

PostPosted: Tue Mar 23, 2010 10:30 am
by kergad
Hi,

I use Tera-WURFL v1.5.2 to have a full cell phone list . I would like to upgrade the data base with the xml file but it doesn t work.
I downloaded the last xml file on your website from : http://wurfl.cvs.sourceforge.net/*check ... /wurfl.xml
And I Updated database from this local file.

I can see this :
Code: Select all
Database Update
WURFL Version: www.wurflpro.com - 2010-02-03 10:31:00 (Wed Feb 03 10:35:26 -0600 2010)
Total Update Time: 31.7469210625
Total Devices in WURFL: 12883
Total Devices inserted in DB: 12883
Total Queries: 26
Largest Query: 557KB
Total Errors: 0

Applying Patch
Total Update Time: 0.976844072342
Total Devices in Patch File: 0
New Devices Added: 0
Merged Devices: 0
Total Queries: 5
Total Errors: 0


Do I have to upgrade all the program with the v2?

Thank you
8-)

Re: Tera-WURFL Data base upgrade with v1.5.2

PostPosted: Tue Mar 23, 2010 12:25 pm
by kamermans
Hi kergad, the problem you're having is due to the fact that the WURFL file is no longer available from that location. Furthermore, the only way I know of to get a current copy of the WURFL now is to get it in a zip file from http://downloads.sourceforge.net/projec ... latest.zip. This URL is hard coded into Tera-WURFL v2 as well as a ZIP file decompresser to unzip it. I would highly recommend upgrading to version 2 for this reason. If you are concerned with the upgrade breaking your code, you are welcome to post the code in question and I will update it for.

Alternately, if you do not choose to upgrade, you can download the WURFL file yourself and put it in the data directory, then update Tera-WURFL from the local file.

Thanks,

Steve Kamerman
http://www.tera-wurfl.com

Re: Tera-WURFL Data base upgrade with v1.5.2

PostPosted: Tue Mar 23, 2010 1:07 pm
by kergad
Hi Steve,

Thank you for your reply.

I have tried this file from the administration page but I have the same error :

Code: Select all
Total Update Time: 1.00117611885
Total Devices in Patch File: 0
New Devices Added: 0
Merged Devices: 0
Total Queries: 5
Total Errors: 0


This xml file is compatible with the Tera-WURFL v1.5.2?
Or maybe I need to do some things else to upgrade the data_base ?

Thanks

Re: Tera-WURFL Data base upgrade with v1.5.2

PostPosted: Tue Mar 23, 2010 1:19 pm
by kamermans
I don't believe there is anything that would make this file incompatible with 1.5.2.

Are you seeing any errors in your log file (you can see it from the settings page)?

Are you sure that you've put the wurfl.xml file in the data directory and not the ZIP file?

Are you sure that tera_wurfl_config.php has wurfl.xml specified as the filename to use for the WURFL file?

Re: Tera-WURFL Data base upgrade with v1.5.2

PostPosted: Tue Mar 23, 2010 3:38 pm
by kergad
Yes I found the mistake. wurfl.xml wasn't specified in my file.

It's work now !

Thank you :P

Re: Tera-WURFL Data base upgrade with v1.5.2

PostPosted: Wed Mar 24, 2010 11:47 am
by kergad
I have a last question.
Now I have a mobile data base update, but I cannot display the new cell phone. For example I cannot find Iphone 3GS or Nexus One.

I have noticed in the dbase : apple_iphone_ver3_1_2, does it mean Iphone 3GS ?
I didn't see the nexus one, is it normal?

Thanks

Re: Tera-WURFL Data base upgrade with v1.5.2

PostPosted: Wed Mar 24, 2010 1:35 pm
by kamermans
The Nexus One is in the current WURFL: google_nexusone_ver1

http://www.tera-wurfl.com/explore/wurfl ... sone_ver1/

I don't believe you can distinguish an iPhone 3G from a 3GS since you can put iPhoneOS 3.1.2 on either device and their user agents are identical as of right now.

Re: Tera-WURFL Data base upgrade with v1.5.2

PostPosted: Thu Mar 25, 2010 1:30 pm
by kergad
Oky, I understand now.

And, it is possible to install wurfl on php4 server?

Re: Tera-WURFL Data base upgrade with v1.5.2

PostPosted: Thu Mar 25, 2010 6:32 pm
by kamermans
Tera-WURFL v2 requires PHP5 because is depends on OOP Classes for its operation. The latest version that supports PHP4 is Tera-WURFL 1.5.2.