On 13.06.2011, at 20:27, Brad Hart wrote: > Hi, > Hope someone can help. > In our production instance of our application, everything works fine when > logging in. > However, when setting up a copy of the instance on another server, I can't > login. The page is complaining that the user id (email Address) and password > are missing, when in fact, I am actually typing them in. > The form as the following: > (taken from: modules/Authentication/templates/LoginIndex.ezt) > > The validation file contains: > (taken from: modules/Authentication/validate/Login.xml) > > I am going crazy trying to figure out why the validation process seems to be > null'ing out the emailId and password values. I confirmed via the > LoginActionClass.php error handler that they are empty. > > Any help would be most appreciated. > Thanks. > -Brad
Hi Brad, Is the production system running Windows or Mac OS? I'm wondering whether it might be a case sensitivity difference on the file system level, e.g. where you actually have a "login.xml" instead of a "Login.xml", which your average Linux server or any other machine on a case sensitive file system would not pick up. Also, are you running the same version of Agavi on both machines? David P.S. You can drop the first string validator, remove the "depends" on the email validator and use different <error> elements if you want to have separate error messages for "please enter an email address" (<error for="required">) and "please enter a valid email address" (<error>)
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
