CMS Development

ipcentrum
Miembro

Form not loading correctly on staging server

resolver

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 Me gusta
1 Soluciones aceptada
stefen
Solución
Asesor destacado | Partner
Asesor destacado | Partner

Form not loading correctly on staging server

resolver

@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

Ver la solución en mensaje original publicado

0 Me gusta
1 Respuesta 1
stefen
Solución
Asesor destacado | Partner
Asesor destacado | Partner

Form not loading correctly on staging server

resolver

@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 Me gusta