Error 404 Not Found Minify - javascript

I try using minify version 2.1.3(old), because last version not working, when i try combine 3 js and refresh website, it's write 404 not found, i already try follow instruction from this youtube [ Minify ] Improving Performance - Part 2 but still not working.
location ex: C:xampp/htdocs/test/index.php.
location ex: C:xampp/htdocs/test/jquery-1.8.3.min.js.
location ex: C:xampp/htdocs/test/jquery-1.9.1.min.js.
location ex: C:xampp/htdocs/test/jquery-1.9.1.js.
and JS from : localhost/minify/builder/
<script type="text/javascript" src="/min/b=test&f=jquery-1.8.3.min.js,jquery-1.9.1.js,jquery-1.9.1.min.js"></script>
already try change the src to "/test/min/b=test&f=jquery-1.8.3.min.js,jquery-1.9.1.js,jquery-1.9.1.min.js"
404 not found it's write when i check the source code shift+ctrl +i same like this video(youtube start in 5:08)
Failed to http://localhost/test/min/b=test&f=jquery-1.8.3.min.js,jquery-1.9.1.js,jquery-1.9.1.min.js the server responded with a status of 404 (Not Found)
anyone know what wrong? thank you

Related

Vuejs Error while loading mediainfo.js package

We have one we application where we record video for 30sec or 1 min and submit to server. The device can be anything.
When we do record from laptop for 30sec the size of the video is 60mb, if from latest iphone size is 180.
Our server loads video if the video size is less than 60mb
to fix this issue, i tried compressing video in front end using this example enter link description here which uses vuejs.
We are using vuero framrwork.
Tsubasa enter link description here using mediainfo.js package. I followed same code but i am facing this issue..
The issue is :
MediaInfoModule.wasm net::ERR_ABORTED 404 (Not Found)
Could not load content for http://localhost:3000/node_modules/mediainfo.js/src/mediainfo.ts (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)
Please check screenshot
My nodemodule structure as below, plugin we have added in vite.config.ts file
I researched on this issue try to fix but no luck.
It's not possible to tell exactly what you need to change as we don't see the relevant code.
Make sure the file MediaInfoModule.wasm can be loaded in the browser. Check the browsers network tab. It tells you where your frontend expects the file.
Note, that you can also set the file location explicitly using locateFile as shown in this example.
Disclaimer: I'm the author of mediainfo.js.

jQuery Load doesn't works - Page Not Found 404

This is like 8 hours into this that I'm trying to fix it.
This might be a petty issue, but I'm not sure why in the world it isn't working.
I'm trying to refresh a div with jQuery.Load but it throws a weird 404 error. The page does exist and I'm not sure why it ain't taking it.
It was working well before when I hadn't added wordpress header files. Once I added them, it went haywire.
Here's my code
$( "#feed" ).load(window.location.href + " #feed" );
I've also tried this :-
$( "#tab1" ).load("http://example.com/community.php?#tab1" );
The JS code is written on the same file community.php
Here's the error :-
Failed to load resource: the server responded with a status of 404 (Not Found) community.php:1
All the examples I see have a space between the selector and the URL. Like so:
$("#tab1").load("http://example.com/community.php? #tab1");
Ref: http://api.jquery.com/load/ - "Loading Page Fragments"
Also, it seems problematic to load a fragment into a div that has the same id. If the space does not resolve the issue, try removing the #tab1 id from the page?
$("#tab1_target").load("http://example.com/community.php #tab1");
Also just noticing that ?... which seems odd as you are not passing any GET parameters. Not sure how well you copied your actual code into the question so this might all be moot.

I got this error failed to :http://premieroptie.nl/wp-content/themes/theme51771/favicon.ico load resource: net: :ERR_NAME_NOT_RESOLVED

when I open my website url is : computertechnet.nl and then right click on it inspect and the when I go to console tab I see this error:
failed to :http://premieroptie.nl/wp-content/themes/theme51771/favicon.ico load resource: net: :ERR_NAME_NOT_RESOLVED.
I see also second warning:
Google Maps API warning: SensorNotRequired: util.js:32
https://developers.google.com/maps/documentation/javascript/error-messages
how I can solve this 2 problems?
I have changed my domain name from premieroptie.nl to computertechnet.nl everything with old URL is cleaned by my provider and by me. There is no directory in my ftp server either in PhpMyAdmin with this old URL name I have just also cleaned favicon.ico from theme51771 . I don't need it .
thanks
johan
Your website favicon is linked with other website::http://premieroptie.nl/wp-content/themes/theme51771 that cant find resource of icon there, remove the favicon in your website

