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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old February 25th, 2008, 11:00 PM
tea_ais tea_ais is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2008
Posts: 2 tea_ais User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 30 m 42 sec
Reputation Power: 0
Can't display in phone..

hai there..
i got this error(500:web service problem.please contact the system provider) when i try to display wap content using my phone(sony ericsson j230i-wml1.1,wml1.2,wml 1.3)


but it can work very well in
Openwave V7 simulator..

i' m using xampp server(php/wml/mysql)

Reply With Quote
  #2  
Old February 25th, 2008, 11:14 PM
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,571 jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th 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 2 Days 9 h 29 m 36 sec
Reputation Power: 1494
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
Hi tea_ais,

Welcome to DS.

I think we are going to need a bit more info.
500 errors usually mean configuration errors on the server side....

Have you validated your code?
What content type are you sending the pages as?

Have you got a URL? I know you are knew, but
http:// your . domain . com will do
__________________
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 February 26th, 2008, 11:26 AM
tea_ais tea_ais is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2008
Posts: 2 tea_ais User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 30 m 42 sec
Reputation Power: 0
hai..yup i'm newbie..hehe..
ok this is detail:1500: could not connect to the server..
eem??

"configuration error in server"??..u mean need to setting apache server rite???
xtually i have setting MIME and httpd file..


(* i've setting index1.php as default page in httpd file..)

or is it something wrong with d coding..

this is sample of my coding..(not index1.php file)



<
Code:
?php

	// connect to mysql database 		
	$lbwap = mysql_pconnect("localhost", "root",""); 
					
	// select database 		
	$db = mysql_select_db("lbwap");
	
	ini_set('session.use_cookies', 0);

	// Get session ID from GET/POST
	if (isset($_REQUEST[ 'ses' ])) 
		session_id($_REQUEST[ 'ses' ]);
		
	// Start session
	session_name('lbwap_ses');
	@session_start();
?>

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN"
	"http;//(URL address blocked: See forum rules)/DTD/wml_1.1.xml">

<wml>

<card id="papar_berat" newcontext="true">

<?php 


$mode = 'display';
if (is_numeric ($_GET['pid'])) {
	
	
	$query = "SELECT * FROM cake,berat WHERE berat.CID = cake.CID AND berat.CID = {$_GET['pid']}  ORDER BY berat_kek ASC ";
	$result = mysql_query ($query);
	$row = mysql_fetch_array ($result, MYSQL_ASSOC);


	// Display a header.
	echo "<div align=\"center\">
<p><b>{$row['kod']}</b> </p>
<a href=\"display_cake2.php\">{$row['nama_kek']}</a>
<br />{$row['penerangan']}


</div><br />";

	// Get the image information and display the image.
	if ($image = @getimagesize ("../uploads/{$row['image']}")) {
		echo "<div align=\"center\"><img src=\"../uploads/{$row['image']}\" $image[3] alt=\"{$row['nama_kek']}\" />";	
	} else {
		echo "<div align=\"center\">No image available."; 
	}
	
	//display table
echo '<table border="1" width="100%" cellspacing="2" cellpadding="2" align="center">
<tr bgcolor="#FFFF00">
<td align="center" width="30%"><b><small>Berat</small></b></td>
<td align="center" width="30%"><b>Harga</b></td>
<td align="center" width="30%"><b>Tempah</b></td>
</tr>';

// Display each record.
$result = mysql_query ($query);
while ($row = mysql_fetch_array ($result, MYSQL_ASSOC)) {



	echo "	<tr>
		<td align=\"center\">{$row['berat_kek']}</td>
		<td align=\"center\">{$row['harga']}</td>
		<td align=\"center\"><a href=\"p.php?tid={$row['BID']}\">TEMPAH</td>
	</tr>\n";
	
} // End of while loop.

echo '</table>'; // Close the table.
?>

        <anchor>
        <small>  MAIN MENU </small>
            <go href="index1.php">
            </go>
		 </anchor>
		 
		 <anchor>
		 <small>KEMBALI </small>
		    <go href="papar_kek.php">
             </go>
		</anchor>		
<?php	
mysql_close(); // Close the database connection.	
}
?>
</card>
</wml>


thank again for ur kindness..

Reply With Quote
  #4  
Old February 26th, 2008, 11:42 AM
tj_nt tj_nt is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2004
Posts: 1,544 tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level)tj_nt User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 6 Days 23 h 10 m 49 sec
Reputation Power: 619
what are you using for a header?
[edited]

I was looking at the top of the page..try this (at the top of the page)

Code:
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
__________________
I'm so old...When I was born the Dead Sea was just sick...

Last edited by tj_nt : February 26th, 2008 at 11:47 AM.

Reply With Quote
  #5  
Old February 26th, 2008, 06:32 PM
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,571 jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 8th 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 2 Days 9 h 29 m 36 sec
Reputation Power: 1494
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
The URL you sent me in the mail was a local address -
you won't be able to access the site on your phone unless
a) you are physically connected to the same network on your phone or
b) you open up the site on a public IP address...

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Can't display in phone..


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





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