CMS Development

ipcentrum
メンバー

Form not loading correctly on staging server

解決

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 いいね!
1件の承認済みベストアンサー
stefen
解決策
キーアドバイザー | Solutions Partner
キーアドバイザー | Solutions Partner

Form not loading correctly on staging server

解決

@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 いいね!
1件の返信
stefen
解決策
キーアドバイザー | Solutions Partner
キーアドバイザー | Solutions Partner

Form not loading correctly on staging server

解決

@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 いいね!