Search the web
Sign In
New User? Sign Up
hawhaw · HAWHAW Developers group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Tera Wurfl - hawoutput and hawdebug   Message List  
Reply | Forward Message #266 of 282 |
Hi,

I am getting this error when trying to output and debug

"Fatal error: Class 'tera_wurfl' not found"

http://mobiquio.com/demo/index.php
http://mobiquio.com/demo/index.php?hawdebug=xhtml
http://mobiquio.com/demo/index.php?hawoutput=xhtml

Maybe I am calling tera_wurfl incorrectly, What is the way to get
tera_wurfl capabilities, Is there a built in class.

This is what I am using to initialize tera wurfl caps.

$myPage = new HAW_deck("$db_navn");
$myPage->set_charset("UTF-8", "../GSM0338.TXT");
//$myPage->use_simulator();
$myPage->set_title("");
$myPage->set_waphome("");
$myPage->set_css("mycss.css");

$wurfl = new tera_wurfl();
$wurfl->GetDeviceCapabilitiesFromAgent($_SERVER['HTTP_USER_AGENT'],true);
$capa = $wurfl->capabilities;
$devicename = $capa['product_info']['brand_name'] . " " .
$capa['product_info']['model_name'];

...
...
..
..
.
.......
$myPage->create_page();







Tue Jan 20, 2009 6:24 am

jasonnavarro...
Online Now Online Now
Send Email Send Email

Forward
Message #266 of 282 |
Expand Messages Author Sort by Date

Hi, I am getting this error when trying to output and debug "Fatal error: Class 'tera_wurfl' not found" http://mobiquio.com/demo/index.php ...
jasonnavarro2003
jasonnavarro...
Online Now Send Email
Jan 20, 2009
6:24 am

Hi Jason, using hawdebug/hawoutput params turns off TeraWurfl during hawhaw's device detection. As consequence the required TeraWurfl include files are not...
hawhaw_master
Offline Send Email
Jan 20, 2009
5:50 pm

Thanks Norbert! ... device detection. ... and therefore the ... $wurfl->GetDeviceCapabilitiesFromAgent($_SERVER['HTTP_USER_AGENT'],true);...
jasonnavarro2003
jasonnavarro...
Online Now Send Email
Jan 21, 2009
12:23 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help