I'm rather new to cakePHP and am experimenting with it, in the hope
that it will be the framework I will use for a multilingual site I
have been tasked with. The site will be available in German and
English.
Problem 1: When the form doesn't validate correctly it is reloaded
with the password already hashed. Presumably the password will then be
"rehashed" upon saving, meaning the person can no longer login? Is
there a workaround or solution available?
Problem 2: I am also playing with $validate and have the following in
my model:
var $validate = array(
'email' => array(
'rule' => 'email',
'message' => 'Bad E-Mail - Ungültige EMail'
)
);
Unfortunately the ü isn't being displayed correctly, and ü also
doesn't work (The ampersand is being encoded). Either the entire error
message is not being displayed or the encoding is incorrect.
Configure::write('App.encoding', 'UTF-8');
is in the core and the header of the document looks like
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Where am I going wrong?
Thanks,
Taff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---