Validation error?

public
group: Vancouver
findAtutor - Thu, 2008-09-04 19:17

Hello everyone, long time lurker, first time poster to the Vancouver group discussion. I'm more of a drupal "user" than "developer," but the person who does most of the programming is also subscribed to this group, so we'll both get the feed back, so hopefully one of us can find a solution.

I have converted my web site to be a drupal site and launched it as the new drupal site about a month ago. I've been getting reports from some of my customers as having problems logging in. At first I thought it was due to confusion, and for some just not getting it, but now I've received an e-mail from a user that copied the message they received from the web page when they tried using the request new password feature, and they received the following message:

"Validation error, please try again. If this error persists, please contact the site administrator."

What they said they did was requested a new password, clicked on the link in the e-mail, used the one time login, entered a new password in both fields, clicked on submit, and that's when they got the message. From what they sent me, there was the standard drupal user account information there (the View/ Edit/ Track / Account settings/ Personal information ) but where they should see content (in the case of my web site, a tutor listing) there is the validation error instead and nothing else.

I myself have received a validation error as I navigate the site, but that's while I'm logged in as an administrator, and I didn't think it was a concern for other users. I'm much more concerned about paying customers seeing this, as it limits their access to using my services (including paying me!)

Has anyone else come across this? Any ideas what may cause it, or what I can do to track or determine the reason for it? Any possible solutions? So far I can't replicate the problem, but this particular customer has been complaining for days that they can't login, so it's possible that it's consistent for other users.

Suggestions are welcome and would be greatly appreciated!

Thanks,
Johanna

PS My web site is http://www.findatutor.ca FYI. I'll leave the shameless plugging for another time!

Permissions and ACL Settings

TechSteve - Thu, 2008-09-04 20:28

Hey Johanna,
I think you may double check the permissions and acl settings.

cheers,
steve

Hi Steve, I don't think its

findAtutor - Thu, 2008-09-04 20:47

Hi Steve,

I don't think its a permission thing, as all users are granted the same permission settings, and most users have no problems logging in, this is the only officially "documented" case I have. When I get the error, it seems to be random (I don't get it every time I do the same task).

Other ideas?
-Johanna

OK for now.

findAtutor - Thu, 2008-09-04 21:29

The customer who has not been able to login for days just e-mailed me saying they finally figured out what to do and no longer have any problems.

That's good to know, unfortunately it still doesn't explain why the validation error seems to pop up occasionally.

Until the next question...

Thanks,
Johanna

I've seen this kind of thing

torelad@drupal.org's picture
torelad@drupal.org - Thu, 2008-09-04 21:19

I've seen this kind of thing come up when the cookie domain name gets confused. This was a problem with earlier versions of Drupal when you had two different sites with the same base domain, like www.example.com and videos.example.com. This issue has been fixed, I can't recall in which release.

I've also run into this kind of thing when the same site is available from 2 different domains. For me it usually happens in dev/staging type situation.

I can't recall for sure, but I think Drupal equates example.com and www.example.com as the same thing in this respect. Anyone know? It's a good idea for SEO to insure the users get one or the other, not both, in any event.

Clearing browser cookies is a temporary fix. If you think this might be the issue you should review your Apache and Drupal config to see if something is manipulating cookie domain values behind the scenes.


Modules used

dwees's picture
dwees - Thu, 2008-09-04 22:56

It might be useful if we knew exactly which modules you had enabled. You could also check the issues queue for messages like the one you had.

Try looking through the results of this search:

http://drupal.org/search/node/Validation+error%2C+please+try+again.+If+t...


Thanks for the extra info. I

findAtutor - Thu, 2008-09-04 23:18

Thanks for the extra info. I didn't see your message until after I posted my last reply.

We're also seeing a problem when someone clicks on logout, it doesn't appear that they have logged out. The user is actually logged out, but the user menu stays. I get this happening in Firefox (but not IE). We have a feeling there is some kind of cache or cookie thing going on.

Will investigate and post another question if we get stuck.

Thanks again!