Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
It is problem of something like data not update and represent on web page.
I have an a webpage where the system of service update and delete happen . 
It is made in HTML,CSS,PHP.
last time when I delete an row and update the table.the overall HTML Table shifted to on column. All content is get shattered every where. Dont know is this any data updation problem means data is not fetch after update from server or any coding problem.
Because some day before it work fine without any change
<pre><a href="https://raw.githubusercontent.com/LR-AJ/error/master/error2.jpg"></a>

<a href="https://raw.githubusercontent.comLR-AJ/error/master/error2.jpg"></a>
<a href="https://raw.githubusercontent.com/LR-AJ/error/master/error.jpg"></a>


What I have tried:

I have Check my console.there is only warning is shown here. like some resource is not founded.
I also try in incognito mode to avoid interaction of chrome extension
Seen Source file in network tab. Check Ping test for server Respond
Check any error in fetch content but it is not working



Please check these link where the error image in site
Error in Console

moment.min.js:6 Deprecation warning: moment().subtract(period, number) is deprecated. Please use moment().subtract(number, period).
DevTools failed to load source map: Could not load content for https://xyzhidden.com/assets/css/material-kit.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Posted
Updated 27-Feb-23 1:06am
v6
Comments
Richard Deeming 27-Feb-23 5:42am    
So you have a problem you can't describe clearly, in code we can't see, running on a server we can't access, and you want us to tell you how to fix it?

That's not going to work. Click the green "Improve question" link and update your question to include a clear and complete description of the problem, along with the relevant parts of your code.
Legalraasta tech 27-Feb-23 6:00am    
Thank you for interect with my question. Due to some constraint I cant show but i have uploaded the Console error. I also want to share photo of them to make more clear but here is upload system here .Please try to debug or help me in them explaining
Legalraasta tech 27-Feb-23 6:11am    
I have added link for error image you can go there and have a look of i am facing right now.
OriginalGriff 27-Feb-23 6:28am    
Nobody here is going to follow random links to who-knows-what.

If you want help, we need to see the actual code - the error message is self explanatory, but the reasons why are hidden in code we can't see.
Show us the relevant code fragment(s) or we can't help.

1 solution

Firstly, your moment.min.js is outdated hence the first WARNING, not an error.
Update your .js file, the latest can be found here - Latest Moment.js File[^]


Your real error is in Could not load content for https://xyzhidden.com/assets/css/material-kit.css.map, you have made a reference in your code(which we cannot see) to this map file.

Error 404 means "file not found". Check the path reference to the file and correct your code to read from this file at the correct path.

As this is a site map file that is missing or misplaced, there are a few work-arounds to solve this error -
1. Leave it as is with tons of 404 errors on page load. Very bad idea.
2. Add the outdated missing .map files to the correct folder/s, not really the best solution.
3. Remove the //# sourceMappingURL=material-kit.css.map lines from all minified(.min) JS files. That means we are not deploying with original/latest file versions. It might be a reasonable solution for now, future is unknown.
4. Download the latest site map files needed, save them in the correct folder/reference them directly to the site supplying the .map file -
<link rel="stylesheet" type="text/css" href="path/to/material-kit.css">
    <link rel="stylesheet" type="text/css" href="path/to/material-kit.css.map">


Check the "path/to/" parts to ensure you have the correct paths specified, whether in your own folder system or the correct https: path.
 
Share this answer
 
v3
Comments
Richard Deeming 27-Feb-23 6:58am    
Even that's not the real problem; failure to load a source map file wouldn't cause any problems with the page, only with debugging it.
Andre Oosthuizen 27-Feb-23 7:23am    
Thanks for the comment Richard. I actually did a thought process and some "googling", I have updated my answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900