Page 1 of 1
[solved] - FormBuilder 0.7 - Submission problem
Posted: Thu Apr 14, 2011 12:51 pm
by naturelab
I've used Formbuilder 6 or 7 times on sites and know my way round it fairly well, but today I've come up against a brick wall.
I am using :-
CMS Made Simple⢠1.9.4.1 "Faanui"
FormBuilder 0.7
The issue :- I have built the form as usual, but when I hit submit, nothing happens, no validation, no email, no page redirection and no error message
I've tried :-
1) re-installing the module
2) stripping out all Javascript
3) using different page templates
4) using different forms ( on different pages )
5) I have triple checked the CMS Mailer setup ( I always use the same host and it sends out test mail fine )
I am not doing anything difficult either. This is weird and I've run out of options.
Anyone ?
Re: FormBuilder 0.7 - Submission problem
Posted: Thu Apr 14, 2011 6:57 pm
by Daaber
I was having the same issues. I found this post which helped me solve my issue or at least made me look to the extension of my page as the culprit:
http://forum.cmsmadesimple.org/viewtopi ... rm+working
In the end, mine would not submit because I was trying to submit from index.php. I still had an old static .html file up while I was working on the site and therefore had to enter the index.php to get to my "new" home page. Once I removed the old .html file and tried submitting from just the domain, it worked fine.
Re: FormBuilder 0.7 - Submission problem
Posted: Thu Apr 14, 2011 7:24 pm
by naturelab
Hi Daaber :-
Thanks for coming back to me on this.
I am added this extra to the .htaccess file and it seems to work fine
Code: Select all
RewriteCond %{REQUEST_METHOD} !POST$
Can't thank you enough, I was beginning to pull my hair out !
What I can't understand is why the last site I built worked and this one didn't ( exactly the same spec / version / hosting ) - but I'm not gonna spend any longer thinking about that ! they both work. Thanks again.
Re: [solved] - FormBuilder 0.7 - Submission problem
Posted: Wed Apr 18, 2012 12:33 am
by spcherub
Hi,
I am faced with the same problem, but the solution outlined below does not fix it in my case. Here is my default htaccess:
Code: Select all
RewriteEngine on
#
#Sub-dir e.g: /cmsms
RewriteBase /clients/rrs
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# but ignore POST requests.
#RewriteCond %{REQUEST_URI} !/$
#RewriteCond %{REQUEST_URI} !\.
#RewriteCond %{REQUEST_METHOD} !POST$
#RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
</IfModule>
Right now the "RewriteCond %{REQUEST_METHOD} !POST$" is commented out, but if I were to uncomment it, where should it appear in the sequence of directives?
TIA
-Sanjay