Skip Navigation

[Resolved] I cannot save an existing View that has a JS code

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 2 replies, has 2 voices.

Last updated by francescoG-3 5 years, 10 months ago.

Assisted by: Nigel.

Author
Posts
#1217339
Modifica View ‹ Cesare Dell Anna — WordPress.png

I am trying to: Save an existing View that has a JS code, or creating a new View I can save all until I try to insert some JS code.

Link to a page where the issue can be seen: hidden link

I expected to save the View

Instead, I got: Data not Saved (see the screenshot)

#1217595

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2019-03-20 at 09.05.43.png

Hi Francesco

Views is trying to make an admin ajax request, but on your site it is being blocked (see screenshot).

According to the error, the attempted ajax request to admin-ajax.php is being redirected to netsons.com, which is being blocked because of the cross-origins protection.

Is netsons.com your host?

It seems like a security layer or your server settings are behind the problem.

#1217908

So, the issue was generated by the activation about ModSecurity module in server. I deactivate it and all work!
Thanks