Website won't update to new files

dsmprotocol.com

I have changed some files in the File Manager, and i’ve cleared all my caches, but the new files wont show on the website, and when i inspect element, it still shows all the old files even though ive deleted them from the file manager.

How can i get my website to update to use the new files? It’s not a caching problem, it just seems that the file manager isn’t updating the site, and even if i use a third party file manager, the site still won’t update to show the new site, it still is loading the old one.

Please help, thanks in advance


is this your new code?

1 Like

If you updated the files over FTP, the issue is cache. Note that it might not be your browsers cache, it could also be your computer, network, or your ISPs cache.

3 Likes

It might be, the old code just had the picture fading in, but the new code has the picture doing an animation, which one did you see?

It fades in for me. If that is the action of the old code, then you must not have uploaded the correct files to FTP.

2 Likes

I have uploaded the right files to FTP, i promise I’ve checked a bunch of times, all of the files are the correct files. I even deleted the picture file for the fade in and completely changed the html code, but it still isnt working

i get this image fading in

It’s supposed to do an animation for the logo… but it still does the old file where the logo just fades in

this is the source code I see on the page

<html>
<link rel="stylesheet" href="fade-in.css">
<link rel="stylesheet" href="countdown timer.js">
  <head>
    <title>
        DSM Protocol
      </title>
</head>
  <body style="background-color:black;text-align:center">
	<div class="fade-in">
		<img src="DSM black background logo.png" alt="DSM Logo" style="width:1000px;height:1000px;">
		<!--img src="\Users\derek\Downloads\DSM words white.png" alt="DSM words" style="width:1000px;height:1000px;"-->
		<p style="font-size: 80px; color: #FFFFFF" id="demo"></p>
		<script>
// Set the date we're counting down to
		var countDownDate = new Date("May 14, 2022 12:00:00").getTime();

// Update the count down every 1 second
		var x = setInterval(function() {

  // Get today's date and time
		var now = new Date().getTime();

  // Find the distance between now and the count down date
		var distance = countDownDate - now;

  // Time calculations for days, hours, minutes and seconds
		var days = Math.floor(distance / (1000 * 60 * 60 * 24));
		var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
		var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
		var seconds = Math.floor((distance % (1000 * 60)) / 1000);

  // Display the result in the element with id="demo"
		document.getElementById("demo").innerHTML = days + "d " + hours + "h "
		+ minutes + "m " + seconds + "s ";

  // If the count down is finished, write some text
		if (distance < 0) {
			clearInterval(x);
			document.getElementById("demo").innerHTML = "EXPIRED";
		}
		}, 1000);
		</script>

	</div 
	

	
    </body>
  </html>

it looks like the video .mp4 line is missing

yeah i know, thats the problem, thats not the source code i have uploaded to the File Manager. This is what it should be:

the source code youre looking at is the old one, i just uploaded the new one taken straight from my file manager

DSM Logo Animation
This is the animation that it is supposed to do, i had to convert it to gif to post here, but in the code its an mp4

hmmm strange, silly question please dont kill me but you are uploading to /htdocs right ?

yeah haha

can you take a screenshot of the file manager :smiley:

1 Like

hmmm

ok I see you have both epizy and byet name servers that could be the issue

well it might not be the issue but it will cause confusion XD

image

check in your control panel in addon domains it’ll say which name servers you need to be using