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

RESOLVED FIXED

Status

mozilla.org Graveyard
Server Operations
--
critical
RESOLVED FIXED
8 years ago
3 years ago

People

(Reporter: neilio, Assigned: zandr)

Tracking

Details

(URL)

(Reporter)

Description

8 years ago
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.
(Reporter)

Updated

8 years ago
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
(Reporter)

Comment 3

8 years ago
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
(Reporter)

Comment 4

8 years ago
Sent zandr admin account info for wordpress via email.
(Reporter)

Comment 5

8 years ago
Any update here?
(Assignee)

Comment 6

8 years ago
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?
(Assignee)

Comment 7

8 years ago
Had to change the blog URL (wpurl) to https since gravity forms ignores the FORCE_SSL flags.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Reporter)

Updated

8 years ago
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.