Re: Preferences problem and "Bad content encountered"

"Tuukka Karvonen" <[email protected]> Wed, 7 Jan 2004 18:57:38 +0200
Newsgroups gmane.comp.horde.mimp
Message-ID <[email protected]>
Quoting Chuck Hagenbuch" <[email protected]>:
> Quoting Tuukka Karvonen <[email protected]>:
>
> > MIMP works well on my Nokia 5100 phone. However my Nokia simulators
aren't
> > able to login. I have configured Horde to use MIMP authentication and
I've
> > set one imap account for MIMP.  Nokia Mobile Browser Simulator says "WML
> > Browser: Bad Content Encountered", when I press Log in -link. It doesn't
even
> > send the page, so there is probably something wrong with the login page
> > syntax. My friends have told that they have similar problems with their
XHTML
> > enabled phones. Any ideas, how to fix this?
>
> Not without finding out what it considers bad about the page content.
>

Well... This is what the login page looks like:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml"><wml><card title="Log
in"><p>Welcome to Horde</p>
<p>Username<input emptyok="true" format="*M" type="text" name="_imapuser"
value=""/></p>
<p>Password<input emptyok="true" format="*M" type="password" name="_pass"
value=""/></p>
<p><select name="_server"><option value="imap">HUT</option><option
value="cyrus">Cyrus IMAP Server</option><option value="pop">POP3
Server</option></select></p>
<p><anchor title="Log in">Log in<go
href="redirect.php?Horde=590047bb3c3a1534d827755455ebb9e6"
method="post"><postfield name="" value="Log in"/><postfield name="Horde"
value="590047bb3c3a1534d827755455ebb9e6"/><postfield name="imapuser"
value="$(_imapuser)"/><postfield name="pass" value="$(_pass)"/><postfield
name="server" value="$(_server)"/><postfield name="actionID"
value=""/></go></anchor></p>
<p>Please login using your HUT mailpasswd.<br />
</p>
</card></wml>

And when I press Log In link, my simulators downloaded from forum.nokia.com
say:
File format unknown (Nokia 5100 SDK 1.0)
WML Browser: Bad Content Encountered (Nokia Mobile Browser Simulator)

Could now some one see what's wrong with the wml or is the problem in the
simulators?

Tuukka


-- 
mimp mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]