Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't submit any form. If I press Submit button on any form, the form page gets reloaded and nothing happens and no message is shown.

In the submit and validate functions of a form, I added an exit() command and found that they are not being called at all.

I cleared the cache and problem still exists. Any suggestion?

share|improve this question
can you please add the code ? – mohit_rocks Nov 22 '12 at 4:23
This happens for all forms. – Nima Nov 22 '12 at 4:26
@user16948 did you modify any core files? or are you implementing the functions in your custom module (using hook_form_alter)? posting the code would help to find the actual cause as mohit_rocks said. – AjitS Nov 22 '12 at 4:30

The problem was post_max_size in .htaccess file. I was using MB instead of M after the value.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.