Scripts blocking website from loading

Posted in: Newspaper
Post count: 7

Hi,

After installing the new lifestyle theme the site is not loading properly.

I am especially confused why I have stripe scripts on the frontpage?

What can I do?

These are the messages from inspecting the site on http://www.myanmore.com

A Parser-blocking, cross site (i.e. different eTLD+1) script, https://ajax.cloudflare.com/cdn-cgi/nexp/dok3v=85b614c0f6/cloudflare.min.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.

Mixed Content: The page at ‘https://www.myanmore.com/yangon/’ was loaded over HTTPS, but requested an insecure image ‘http://192.168.0.194/wp_011_lifestyle/wp-content/uploads/2017/03/47.jpg’. This content should also be served over HTTPS.

Failed to load resource: net::ERR_CONNECTION_TIMED_OUT
47.jpg

jquery-migrate.min.js?ver=1.4.1:1 JQMIGRATE: Migrate is installed, version 1.4.1

m.stripe.network/inner-preview.html#referrer=https%3A%2F%2Fwww.myanmore.com…9a3e-263c5d2206a4&sid=f8f523ec-38d9-41f6-ae0a-31496f7a40aa&preview=true&:1
Uncaught (in promise) undefined

Post count: 20688

Hi,

At the moment of inspecting your website these are the warnings I see
https://www.screencast.com/t/XFS1mFnHT4w
You can find out more about the Cloudflare warning in this topic
https://support.cloudflare.com/hc/en-us/articles/115004370247-Why-do-I-see-A-Parser-blocking-cross-origin-script-is-invoked-via-document-write-in-my-browser-console-
The other warning is related to an insecure image. Please check in the Theme panel->Background and remove the images or replace them in these sections
https://www.screencast.com/t/1FFn1lue
https://www.screencast.com/t/y7Cn2en4K0

Thanks

Post count: 2

Just installed the newspaper theme on fresh wordpress install (not locally). I too see errors for missing images in wp_011_lifestyle theme folder. Specifically called from css for the menu.

When I search google for anything similar I see a few other sites that have same issue in their css. All seem to be using this theme. One example I found is https://www.lgdestek.net/

See example source from rendered site:

.td-menu-background,
.td-search-background {
background-image: url(‘http://192.168.0.194/wp_011_lifestyle/wp-content/uploads/2017/03/47.jpg’);
}

.white-popup-block:before {
background-image: url(‘http://192.168.0.194/wp_011_lifestyle/wp-content/uploads/2017/03/2.jpg’);
}

Post count: 2

As a quick update. It came either with install of theme, or installing the lifestyle demo (I did with no content).
Edited with solution

I found it in the admin:
wp-admin > newspaper > theme panel > background > mobile-menu / search background. (also in the sign in / join section below it)

background image has “http://192.168.0.194/wp_011_lifestyle/wp-content/uploads/2017/03/47.jpg”

I removed and all is well.

  • This reply was modified 9 years by jcyr.
Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.