Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


woodnutt

10 posts

Wannabe Geek


#1718 15-Jun-2004 16:43
Send private message

I have desgined a wap site. It currently works fine with all telecom phones that I have tried it on. But when I have used vodapone phones I get an error to the effect that the phone cannot display the content. I have verified all my wap code using the opera validation function. I have previewed the site with emulators of gprs phones and they have work as designed.

Below is the code that has been causing the error:
// --- source code --- //




BWA Group

m-Compliance


Home



Sites

Report a Hazard

Report a Accident



User: Brendan Woodnutt (Demo)




// -- //

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3
Mobileguy
70 posts

Master Geek


#6591 15-Jun-2004 18:57
Send private message

Hi,

Yes it can be very frustrating, seems odd that you can veiw through a Telecom phone. As WAP is a standard.

Without knowing the url you are using it is had to check. WAP coding one wrong peice of code it dont work.

To get my wap site working I went to http://tagtag.com and downloaded DotWAP 2.0 its free and uploaded this to my web site.

Emulators dont always work.

for more info see http://www.gsmmobile.co.nz/Wap.htm




taniwha
961 posts

Ultimate Geek

Trusted

#6625 17-Jun-2004 11:37
Send private message

Hi woodnut
Definitely sounds like the cause is something in the vodafone wap gateway

b from c here :-)
i tried the URL you sent me - and i got "Your client is not allowed to access the requested object" on teh first page..
is this an error from your code?

woodnutt

10 posts

Wannabe Geek


#6626 17-Jun-2004 12:09
Send private message

Cheers MobileGuy, have looked at tagtag site and will use it to test the code. My problem is my code is generated by php. Could be something real simple. Let you know how it goes.

hi taniwha, it isn't a error that my code generates. yeah still not sure whats up. I am going to try the tagtag simluator as it is causing some errors at the moment. testing it with that at the moment.






taniwha
961 posts

Ultimate Geek

Trusted

#6628 17-Jun-2004 12:23
Send private message

i tried from vodafone T39, and i'm not allowed in :-(
from the telecom T206, i'm browsing your WAP site jsut fine...

What's up with vodafone? are they restricting what wap sites you can get into??

taniwha
961 posts

Ultimate Geek

Trusted

#6629 17-Jun-2004 12:28
Send private message

that's dumb... :-S i mistyped teh URL on the vodafone handset..

okay, i see now.
I can log in on the Tcom phone just fine
but on the vfone there's no login button.

woodnutt

10 posts

Wannabe Geek


#6630 17-Jun-2004 12:34
Send private message

do you think it could be something to do with using templates for links for the whole deck with vodaphone.

taniwha
961 posts

Ultimate Geek

Trusted

#6633 17-Jun-2004 14:05
Send private message

Hey woodnut.. i di a wget of the login page, and it looks like the <wml> tag is never closed.


No, i'm wrong.. wget isn't doing what i wanted

 
 
 

GoodSync. Easily back up and sync your files with GoodSync. Simple and secure file backup and synchronisation software will ensure that your files are never lost (affiliate link).
taniwha
961 posts

Ultimate Geek

Trusted

#6634 17-Jun-2004 14:05
Send private message

I'm hoping someone who know more about vodafone + wap will know why there's no login button from this wml:


<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="splash" title="Welcome!">
<onevent type="ontimer">
<go href="#Login"/>
</onevent>
<timer name="delay" value="30"/>
<p align="center"><img src="../Images/bwalogo.wbmp" alt="BWA Group"/><br/>
<small><i>m</i>&#45;Compliance Service</small></p>
</card>
<card id="Login" title="Bwa Group m&#45;Compliance">
<do type="accept" label="login">
<go href="MainMenu.php" method="get">
<postfield name="UName" value="$uname"/>
<postfield name="PWord" value="$pword"/>
</go>
</do>
<p>
Username:<input name="uname" type="text" size="15"/><br/>
Password:<input name="pword" type="password" size="15"/><br/>
</p>
</card>
</wml>

woodnutt

10 posts

Wannabe Geek


#6636 17-Jun-2004 14:40
Send private message

Have tested static and dynamic sites on the tagtag system and it works fine. But still not liking vodaphone phones. Wonder if its a php thing?

taniwha
961 posts

Ultimate Geek

Trusted

#6637 17-Jun-2004 14:53
Send private message

first i removed the first card - so it became:

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="Login" title="Bwa Group m&#45;Compliance">
<do type="accept" label="login">
<go href="MainMenu.php" method="get">
<postfield name="UName" value="$uname"/>
<postfield name="PWord" value="$pword"/>
</go>
</do>
<p>
Username:<input name="uname" type="text" size="15"/><br/>
Password:<input name="pword" type="password" size="15"/><br/>
</p>
</card>
</wml>

then i put through the w3c validator - and the result was:

This page is not Valid -//WAPFORUM//DTD WML 1.1//EN!



Below are the results of attempting to parse this document with
an SGML parser.



  1. Line 7, column 43: character data is not allowed here

    <postfield name="UName" value="$uname"/>




    You have used character data somewhere it is not permitted to appear.
    Mistakes that can cause this error include putting text directly in the
    body of the document without wrapping it in a container element (such as
    a <p>aragraph</p>) or forgetting to quote an attribute value
    (where characters such as "%" and "/" are common, but cannot appear
    without surrounding quotes).






woodnutt

10 posts

Wannabe Geek


#6640 17-Jun-2004 16:09
Send private message

which SGML parser are you using

taniwha
961 posts

Ultimate Geek

Trusted

#6642 17-Jun-2004 16:15
Send private message

http://validator.w3.org/

using the uploader

Mobileguy
70 posts

Master Geek


#6643 17-Jun-2004 16:46
Send private message

Hi all,

No matter what you you do it it wont work unless your coding is 100 % correct. What I mean is wap WML is very strict its not html or php.

The only way I got access to my site on my Vodafone mobile was use the http://tagtag.com and downloaded DotWAP 2.0 its free.

This is because its codes wml correctly and the Nokia WAP gateway (Its nothing to do with Vodafone) understands this.

I tried all sorts of recoding in wml and tagtag is the quickest and easist. I am a cut and past merchant so I could not advise what the corect wml code would be I just know how to get a wap site working on a Vodafone mobile.

Cheers


taniwha
961 posts

Ultimate Geek

Trusted

#6644 17-Jun-2004 17:06
Send private message

i've found out why we don't use postfields here ... some phones don't support them
(i was warned off them long ago)
you can use fieldsets instead.
i can mock up how that would work, some i get a chance - but you can probably work it out yourself.


taniwha
961 posts

Ultimate Geek

Trusted

#6645 17-Jun-2004 17:08
Send private message

Yeah, mobile guy.. yes, wml is a b*tch..
I have my own php library for doing such things - but 90% of my work has been for telecom - vodafone seems to do everything inhouse, so no work for me :-(

 1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.