WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old December 18th, 2004, 01:36 PM
elkehinze's Avatar
elkehinze elkehinze is offline
The Queen of Typos
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Sep 2004
Location: Two Rivers, WI
Posts: 1,137 elkehinze User rank is Sergeant Major (2000 - 5000 Reputation Level)elkehinze User rank is Sergeant Major (2000 - 5000 Reputation Level)elkehinze User rank is Sergeant Major (2000 - 5000 Reputation Level)elkehinze User rank is Sergeant Major (2000 - 5000 Reputation Level)elkehinze User rank is Sergeant Major (2000 - 5000 Reputation Level)elkehinze User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 11 h 42 m 35 sec
Reputation Power: 46
Send a message via ICQ to elkehinze Send a message via AIM to elkehinze Send a message via MSN to elkehinze Send a message via Yahoo to elkehinze
XHTML Error 12001

I have a wap application that I am working on at http://www.plumeriawebdesign.com/XHTML/wap_inv2.php

When I go to the following page: http://www.plumeriawebdesign.com/XHTML/list.php choose an item, and then
hit submit I get the following error:

HTML Translation Error. Please try a different url.

When I choose details I get a further explanation that states "12001: Error 12001: deck is too large"

This happens only on my phone which is an LG VX6000 that uses an OpenWave browser (not sure what version).

The page works fine on a Nokia Series Developer Platform 2.0 SDK and an OpenWave SDK 6.2.2. emulator.

The code for the page with the error is below:

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>MK Category List</title>
<link href="../MK/css/mk.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<?php
$name = "removed";
$pwd = "removed";
$db = "removed";

mysql_connect(localhost,$name,$pwd);
@mysql_select_db($db) or die ("Unable to select database");

$query = "SELECT a.prod_desc, a.prod_type_id aid, a.amount, a.retail, b.prod_type_id bid, b.prod_type_desc FROM product a, product_type b WHERE a.prod_type_id = b.prod_type_id AND b.prod_type_desc like '%$inv_res%'";
$result = mysql_query($query) or die ("Couldn't execute query.");
echo"<table width='100%' border='0'>";
if (mysql_num_rows($result) <= 0) {
echo "
<tr>
<td align='center' style='border-bottom-style: dashed; border-bottom-width: thin;'>
<img src='../images/MK_Logo.gif' alt='Mary Kay Logo'/>
</td>
</tr>
<tr>
<td>No records found, please try again<br/>
<a href='list.php'>Try again</a></td>
</tr></table>\n";
}
else {

while ($row = mysql_fetch_array($result)) {
extract($row);

echo "<tr>\n
<td nowrap='nowrap'>$prod_desc</td>\n
</tr>\n
<tr>\n
<td align='center'>$amount in stock</td>\n
</tr>\n
<tr>\n
<td align='left'>Cost: \$$retail</td>\n
</tr>\n
<tr>\n
<td><hr/></td>\n
</tr>\n";
}
echo"</table>
<br/><a href='list.php'>Try Again</a> <a href='wap_inv2.php'>Menu</a> <a href='email.php'>Email Customer</a>";
}

mysql_close();
?>
</body>
</html>

Reply With Quote
  #2  
Old December 19th, 2004, 03:35 AM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,660 jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 3 Weeks 4 Days 1 h 21 m 33 sec
Reputation Power: 1618
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
Your problem is here:
Code:
</head>

<body>

</body>
</html>
</head>

<body>
Sort that out, and you should be fine.
__________________
Cheers,

Jamie


# skiFFie | Home of the 'accessibility module' for Drupal
# Jamie Burns [me] Accessibility Module [drupal]
# guidelines | search | wap resources | not getting help | fold to cure

# Any form of employment is strictly prohibited ......


__________________

Let the might of your compassion arise to bring a quick end
to the flowing stream of the blood and tears .....
Please hear my anguished words of truth.

__________________

Reply With Quote
  #3  
Old December 19th, 2004, 03:26 PM
elkehinze's Avatar
elkehinze elkehinze is offline
The Queen of Typos
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Sep 2004
Location: Two Rivers, WI
Posts: 1,137 elkehinze User rank is Sergeant Major (2000 - 5000 Reputation Level)elkehinze User rank is Sergeant Major (2000 - 5000 Reputation Level)elkehinze User rank is Sergeant Major (2000 - 5000 Reputation Level)elkehinze User rank is Sergeant Major (2000 - 5000 Reputation Level)elkehinze User rank is Sergeant Major (2000 - 5000 Reputation Level)elkehinze User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 11 h 42 m 35 sec
Reputation Power: 46
Send a message via ICQ to elkehinze Send a message via AIM to elkehinze Send a message via MSN to elkehinze Send a message via Yahoo to elkehinze
Thanks for the reply Jaime. The tag problem was created as I changed some
of my code yesterday to use a connection include. The problem existed before
the code was changed and still exists. I'm thinking it may be a compatibility issue
with my phone.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > XHTML Error 12001


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway