You Are Here:

Community: Developer Discussion Boards

#1 Old 500: internal server error on nokia 7650 - 2002-05-30, 13:27

Join Date: Mar 2003
Posts: 6
foxmask
Offline
Registered User
Hi,
i make a very short php page as follow

<?
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
?>
<wml>
<card id="test">
<p>
Hello World :)
</p>
</card>
</wml>

with the Mobile Internet Toolkit i can you the meulators and browse to this page without any problem ; but if i use the 7650 i get the error 500...
Any idea ?

PS: Apache is the webserver i use.

#2 Old RE: 500: internal server error on nokia 7650 - 2002-06-25, 11:49

Join Date: Mar 2003
Posts: 38
samsalmi
Offline
Registered User
Hmm,

Just know very little about the PHP, try without setting the encoding in XML declaration line (first line). WML 1.1 declaration on the second line should be OK for 7650 -- I tried with the following "headers" and got it work fine:

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">

Have you configured/added text/vnd.wap.wml to you Apache web server as a MIME content type? It should be there by default, at least in the later ones of Apache releases.

Hope this helped.

Best Regards,

Samuli/Forum Nokia
  « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia