Sauter la navigation

[Résolu] I cannot save an existing View that has a JS code

This support ticket is created Il y a 5 années et 10 mois. 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)

Marqué : ,

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par francescoG-3 Il y a 5 années et 10 mois.

Assisté par: Nigel.

Auteur
Publications
#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: lien caché

I expected to save the View

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

#1217595

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: 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