RE: Problem with login page
Check the actual formis the input name the same as what you are accepting? Is the input field empty? With that kind of error, I've found that the form itself is usually the culprit! Happy hunting, Erika (with a *K*) "Blessed are they who can laugh at themselves, for they shall never cease to be amused." -Original Message- From: Hubert Earl [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 7:15 PM To: CF-Talk Subject: Problem with login page hi. when i submit my login page i get this error message: " Error Diagnostic Information An error occurred while evaluating the expression: #Form.UserPassword# Error near line 8, column 15. Error resolving parameter FORM.USERPASSWORD The specified form field cannot be found. This problem is very likely due to the fact that you have misspelled the form field name. The error occurred while processing an element with a general identifier of (#Form.UserPassword#), occupying document position (8:14) to (8:32)." This is the code I'm submitting, but darned if I could find anything wrong with it: SELECT * FROM User WHERE UserName = '#Form.UserName#' AND Password = '#Form.UserPassword#' I've checked datasource name etc. Could anyone suggest what I may be overlooking? Thanks. --- Hubert Earl ICQ#: 16199853 AIM: hubertfme My Jamaican Art, Craft & More Online Store: http://www.angelfire.com/ny/hearl/link_page_on_angelfire.html ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Problem with login page
So what is the name of the password field on your login page? Is it UserPassword? jon - Original Message - From: "Hubert Earl" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, May 03, 2001 7:15 PM Subject: Problem with login page > hi. when i submit my login page i get this error message: > > " > Error Diagnostic Information > > An error occurred while evaluating the expression: > > > #Form.UserPassword# > > > > Error near line 8, column 15. > -- -- > > Error resolving parameter FORM.USERPASSWORD > > > The specified form field cannot be found. This problem is very likely due to the fact that you have misspelled the form field name. > > > > The error occurred while processing an element with a general identifier of (#Form.UserPassword#), occupying document position (8:14) to (8:32)." > > This is the code I'm submitting, but darned if I could find anything wrong with it: > > > SELECT * FROM User > WHERE UserName = '#Form.UserName#' AND > Password = '#Form.UserPassword#' > > > I've checked datasource name etc. Could anyone suggest what I may be overlooking? Thanks. > > --- > Hubert Earl > > ICQ#: 16199853 > AIM: hubertfme > > My Jamaican Art, Craft & More Online Store: http://www.angelfire.com/ny/hearl/link_page_on_angelfire.html > > > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Problem with login page
First, I would double check to make sure the name of that form field is UserPassword, if it can't find the form field. You can also check your debug output in the Parameters section "Form Fields" which will display all the form fields passed to that page as well as their values. Steven Semrau SRA International, Inc. Senior Member, Professional Staff [EMAIL PROTECTED] [EMAIL PROTECTED] Com: (703) 805-1095 DSN: (703) 655-1095 -Original Message- From: Hubert Earl [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 7:15 PM To: CF-Talk Subject: Problem with login page hi. when i submit my login page i get this error message: " Error Diagnostic Information An error occurred while evaluating the expression: #Form.UserPassword# Error near line 8, column 15. Error resolving parameter FORM.USERPASSWORD The specified form field cannot be found. This problem is very likely due to the fact that you have misspelled the form field name. The error occurred while processing an element with a general identifier of (#Form.UserPassword#), occupying document position (8:14) to (8:32)." This is the code I'm submitting, but darned if I could find anything wrong with it: SELECT * FROM User WHERE UserName = '#Form.UserName#' AND Password = '#Form.UserPassword#' I've checked datasource name etc. Could anyone suggest what I may be overlooking? Thanks. --- Hubert Earl ICQ#: 16199853 AIM: hubertfme My Jamaican Art, Craft & More Online Store: http://www.angelfire.com/ny/hearl/link_page_on_angelfire.html ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Problem with login page
Hi Jon et al, Thanks for the response. 1. I decided to redo the login form and the application tag, and now I'm getting this error message after entering my username and userpassword: "Form Entries Incomplete or Invalid One or more problems exist with the data you have entered. This field must be filled before submission of form. Use the Back button on your web browser to return to the previous page and correct the listed problems." But both username and userpassword fields *have* been filled in. Why is one or both not being recognized? 2. If I type in my user name, and leave the password field blank, nothing happens when I press the login button when, according to the cfinput required code, I should get an error message warning me that I need to fill in the password. 3. If I type in my password alone, I get the expected message generated by a hidden input type value argument. When remaking the login form, I dragged and dropped the names of the fields from the database into studio's edit page using the database tab, to ensure that I got all the names right. Below is A. the code for the login form, and B. the code for the application.cfm tag. I'd appreciate any advice as I'm totally stumped at this point. A. clicologin.cfm SELECT * FROM User WHERE UserName = '#Form.UserName#' AND UserPassword = '#Form.UserPassword#' Sorry, invalid username or password. Please click here to try again. PROPOSAL FOR INSURANCE OF MONEY LOGIN PAGE PROPOSAL FOR INSURANCE OF MONEY LOGIN PAGE Please log in below. User Name: Password: B. clicoapplication.cfm Hubert --- Hubert Earl ICQ#: 16199853 AIM: hubertfme My Jamaican Art, Craft & More Online Store: http://www.angelfire.com/ny/hearl/link_page_on_angelfire.html - Original Message - From: "Jon Hall" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, May 04, 2001 2:59 AM Subject: Re: Problem with login page > So what is the name of the password field on your login page? Is it > UserPassword? > > jon > - Original Message - > From: "Hubert Earl" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, May 03, 2001 7:15 PM > Subject: Problem with login page > > > > hi. when i submit my login page i get this error message: > > > > " > > Error Diagnostic Information > > > > An error occurred while evaluating the expression: > > > > > > #Form.UserPassword# > > > > > > > > Error near line 8, column 15. > > -- > -- > > > > Error resolving parameter FORM.USERPASSWORD > > > > > > The specified form field cannot be found. This problem is very likely due > to the fact that you have misspelled the form field name. > > > > > > > > The error occurred while processing an element with a general identifier > of (#Form.UserPassword#), occupying document position (8:14) to (8:32)." > > > > This is the code I'm submitting, but darned if I could find anything wrong > with it: > > > > > > SELECT * FROM User > > WHERE UserName = '#Form.UserName#' AND > > Password = '#Form.UserPassword#' > > > > > > I've checked datasource name etc. Could anyone suggest what I may be > overlooking? Thanks. > > > > --- > > Hubert Earl > > > > ICQ#: 16199853 > > AIM: hubertfme > > > > My Jamaican Art, Craft & More Online Store: > http://www.angelfire.com/ny/hearl/link_page_on_angelfire.html > > > > > > > > > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Problem with login page
Hi, Thanks for the feedback. Please see my next email for an update on my efforts. Hubert --- Hubert Earl ICQ#: 16199853 AIM: hubertfme My Jamaican Art, Craft & More Online Store: http://www.angelfire.com/ny/hearl/link_page_on_angelfire.html - Original Message - From: "Semrau, Steven L Mr SRA" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, May 04, 2001 9:20 AM Subject: RE: Problem with login page > First, I would double check to make sure the name of that form field is > UserPassword, if it can't find the form field. You can also check your > debug output in the Parameters section "Form Fields" which will display all > the form fields passed to that page as well as their values. > > Steven Semrau > SRA International, Inc. > Senior Member, Professional Staff > [EMAIL PROTECTED] > [EMAIL PROTECTED] > Com: (703) 805-1095 > DSN: (703) 655-1095 > > > -Original Message- > From: Hubert Earl [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 03, 2001 7:15 PM > To: CF-Talk > Subject: Problem with login page > > > hi. when i submit my login page i get this error message: > > " > Error Diagnostic Information > > An error occurred while evaluating the expression: > > > #Form.UserPassword# > > > > Error near line 8, column 15. > -- -- > > > Error resolving parameter FORM.USERPASSWORD > > > The specified form field cannot be found. This problem is very likely due to > the fact that you have misspelled the form field name. > > > > The error occurred while processing an element with a general identifier of > (#Form.UserPassword#), occupying document position (8:14) to (8:32)." > > This is the code I'm submitting, but darned if I could find anything wrong > with it: > > > SELECT * FROM User > WHERE UserName = '#Form.UserName#' AND > Password = '#Form.UserPassword#' > > > I've checked datasource name etc. Could anyone suggest what I may be > overlooking? Thanks. > > --- > Hubert Earl > > ICQ#: 16199853 > AIM: hubertfme > > My Jamaican Art, Craft & More Online Store: > http://www.angelfire.com/ny/hearl/link_page_on_angelfire.html > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Problem with login page
You should be able to use rather than INPUT as a hidden field. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists