|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
||||
|
||||
|
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> |
|
#2
|
||||
|
||||
|
Your problem is here:
Code:
</head> <body> </body> </html> </head> <body>
__________________
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. __________________ |
|
#3
|
||||
|
||||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > XHTML Error 12001 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|