Closed Bug 541428 Opened 14 years ago Closed 14 years ago

"Save form" function doesn't work on TestPilot stage server

Categories

(mozilla.org Graveyard :: Server Operations, task)

All
Other
task
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: neilio, Assigned: zandr)

References

()

Details

I have a Wordpress plugin called "Gravity Forms" that allows you to embed customized forms into a wordpress page. This works fine for me locally, and it passes the server requirements on the test pilot server, but when I try to save a new form, the submit hangs and the form isn't saved.

The only Gravity Form support thread I could find that might be related is this:

http://forum.gravityhelp.com/topic/unable-to-saveupdate-form#post-2758

I need to get this working as the new functionality for the Test Pilot site hinges on this form.
Blocks: 541429
We'll need to consult with zandr on this, but he's currently in transit. I'll see if there's progress which can be made over the weekend.
Assignee: server-ops → zandr
Need help on this, it's blocking the testpilot site.
Assignee: zandr → server-ops
Assignee: server-ops → aravind
Here's the text from that support forum post (didn't realize it was private):

> It looks like your environment has some sort of security around receiving
> requests via POST. It throws a 500 (server error) when the posted content
> contains the words "select from". I imagine it does that in an attempt to
> protect you from outsiders trying to access your database. The problem is that 
> the implementation is too strict and blocks harmless strings such as "selecting 
> an apple from the store", or in our case "isSelected: false, from:
> test@test.com".

> When you click the save form button, an AJAX POST request is made to the admin-
> ajax.php page. In your environment this request fails when the form meta
> contains the words "select" and "from".

> This has happened to another user and he was able to talk to his host and fix 
> the issue. This is what he said:
> "They changed something on the mod_security module and it seems to be working
> great now!"
Assignee: aravind → zandr
Sent zandr admin account info for wordpress via email.
Any update here?
Seeing this with Firebug:

uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.statusText]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: https://testpilot-stage.mozillalabs.com/wordpress/wp-includes/js/tw-sack.js?ver=1.6.1 :: anonymous :: line 1"  data: no]
https://testpilot-stage.mozillalabs.com/wordpress/wp-includes/js/tw-sack.js?ver=1.6.1
Line 1

Investigating, but I no experience with this plugin. How do I log into the support forums?
Had to change the blog URL (wpurl) to https since gravity forms ignores the FORCE_SSL flags.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
No longer blocks: 541429
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.