I'm suddenly getting a 404 error on the file undefinedpageWebRequest.js file my website tries to load. I have no idea what the .js is for, why the 404 is showing up (I didn't delete any files from FTP?) and I also can't find anything about the file on Google.
Also when I run my page through Google Mobile tool I get about 6 errors. How can I go around and fix this? I have no idea where to begin in the first place.
https://search.google.com/search-console/mobile-friendly?hl=nl&id=FjRctNhGZy3ybi6o1aAmug&view=fetch-info
Website URL: www.melvinosenga.nl/home
The .js file your webpage is loading is the following one:
https://www.smartsuppchat.com/loader.js
And I guess it is a requirement for a plugin you have installed in your Wordpress site, which is most likely dead.
If you are not using the plugin you should uninstall it, and if it doesn't work you can search for the line where it is called in the headers and remove it by-hand(not very neat, I would do this as a last option).
In the other errors you have there is a Image error and some missing fonts, you should check that and refill the fonts that are missing.
Let me know if I can help you in any of this procedures.
Related
I am trying to use the following script for a halloween effect tomorrow : https://auz.github.io/Bug/
The problem is that it keeps searching for the files in the HOME directory (mysite.com/fly-sprite.png)
I am using wordpress multisite and have all sorts of changes in my htaccess file.
Despite changing imageSprite: 'fly-sprite.png' to 'mysite/flysprite.png' I am still stuck with console 404 errors pointing to the home directory to look for these files.
How can I edit the Javascript to use an absolute URL?
https://jsfiddle.net/3pfcdb97/
After an automatic WordPress update the plugin forms (Contact Form 7) now display a slash just below them and are no longer firing the wpcf7mailsent listener event, so it is no longer being redirected to the thanks page after submitting the form.
This error: “the server responded with a status of 409 or also known as net :: ERR_ABORTED 409” from what I see is a problem loading styles.css and scripts.js files.
This must be the reason why it is not issuing the wpcf7mailsent listener event and a slash just below the forms.
Strangely if on the same page I manually click and open the styles.css file via URL, the file starts to load on the page and it stops showing that bar just below the form.
For this reason I am saying that you are not loading the styles.css and scripts.js files, as they do not even appear in the uploaded files folder, just after I open them by URL.
Here’s the test I did to show it:
The error happening:
https://ibb.co/Vvm8jwG
Did not load CSS file and JS file:
https://ibb.co/kHszgW9
After I open the CSS style link that says it didn’t load:
https://ibb.co/FXcLRXQ
https://ibb.co/997nMgK
You no longer see the error that you did not upload the CSS file and now the file has been uploaded to the folder showing the contents. The same will happen with the JS file if I manually load it as the CSS file.
https://ibb.co/jGPQ2MH
https://ibb.co/chVjRTQ
What I already tried to do to fix, but it didn’t work:
– I disabled several plugins
– I updated the plugin
– I reinstalled the plugin
– I tested in other browsers, the error persists
Other sites with Contact Form 7 are also experiencing the same.
Environment Settings:
Theme: Javelin
WordPress: 5.2.4
PHP: 7.1.24
Hosting: Hostgator
The page I need help with: https://verdecia.com.br/central-de-atendimento/
For anyone who is facing this issue, this is a known issue in bluehost and hostgator hosting. Basically the root reason for this seems to be that they are blocking image/js/css or other assets in any path with contact string.
The reason that contact form 7 assets are randomly blocked is probably also due to this same reason.
I had html websites running on my server where contact (or any other) page with assets in for example /images/contact/ folder also did not load with 409 conflict error, due to the contact path in the assets folder.
Unfortunately I found no solution to this just like many many users out there. Check out these links:
Link 1
Link 2
What is the solution?
Well wasting time with hosting provider support is of no use. I just use
hostgator/bluehost for development purpose. There are many hosting providers out there,
so next time you can choose some other one, especially for live websites.
For custom websites, avoid naming your assets folder to anything that has contact in it.
For CF7 in wordpress stop loading the assets in wp-config file using define( 'WPCF7_LOAD_JS', false ); define( 'WPCF7_LOAD_CSS', false ); and manually load the files in the header by separately downloading the files and importing them.
EDIT:
I have been using a simpler fix recently when using CF7, just rename the plugin folder from contact-form-7 to anything without contact keyword, like cf7. This will start loading all assets without the conflict.
I have been coding up a localhost, and I made the localhost by using of course a JavaScript file to do so, and I then made it reference an HTML file. However, I noticed that when I am using localhost to serve up the HTML file I get this error:
"GET http://localhost:3333/filetesting.js"
The filetesting.js is that js file, there are also other things I'm referencing too, like websites. I'm referencing it by using script tag src.
I looked at the network on developer tools of it and it says it's a 404 error not found. I'm trying to figure out how to reference my script tag src's without having localhost:3333 go before it.
When I run the HTML file without using the localhost, it works just fine when it comes to the script tag src's. If you do not entirely understand what I'm asking for, just ask.
Assuming that your script will always reside in the root level of your website, you can simply target it with the root-relative prefix /:
<script src="/filetesting.js"></script>
This will load your script from the root, regardless of the site the file is hosted on. For example, on http://localhost:3333/ it will load the file from http://localhost:3333/filetesting.js, and from http://localhost:3333/folder/, it will attempt to load the file from the same location.
If you move your files over to a proper website, it will still work the same way: www.example.com will look for the file at www.example.com/filetesting.js, and www.example.com/folder/ will look for the same file at www.example.com/filetesting.js.
Hope this helps! :)
Background:
I have a html and javascript program with which I want to use to get data from an excel file (file is located on my computer, in the same folder as my code and file type is csv although ideally I'd rather read xlsm if possible however I suspect csv is easier). I then want to be able to use this data to do a bunch of things. Ideally I want to be able run this in an iframe within a google earth (the desktop application) bubble however getting it running in any one browser would be okay. So far I have been trialing it in Chrome, IE, and an iframe in Google Earth but I've run into problems.
So apparently even though these files are on my computer in the same folder as my html and javascript this is considered a cross domain request. I am unable to change the server in any way and I have heavy restrictions on what I can download to such an extent that you can just assume that downloading something is not a solution. Doing some research I came across JSONP so I have been trying to use this method to get the data. However I'm running into issues trying to get it working and I'm not sure why.
Code:
This is the relevant code in my html file:
<script type="text/javascript" src="file:\\\O:\user name\folder name\filename.csv?callback=mycallback"></script>
Error:
This is the error I get in Chrome:
Failed to load resource: net::ERR_FILE_NOT_FOUND file:///O:/user%20name/folder%20name/filename.csv?callback=mycallback
I am not sure why the file is not being found. Any suggestions? I was wondering if the spaces in the foldernames are causing the issue? I hope this is not the case as I am unable to change the "user name" folder name to not have a space :-/. Thanks for any help.
I made a simple website. The site is fully functionable in my localhost (my computer). Everything working fine here.
But problem arises when I upload the files into the web server in order for running that in public domain. There, no content is showing except the layout. No link or tab is working, no paragraph inside the body is displaying. You may have a look here.
For what reason?
I uploaded all the files (with source code) associated my website except the images and videos (since there are a lots of images and I will upload it a bit later).
[NOTE: I have xampp local server installed in my computer. All the
sourse codes files are stored inside the htdocs folder. Inside the
htdocs folder I have a folder named jquery(which was installed with
the package). I saved my .JS file inside the JQuery folder (since I
used jquery code too). So when I upload file into the server do I need
to upload the whole htdocs folder? Or how about the JQuery folder
(which contains the JQuery source code)? Do I also need to upload it?
My paths set are the following:
C:\xampp\htdocs\jquery [contains the whole project's source file]
C:\xampp\htdocs\jquery\js [Contains only JavaScript&JQuery file]
If you inspect your page and look where you expect the content to be, you'll find <div id="home">. Looking at the CSS for this, it shows line 258 of your css file has this:
#all_contents >div {
display:none;
}
This is causing all of your contents to not display. Removing this will fix the problem.
Also, if you look on the browser's console when your page loads, you'll notice a lot of 404s trying to load various scripts, stylesheets, and images. That's potentially contributing to the problem. I'd focus on fixing those first, to make sure everything is loading properly.
I tried debugging the HTML on your website. I found the following code in design.css at line number 258
#all_contents >div {
display:none;
}
Once you remove this(display:none), all the content is available on the website link that you shared.
Also, I am not sure why this is working on your local. Are you sure that you have uploaded the same version which is running in your local?
You can debug your webpage by pressing F12 and then selecting the problematic area. On the right hand side, you can see the css rules associated with the selected element.
For getting the specific content in a page and not all, create a new file by the name who_im.html and put your content over there and then You should do something like
About Me
Like this you will have to make other pages as well and add the hyper links to the menu in every page.