Trimming Site based on Senslight
Printed From: openElement Website
Category: openElement
Forum Name: Templates
Forum Description: Questions about templates? Sharing a custom template? Post here.
URL: https://forums.openelement.uk/en/forum_posts.asp?TID=1827
Printed Date: Mar 28 2024 at 7:22pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Trimming Site based on Senslight
Posted By: WattJet
Subject: Trimming Site based on Senslight
Date Posted: Apr 28 2021 at 9:05pm
Hi,
I completed the site based on senslite. I ran it through the browers and I see that although the site is simple and with no "heavy" files, now and then it takes some time to load. I checked through Google Chrome and I see the there are several files that are looked for but not found as follows: a) the font files font.awesome.css that I do not use (blocked. mixed content)
b) https://siteZZZ.com/undefined c) An image https://siteZZZ.com/Files/Image/sunrise-2148189_1920.jpg which I believe is an image from the original template (404 error)
How do I look for this errors?
|
Replies:
Posted By: Hobby001
Date Posted: Apr 29 2021 at 12:30am
a) ask brolysan, the issue is known and cause by https
The ZZZ issue seems to be caused by a refernce to an image that is not on your host. Without a link to te defective page I can't say any better
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: Hobby001
Date Posted: Apr 29 2021 at 12:55am
Hobby001 wrote:
a) ask brolysan, the issue is known and cause by https
The ZZZ issue seems to be caused by a reference to an image that is not on your host. Without a link to te defective page I can't say any better
|
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Apr 29 2021 at 8:56pm
The site is
https://datamilling.com/
I undertand that the site is looking for some images from the template which I have erased. The question is how I kill those references (since I do not need to put more images)
|
Posted By: Hobby001
Date Posted: Apr 30 2021 at 1:54am
Several alarm on your page but none about the picture
Failed to load resource: the server responded with a status of 404 (Not Found) tarteaucitron.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) (index):217 Uncaught ReferenceError: tarteaucitron is not defined at (index):217 (index):259 Uncaught ReferenceError: tarteaucitron is not defined at (index):259 (index):441 Mixed Content: The page at 'https://datamilling.com/' was loaded over HTTPS, but requested an insecure prefetch resource 'http://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css'. This request has been blocked; the content must be served over HTTPS. (index):441 Mixed Content: The page at 'https://datamilling.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css'. This request has been blocked; the content must be served over HTTPS. undefined:1 Failed to load resource: the server responded with a status of 404 (Not Found) sunrise-2148189_1920.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found) (index):1 Mixed Content: The page at 'https://datamilling.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css'. This request has been blocked; the content must be served over HTTPS.
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Apr 30 2021 at 4:39pm
Hobby001 wrote:
Several alarm on your page but none about the picture
Failed to load resource: the server responded with a status of 404 (Not Found) tarteaucitron.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) (index):217 Uncaught ReferenceError: tarteaucitron is not defined at (index):217 (index):259 Uncaught ReferenceError: tarteaucitron is not defined at (index):259 (index):441
Mixed Content: The page at 'https://datamilling.com/' was loaded over
HTTPS, but requested an insecure prefetch resource
'http://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css'. This request has been blocked; the content must be served over HTTPS. (index):441
Mixed Content: The page at 'https://datamilling.com/' was loaded over
HTTPS, but requested an insecure stylesheet
'http://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css'. This request has been blocked; the content must be served over HTTPS. undefined:1 Failed to load resource: the server responded with a status of 404 (Not Found) sunrise-2148189_1920.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found) (index):1
Mixed Content: The page at 'https://datamilling.com/' was loaded over
HTTPS, but requested an insecure stylesheet
'http://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css'. This request has been blocked; the content must be served over HTTPS. |
Yes, The errors are those that I pointed out related to:
a) a font that I do not use and it tries to prefetch somewhere b) an image from the template that I erased (but the css is still looking for) c)
The tarteaucitron cookie manager. The error lies in the second part of
the installation. To work properly there must be a 3rd party cookie so
that one can install the specific cookie routine as described in
tarteaucitron site.
So, my problem is how to find the code for those unwanted prefetch of image and fonts
|
Posted By: Hobby001
Date Posted: Apr 30 2021 at 5:17pm
WattJet wrote:
Hobby001 wrote:
Several alarm on your page but none about the picture
Failed to load resource: the server responded with a status of 404 (Not Found) tarteaucitron.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) (index):217 Uncaught ReferenceError: tarteaucitron is not defined at (index):217 (index):259 Uncaught ReferenceError: tarteaucitron is not defined at (index):259 (index):441 Mixed Content: The page at 'https://datamilling.com/' was loaded over HTTPS, but requested an insecure prefetch resource 'http://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css'. This request has been blocked; the content must be served over HTTPS. (index):441 Mixed Content: The page at 'https://datamilling.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css'. This request has been blocked; the content must be served over HTTPS. undefined:1 Failed to load resource: the server responded with a status of 404 (Not Found) sunrise-2148189_1920.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found) (index):1 Mixed Content: The page at 'https://datamilling.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css'. This request has been blocked; the content must be served over HTTPS. |
|
WattJet wrote:
Yes, The errors are those that I pointed out related to: a) a font that I do not use and it tries to prefetch somewhere |
The font issue comes from an element provided with the template that was designed for non https sites. Send a note to brolysan he use to have the replacement element.
WattJet wrote:
b) an image from the template that I erased (but the css is still looking for) |
This belongs to an element. Here is what it looks like in french (just double click on it):
https://zupimages.net/viewer.php?id=21/17/f3ef.png" rel="nofollow">
WattJet wrote:
c) The tarteaucitron cookie manager. The error lies in the second part of the installation. To work properly there must be a 3rd party cookie so that one can install the specific cookie routine as described in tarteaucitron site.
So, my problem is how to find the code for those unwanted prefetch of image and fonts |
I can't help on tarteaucitron
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Apr 30 2021 at 6:08pm
Thanks for that Hobby001
I went to the location you indicate ("Element background slider" in the english version), and there I have the image that serves at background of the site (and it is working well). There is not indication that it is looking for any other image
|
Posted By: WattJet
Date Posted: Apr 30 2021 at 6:26pm
Hi again, I created an image with the same name in bright colors, so I could see where it appears. It comes out in the page contact as background. I went through all the panneaux to see there it was being called and I did not find it. Where shall I look for the configuration that sets it as background to erase it? I basically want a white background
|
Posted By: Hobby001
Date Posted: Apr 30 2021 at 7:26pm
If you are talking about contact.htm, it's the background image for this element
https://zupimages.net/viewer.php?id=21/17/gtsg.png" rel="nofollow">
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: Apr 30 2021 at 7:44pm
Posted By: WattJet
Date Posted: May 01 2021 at 10:18pm
Hi Hobby001,
I received the files related to the awesome font. Where do I install them. In the base layer?
|
Posted By: Hobby001
Date Posted: May 02 2021 at 3:43am
Just drop them into the Common/Elements folder whitin your project
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: May 02 2021 at 8:13am
Thanks so much for your help The error issue with the font is now solved.
From the Firefox Web Developer tools > Error console > I get the following messages:
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" rel="nofollow - - jquery.min.js - :2:21
Some cookies are misusing the recommended “SameSite“ attribute 3
Cookie “__cfduid” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. https://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css" rel="nofollow - - font-awesome.css
Cookie “__cfduid” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. https://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css" rel="nofollow - - font-awesome.css
Cookie “__cfduid” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”. 2 https://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css" rel="nofollow - - font-awesome.css
Empty string passed to getElementById(). 4 https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.js" rel="nofollow - - jquery.js - :174:21
Source map error: Error: request failed with status 404
Resource URL: https://datamilling.com/WEFiles/EG/EGf8c88e12/Js/jquery.vegas.min-v81.js?v=50491126800" rel="nofollow - https://datamilling.com/WEFiles/EG/EGf8c88e12/Js/jquery.vegas.min-v81.js?v=50491126800
Source Map URL: vegas.min.js.map
I am not sure if any of thess represent any problem at all, but I just wanted to post them, to see if there is anything more to be done with the awesome font, as well as the other issues with the mapping ( particularly the deprecated use).
|
Posted By: WattJet
Date Posted: May 02 2021 at 8:50am
Another isssue that I tried to follow is a link on the "Contact" base
There are two buttons. The Button ES points to a page https://.....com/index.en-us.htm which does not exist.
I know how to change this and I go through all the process Base_Contact > BT_ES > Mainframe> OnMouseClick> Various > Configure > Select the Language (ES) > Homepage(Index).
When I do so, at the bottom of the config menu the "Html result" window shows "https://............com/index.es.htm" as it should, but when I click ok, the window on the right side of the screen still shows "index.us-en" and it points to the template original configuration https://..................com/index.en-us.htm
Also, if I directly write in the https window the ulr, it does not save it either. I've saved the page, run the maintenance routine and tried again, but I cannot make it save the new pointer.
This index.en-us was the default configuration in the template for all bases. I managed to change them all, but I cannot do the same with this one. Any clues of what I am doing wrong?
|
Posted By: Hobby001
Date Posted: May 02 2021 at 10:23am
Make a back-up of your site and then go to
Project Preferences
Maintenance
Rebuild pages and website link map
Execute
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: May 02 2021 at 10:35am
Hi Hobby001,
I follow that routine everytime I save the project. It does not fix this issue
|
Posted By: Hobby001
Date Posted: May 02 2021 at 10:40am
You also have to open each layer and save it to fully load the DLL
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: May 02 2021 at 11:08am
Done!
It works now, Thanks!
Last thing pending is an error that shows: Error 404
GET https://datamilling.com/undefined
How can I find which object , layer or file has that wrong instruction? I tried to search in the code ( Find ...) with no success
|
Posted By: Hobby001
Date Posted: May 02 2021 at 12:27pm
Get is a php method https://www.w3schools.com/tags/ref_httpmethods.asp" rel="nofollow - https://www.w3schools.com/tags/ref_httpmethods.asp
Are your pages htm or php ?
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: Hobby001
Date Posted: May 02 2021 at 12:29pm
What page generates this error?
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: May 02 2021 at 1:47pm
It appears in: - https://datamilling.com/contact.htm 2 errors
https://datamilling.com/none https://datamilling.com/undefined
- https://datamilling.com/What_we_do.htm 1 error
https://datamilling.com/undefined
- https://datamilling.com/Services.htm 1 error
https://datamilling.com/undefined
In all pages, and it seems to be linked to:
elem = document.getElementById( match[2] );
// Check parentNode to catch when Blackberry 4.6 returns // nodes that are no longer in the document #6963 if ( elem && elem.parentNode ) { // Handle the case where IE and Opera return items // by name instead of ID if ( elem.id !== match[2] ) { return rootjQuery.find( selector );
|
Posted By: Hobby001
Date Posted: May 02 2021 at 3:20pm
Looks like you deleted something else. The alarm does not exist on the remplate.
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: Hobby001
Date Posted: May 02 2021 at 3:25pm
If you only deleted images, bring them back one by one and check the result untill you find the one.
Otherwise what else have you deleted?
------------- https://denislafrance.net/index.en.php" rel="nofollow - https://denislafrance.net https://www.youtube.com/playlist?list=PLWg7A6YtIr7WE2oJe9pX8_3u0FerqJwjo" rel="nofollow - , OE training video
|
Posted By: WattJet
Date Posted: May 02 2021 at 3:29pm
I deleted text boxes, images, the discus chat, the form fields in the contact form both in Home page and in the contact page... many things, the whole lot.
It causes a minor delay, nothing big. I just wanted to see if I could trim and clean it.
Thanks for all your help
|
|