CMS Development

ipcentrum
Membre

Form not loading correctly on staging server

Résolue

Hi there,

 

We're using a HubSpot form on a blog update which has stated played up.

URL: https://paul-dev.ipcentrum.com/blog/forth-test-blog-post/

 

If you scroll down around half way down the page a form should slide in from the bottom of the page. This works perfectly on my local dev environment, as seen below...

Screenshot of the form on my local environmentScreenshot of the form on my local environment

 

 

 

 

 

 

However on my staging server, the JavaScript is not creating the form. I've checked and the JS is loading and there is nothing different between the two environments.

0 Votes
1 Solution acceptée
stefen
Solution
Conseiller clé | Partenaire solutions
Conseiller clé | Partenaire solutions

Form not loading correctly on staging server

Résolue

@ipcentrum sometimes there can be a Content-Security-Policy in use (usually in the .htaccess file) restricting external javascript and/or inline javascript.

Stefen Phelps, Community Champion, Kelp Web Developer

Voir la solution dans l'envoi d'origine

0 Votes
1 Réponse
stefen
Solution
Conseiller clé | Partenaire solutions
Conseiller clé | Partenaire solutions

Form not loading correctly on staging server

Résolue

@ipcentrum sometimes there can be a Content-Security-Policy in use (usually in the .htaccess file) restricting external javascript and/or inline javascript.

Stefen Phelps, Community Champion, Kelp Web Developer
0 Votes