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...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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 #268 of 282 |
Re: Tera Wurfl - hawoutput and hawdebug

Thanks Norbert!


--- In hawhaw@yahoogroups.com, "hawhaw_master" <hawhaw_master@...> wrote:
>
> Hi Jason,
>
> using hawdebug/hawoutput params turns off TeraWurfl during hawhaw's
device detection.
> As consequence the required TeraWurfl include files are not included
and therefore the
> tera_wurfl class is not defined.
>
> Add something like this to your script header:
> require_once(<your_tera_wurfl_config.php>);
> require_once(WURFL_CLASS_FILE);
>
> Hope it helps,
> Norbert
>
> --- In hawhaw@yahoogroups.com, "jasonnavarro2003" <jasonnavarro@> wrote:
> >
> > 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();
> >
>





Wed Jan 21, 2009 12:23 am

jasonnavarro...
Offline Offline
Send Email Send Email

Forward
Message #268 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...
Offline 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...
Offline Send Email
Jan 21, 2009
12:23 am
Advanced

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