Validation Error on every form submit.
Two days ago (19/10/2006) I upgraded from Drupal 4.7.3 to 4.7.4. Obviously, this is the very first time this error has occurred.
Yesterday I get the following (in red) when any form whatsoever on the website is filled in:
Validation error, please try again.
If this error persists, please contact the site administrator.That was every form on the Drupal site, from comment, to new content to admin pages being submitted. This even affected the login form, which effective locked me out of my site and I managed to access the site as a admin-priviledged user with the Opera browser where 'cookies' were more persistent than in FireFox.
All the other messages on this forum relating to this error points to the poll module but I don't have that module or anything similar installed.
See http://drupal.org/node/70509
Even though the poll module was not enabled I renamed it to poll.friday. That did not solve the problem either.
Of course even changing and subitting the modules admin screen would return a 'validation error' which complicated admin tasks somewhat.
My next course of action was to move four redundant modules (not used anymore), but were installed out of the modules directory, therefore disabling them. The modules were:
event
controlpanel
commentmail
adminrss
Voila - I could access and submit forms again without 'Validation Errors'
Even though I am now 'happy again', I am posting this because I seem to have a definite knack for 'totally breaking' Drupal long before everyone else. Maybe this will help the next struggling Drupalite.
Either there is a bug concerning forms that is woken up under certain conditions or my site is really, really foobar.

did you remove those one at
did you remove those one at a time or all at once?
did you have remove all of them, or you just did?
interested to hear about this, thanks for posting your troubles.
All at once
I logged in with SSH and renamed poll.module and tested submitting the forms without the error going away. I then cleared the cache table in PHP-MySQL in case I got an existing page and again tested. One of the earlier steps was truncating the cache table since clearing the cache is the universal panacea for Drupal problems. Then I moved the above four redundant modules with the "mv modules/xtra/modulename destination/modulname" for each of the modules. Then I tested again. And the problem was gone.
I also found it strange that this restored the working state. It is a condition that was definitely triggered by the 4.7.4 upgrade which was the only adminstrative action this week. Since the first errors I experienced were with the login form (block) (which would not allow a login, and it did not display the error) it could be that other users are currently experiencing and reporting this as a login problem!
I hope this helps someone.
Casper Labuschagne
Where am I on the Drupal map on Frapper?
hey thanks for posing that,
hey thanks for posing that, really appreciate you taking the time, I'm holding off on a 4.7.4 upgrade for a bunch of my sites until I get time to test it some myself and see how others fare, esp one site for which the event module is crucial.
Solution?
I had this problem as well, except that I did not have a problem logging in. I subtracted contributed modules one by one, and did not fix it. Then, I substituted the old modules directory that I was using with the 4.7.4 modules directory. This fixed the submission problem. Thus, if you are copying the old modules directory, you may solve the problem by adding the new modules directory and then manually adding in your contributed modules.
I have this issue too with
I have this issue too with my searches. Everything else appears to work perfectly accept that.
Seems 4.7.4 is very bugy. This is the third issue i've had. One was profile, one is a XHTML validation error to do with forms and now this.
Is it safe to over write with 4.7.3 until these issues are fixed ?
--
http://www.porttalbotchat.co.uk
-------------------------------------------------
Our mission is to discuss issues and topics of residents of Port Talbot. We provide info on events, issues, concerns and discussions of our local area.
Theme
Did you theme your search box?
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.
Continued at
http://drupal.org/node/90808
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.
more severe
I too have this problem, only more severe. I have the error even when I disable ALL modules and return to the default theme. The error even occurs in update.php.
This is completely baffling. If the error occurs with only the required core modules there must be a severe problem somwhere in core.
With my limited knowledge of the form API I don't know where to look to fix it. For the time being I've simply disabled drupal_validate_form(). Risky I know.
________________________
dave hansen-lange
Steps
Step 1. Make a backup copy of your contributed modules
Step 2. Delete
includesStep 3. Delete the directory
modulesStep 4. Extract
includesandmodulesfrom the Drupal-4.7.4 archiveStep 5. Copy only contributed modules from the backup to the
modulesdirectory.In Step 5 you have to make sure that you do not overwrite *any* core file with old 4.7.3 junk.
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.
Thanx Heine
This works!
It turns out that my issue
It turns out that my issue was due to the fact that I got my CVS checkout all screwed up. For some reason when I did a CVS update the core modules were not being updated. I zapped all the core directories and did a
cvs update -dPand all was better.________________________
dave hansen-lange
Form Validation Error occurs on Drupal.org as well..
I have just posted a search on Drupal.org. (This was in the search form displayed on a previous set of search results.) I had the Form Validation Error returned from Drupal.org.
Screenshot: http://krooninfo.co.za/files/img/dupal-publish-subscribe.png
Casper Labuschagne
Where am I on the Drupal map on Frapper?
Some "Validation error..." also in 4.7.4 with blocks
I also upgraded from 4.7.3 to 4.7.4 some days ago and this is the first error of this kind I got. I was able to add new bocks, but when I try to save the config to show an additional block to my block region (an old hidden block or a new one, doesn´t matter), the "famous" validation error just appeared. It stopped when I dissabled "blockregion" module (the module who helps block configuration through different themes). I have had good luck in the first try...(sorry, I have to go to the casino now, lol).
Cheers,
Gustavo
Same error...
...fortuneately I use a link to point to my actual Drupal directory and I had still a working 4.7.3 version...4.7.4 won't work for me till now... : (
---edit---
the hint of heine resolved this problems. thx !
Don't Copy Your Modules!
We've just had problems upgrading from 4.7.2.to 4.7.4
(We ended up with same error message above)
To upgrade we copied our modules folder to the 4.7.4 set of files and OVERWROTE them - this was our problem
We thought this would be clever because all of our contributed modules would be there in the new installation, but it broke the core modules.
We fixed it by overwriting the 4.7.2 core modules with the new 4.7.4 core modules
Perhaps this is just a case of correct process?!
Hope that helps.
Thanks! That worked for me
Thanks! That worked for me too (had the same problem but upgraded from 4.7.3 to 4.7.5).