Using the latest dev, I get "ajax module: an unknown error has occured" when I try to submit a login on a 403 redirected page. I have LoginToboggan set to enable the persistent login form on 403 pages. This doesn't occur during a normal login, doesn't happen if I turn off Ajax plugin - logintoboggan, and I tested on both Google Chrome and Firefox 3.06. It might be just me. As a simple test I logged out, then tried to go to /admin, which then gave me a 403, and asked me to login. Upon pressing the submit button, the above error message popped up and I never logged in.
Comments
Comment #1
brendoncrawford commentedAllRoCol,
Thanks for the feedback. I will have a look at this.
Comment #2
brendoncrawford commentedAllRoCol,
Can you submit the ajax response for the form submission? You should be able to get it from the Firebug console log.
Thanks,
Brendon
Comment #3
Anonymous (not verified) commentedIt is saying something along the lines of 404( POST http://localhost/drupal//drupal/admin?destination=/drupal/admin
http://localhost/drupal//drupal/admin?destination=/drupal/admin
404 Not Found 1.27s), not found. I don't know why it shows a second /drupal with an extra /. Maybe that is the way it is supposed to look in Firebug. What I am saying is that it should be http://localhost/drupal/admin, not http://localhost/drupal//drupal/admin. I'm only doing it to /admin, on a completely clean site.
I wiped the whole Xampp server install I was testing on, reinstalled it, then installed Drupal 6.9, along with just the latest Dev of Ajax and the latest stable LoginToboggan. Now I'm not a programmer and this is my first time using Firebug, so I might post the wrong stuff. I went to /admin and attempted to login with Firebug running, the output I got under the response section of console was:
Now.. The page is there if I turn off the Ajax module for LoginToboggan, so why won't it show up with the module on?
At the bottom of the console is this clickable link that says:
error [XMLHttpRequest readyState=4 status=404, "error", undefined]
If you need any info from that, let me know.
For LoginToboggan, I have the following settings:
Allow users to login using their e-mail address: enabled
Use two e-mail fields on registration form: enabled
Set password: checked
Non-authenticated role: authenticated user
Immediate login: checked
Redirect path on Registration: blank
Redirect path on Confirmation: blank
Present login form on access denied (403): enabled
Display login successful message: enabled
Minimum password length: 6
Delete unvalidated users after: 6 Months
Comment #4
brendoncrawford commentedThis is actually a result of a Logintoboggan bug, which I opened here:
http://drupal.org/node/436416
Reassigning this bug to logintoboggan.
Comment #5
hunmonk commentedlet's finish this up in the other issue.