Getting WebAssembly running

I'm trying to get WebAssembly's polyfill-prototype-1 running:
I have a localhost running a .html file with only the basics ( ) and a call to loadWebAssembly() as specified in https://github.com/WebAssembly/polyfill-prototype-1/blob/master/README.md.
However, when I go to the page I get the error: "http://localhost/-username-/polyfill-prototype-1/undefined 404 (Not Found)" because packedURL in load-wasm.js is undefined, which as seen in the afore-cited link, seems to mean that step 2 in "How it (currently) works" (i.e. "The polyfill library starts up a worker containing asm.js code compiled from unpack.cpp concatenated with the glue code in load-wasm-worker.js.") Isn't being called/run/something
I've speculated that I'm not giving it the path to the code to convert or something, but I don't know how to do so.
What am I doing wrong/how do I get it to turn my c++ code into asm.js so it can continue to step 3?
Following this article for this GitHub repo running locally in c:\Inetpub\wwwroot\WASM\Index.html, in IIS I converted the directory to an application and get a 404 Not Found for squarer.wasm when browsing to http://localhost/WASM/Index.html
The error is shown in the Browser Developer Tools console:
HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier).
(Fetch)GET - http://localhost/wasm/squarer.wasm
To get rid of the 404 add a new Mime Type for Wasm, it's not currently in IIS 10 (or below).
Click Start > Run > type InetMgr > expand Sites > select the app > Mime Types > Add:
Extension: .wasm (dot wasm)
MIMEType: application/wasm
Ref: https://github.com/webpack/webpack-dev-middleware/issues/229

Undertermined Javascript Error

I have implemented the .NET Login functionality, and I am receiving a JavaScript Error whenever a User clicks on the Log-In Anchor Button to reach the Login.aspx.
This Anchor Menu Button is part of the CSS Menu which is defined within the Master Page.
When I run this locally, the error indicates:
'ddmegamenu' is undefined
However this script is defined within the MasterPage:
All of the sub-pages can see this script including the Login.aspx:
<script type="text/javascript">
ddmegamenu.docinit({
menuid: 'solidmenu',
dur: 200 //<--no comma after last setting
})
</script>
Here is the development site: http://www.virtualpetstore.com
The Login.aspx is within a seperate Account Directory, but I don't think this should be a problem.
If anyone can see this issue, I would really appreciate it.
You're getting the error because you're not properly referencing the JS files on the Login.aspx page. This is what the console says (in addition to the error that you posted):
GET http://www.virtualpetstore.com/Account/js/jquery.js 404 (Not Found)
GET http://www.virtualpetstore.com/Account/js/jquery-1.5.min.js 404 (Not Found)
GET http://www.virtualpetstore.com/Account/js/jquery-ui.min.js 404 (Not Found)
GET http://www.virtualpetstore.com/Account/js/jquery.serialScroll-min.js 404 (Not Found)
GET http://www.virtualpetstore.com/Account/js/ddmegamenu.js 404 (Not Found)
GET http://www.virtualpetstore.com/Account/js/jquery.scrollTo-min.js 404 (Not Found)
GET http://www.virtualpetstore.com/Account/js/jquery.simplemodal.js 404 (Not Found)
GET http://www.virtualpetstore.com/Account/js/jquery.cycle.min.js 404 (Not Found)
GET http://www.virtualpetstore.com/Account/js/jquery.actual.js 404 (Not Found)
GET http://www.virtualpetstore.com/Account/js/contact.js 404 (Not Found)
Ensure that your JS files are being loaded and your error will most likely disappear.
Hint: Your script tags should look something like this:
<script type="text/javascript" src="/js/ddmegamenu.js"></script>
The problem is simple, on Account/Login.aspx you try to include Account/js/ddmegamenu.js
but you need on this url /js/ddmegamenu.js

Categories