Esato Mobile
Sony Ericsson / Sony : GPRS, WAP, MMS and Email setup : Can someone help me with this wml coding?...I can't find the error! (Code posted in topic)
> New Topic
> Reply
< Esato Forum Index > Sony Ericsson / Sony > GPRS, WAP, MMS and Email setup > Can someone help me with this wml coding?...I can't find the error! (Code posted in topic) Bookmark topic
Sentertainment Posts: 290

Can someone find the error in this WAP (WML) coding...
It's somewhere in there...I keep looking but I can't find it...
(This is code generated by my forums script)

WinWAP debugs it's errors, so it wont help!

<p align="center">
<b>
Sentertainment Forums
</b>
<br/>
<br/>
View Forums:
<select name="action" value="0">
<option>
<onevent type="onpick">
<go href="#view" method="post">
<postfield name="action" value="last5"/>
<postfield name="p" value="0"/>
</go>
</onevent>
Last 5 Active Topics
</option>
<option>
<onevent type="onpick">
<go href="#view" method="post">
<postfield name="action" value="categories"/>
</go>
</onevent>
Categories
</option>
<option>
<onevent type="onpick">
<go href="#view" method="post">
<postfield name="action" value="forums"/>
</go>
</onevent>
Forums
</option>
</select>
</p>
</card>
<card id="view" title="Sentertainment.net">
<p align="center">
<b>
Last 5 Active Topics
</b>
<br/>
</p>
<p>
<b>
Topic:
</b>
<a href="/forums2.php?tid=15&p=0#viewtopic">
new test
</a>
<br/>
<b>
Last Post:
</b>
<br/>
<i>
User:
</i>
Sentertainment
<br/>
<i>
Post:
</i>
...
<br/>
<br/>
</p>
<p>
<b>
Topic:
</b>
<a href="/forums2.php?tid=14&p=0#viewtopic">
test
</a>
<br/>
<b>
Last Post:
</b>
<br/>
<i>
User:
</i>
Sentertainment
<br/>
<i>
Post:
</i>
QUOTE (Sentertainment @ Feb 20 2004, 06:27 PM)
<i>
quote test
</i>
<br/>
test
<br/>
<br/>
</p>
<p>
<b>
Topic:
</b>
<a href="/forums2.php?tid=13&p=0#viewtopic">
Sentertainment.net has WAP Access!
</a>
<br/>
<b>
Last Post:
</b>
<br/>
<i>
User:
</i>
Sentertainment
<br/>
<i>
Post:
</i>
Just type http://www.sentertainment.net on your phone/mobile device!
<br/>
<br/>
</p>
<p>
<b>
Topic:
</b>
<a href="/forums2.php?tid=12&p=0#viewtopic">
Upload Themes Here!
</a>
<br/>
<b>
Last Post:
</b>
<br/>
<i>
User:
</i>
Sentertainment
<br/>
<i>
Post:
</i>
I have allowed Members to Upload up to 45kb in this forum!
<br/>
<br/>
</p>
<p>
<b>
Topic:
</b>
<a href="/forums2.php?tid=11&p=0#viewtopic">
t61X/z600 - Accessing Firmware Info
</a>
<br/>
<b>
Last Post:
</b>
<br/>
<i>
User:
</i>
Sentertainment
<br/>
<i>
Post:
</i>
Exit all Menus
<br/>
Move the joystick Right Once
<br/>
Press * Key
<br/>
Move the joystick Left Twice
<br/>
Press * Key
<br/>
Move the joystick Left Once
<br/>
Press * Key
<br/>
Select "Service Info." Option
<br/>
Select "SW Information" Option
<br/>
<br/>
The first group of characters displayed is your overall Firmware version.
<br/>
The higher the number/character, the newer the firmware.
<br/>
<br/>
The lastest version of firmware as of January 22, 2004 is R6B004.
<br/>
For more info/downloads go to: Cellular-Support.com.
<br/>
<br/>
---What is Firmware?---
<br/>
Firmware is the internal software embedded into your phones memory when purchased,
<br/>
this software is the operating system of your phone. The firmware is what controls and tells the phone
<br/>
what it can do and how to do it, a phone without firmware would be like a PC without windows.
<br/>
Newer versions of firmware often include addons to the phone's system, such as extra menus and
<br/>
fixes/optimizations in programming. Most firmware updates improve the phones speed and ability to handle operations, including network transfer during a call.
<br/>
<br/>
</p>
<p align="center">
<a href="/forums2.php?p=1&action=last5#view">
Next
</a>
</p>
<p align="center">
<br/>
Card Created in
<br/>
0.009933 Sec.
</p>

[ This Message was edited by: Sentertainment on 2004-02-24 02:13 ]
--
Posted: 2004-02-24 02:01:44
Edit : Quote

lamebot Posts: 132

Always run your code through http://validator.w3.org, it will find alot of syntactic errors.

In your code (haven't read it very carefully):

* No doctype tag with a dtd specified.
* No starting wml-tag
* No starting card-tag
* No ending card-tag
* No ending wml-tag
--
Posted: 2004-02-24 09:19:41
Edit : Quote

superunknown Posts: > 500

Try to use a T68 browsing it. It will give which line has errors. Thats what i'm doing if i can't find the error. This message was posted from a T610
--
Posted: 2004-02-24 09:25:34
Edit : Quote

lamebot Posts: 132

That's great, why did they remove that feature on the T610? (it just says it can't handle the requested object type).
--
Posted: 2004-02-25 19:47:40
Edit : Quote

Sentertainment Posts: 290

ahh...I figured it out (if you noticed...I posted another prob. topic)

...you can't pass more than one variable in a url on many mobile devices, wierd huh!

I tried so many ways...the separator is what confused it...so I used another less common separator, the ";" symbol...that doesn't work at all!

I'm just going to have to pass one variable and use string spliting functions to get two values... :(
--
Posted: 2004-02-26 03:55:42
Edit : Quote

lamebot Posts: 132

Is this true? What devices handle only one variable?
--
Posted: 2004-02-26 13:01:37
Edit : Quote

New Topic   Reply
Forum Index

Esato home