Webforms Not Submitting
OK, So I'm pulling my hair out here and looking for some outside ideas to hopefully spur me in the right direction. I'm working on a series of sites that are all sister sites of a larger organization and so they all share a codebase and more or less the same module config. They are set up in a typical production enviroment with dev, staging, and live sites/servers. Here's where it gets funky. Because the organization is a fairly large well know org, the live servers are hosted directly by the TelCo provider and access is limited to one person on the dev team (not me). Heres my problem. On the live sites the forms, webforms specifically, but all forms also, when submitted seem to lose all post data and therefore don't submit anything. When submitted it doesn't even go through the validation handlers, and obviously from there the submit handlers either. There also seems to be no session info getting stored for the anonymous user. I am completely baffled by this. For some reason the only form that works is the login form and once logged in the forms all work correctly and submit. On dev everything seems to work fine and yesterday I got the code and the db dump from live and tested it on my machine and it seemed to work. So at this point I'm looking for anyone's logical thoughts or ideas as to why this might be happening or hopefully someone has run into this before and has an easy solution for me to use. ----- Adam A. Gregory Drupal Developer & Consultant Web: AdamAGregory.com Twitter: twitter.com/adamgregory Phone: 910.808.1717 Cell: 919.306.6138
Wow, that is pretty freaky. I'd ask for a copy of the php.ini and do a diff between it and what you've got. if $_POST isn't working, then I've got to wonder if it's a php setting in there. Actually, you can look at the phpinfo dump by going into the status report in the admin, scrolling down to see the version of php the site has, and clicking on the version info - that's probably a better idea, because it's the settings that are actually live. Save it as a file, save the one from dev as a file, diff away. -- John Fiala www.jcfiala.net
Do you have the cookie_domain set in your settings.php file? I had a similar issue where the session. $cookie_domain = 'somedomain.com'; Eric On Apr 13, 2010, at 9:57 AM, John Fiala wrote:
Wow, that is pretty freaky.
I'd ask for a copy of the php.ini and do a diff between it and what you've got. if $_POST isn't working, then I've got to wonder if it's a php setting in there. Actually, you can look at the phpinfo dump by going into the status report in the admin, scrolling down to see the version of php the site has, and clicking on the version info - that's probably a better idea, because it's the settings that are actually live. Save it as a file, save the one from dev as a file, diff away.
-- John Fiala www.jcfiala.net
I've discovered the issue. The sites are run on Pressflow, which unkown to me untill a minute ago does not store session info for user 0. ----- Adam A. Gregory Drupal Developer & Consultant Web: AdamAGregory.com Twitter: twitter.com/adamgregory Phone: 910.808.1717 Cell: 919.306.6138 On Tue, Apr 13, 2010 at 11:08 AM, Eric Aspegren <easpegre@nebrwesleyan.edu>wrote:
Do you have the cookie_domain set in your settings.php file? I had a similar issue where the session.
$cookie_domain = 'somedomain.com';
Eric
On Apr 13, 2010, at 9:57 AM, John Fiala wrote:
Wow, that is pretty freaky.
I'd ask for a copy of the php.ini and do a diff between it and what you've got. if $_POST isn't working, then I've got to wonder if it's a php setting in there. Actually, you can look at the phpinfo dump by going into the status report in the admin, scrolling down to see the version of php the site has, and clicking on the version info - that's probably a better idea, because it's the settings that are actually live. Save it as a file, save the one from dev as a file, diff away.
-- John Fiala www.jcfiala.net
OK, but that shouldn't prevent form values from being submitted/POSTed ...? All the Best, Matt Chapman Ninjitsu Web Development -- The contents of this message should be assumed to be Confidential, and may not be disclosed without permission of the sender. On Tue, Apr 13, 2010 at 10:40 AM, Adam Gregory <arcaneadam@gmail.com> wrote:
I've discovered the issue. The sites are run on Pressflow, which unkown to me untill a minute ago does not store session info for user 0.
----- Adam A. Gregory Drupal Developer & Consultant Web: AdamAGregory.com Twitter: twitter.com/adamgregory Phone: 910.808.1717 Cell: 919.306.6138
On Tue, Apr 13, 2010 at 11:08 AM, Eric Aspegren <easpegre@nebrwesleyan.edu
wrote:
Do you have the cookie_domain set in your settings.php file? I had a similar issue where the session.
$cookie_domain = 'somedomain.com';
Eric
On Apr 13, 2010, at 9:57 AM, John Fiala wrote:
Wow, that is pretty freaky.
I'd ask for a copy of the php.ini and do a diff between it and what you've got. if $_POST isn't working, then I've got to wonder if it's a php setting in there. Actually, you can look at the phpinfo dump by going into the status report in the admin, scrolling down to see the version of php the site has, and clicking on the version info - that's probably a better idea, because it's the settings that are actually live. Save it as a file, save the one from dev as a file, diff away.
-- John Fiala www.jcfiala.net
So I just discovered that in addition to using Pressflow, the Live server uses Varnish and the dev does not. http://drupal.org/node/769032 as the issue here suggests this can be an issue with webforms. Anyones else have issues with webforms and varnish? ----- Adam A. Gregory Drupal Developer & Consultant Web: AdamAGregory.com Twitter: twitter.com/adamgregory Phone: 910.808.1717 Cell: 919.306.6138
How big is the form, I've had this problem with the max post size being only 1MB on a shared host, a yes it was a hair pulling experience On Tue, 2010-04-13 at 09:48 -0400, Adam Gregory wrote:
Heres my problem. On the live sites the forms, webforms specifically, but all forms also, when submitted seem to lose all post data and therefore don't submit anything. When submitted it doesn't even go through the validation handlers, and obviously from there the submit handlers either. There also seems to be no session info getting stored for the anonymous user. I am completely baffled by this. For some reason the only form that works is the login form and once logged in the forms all work correctly and submit.
participants (5)
-
Adam Gregory -
Eric Aspegren -
John Fiala -
Lee Rowlands -
Matt Chapman