Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

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
1  
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
2  
@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

1 Answer 1

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

 
discard

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.