Phantom code, See code in browser but not in filemanager

Hi,
i have a problem with website. I first wrote some (shitty) code and then i deleted it (because it was shitty!), but when i entered the website the code is still there. So when i looked into the file with an filemanger, the lines i’ve deleted aren’t there (as i want), but when i entered my website and view the source code in the browser, there are still the lines (i should have deleted) there.

Is that a Problem on the hoster side? Mabye with cathing or so on? Because i tried it on serval browsers and clients and everythere the same result: The Right code in the file, but not in the browser.

By the way, my username is “epiz_25706015” and the main domain of my website is https://chickentom.ga

I appreciated every help.

Thanks

The first step to take is to clear your cache. F5 or Fn+F5

Yeah thanks for the answer. What do you mean the browser cache? If it is the browser cache i’ve done it already

Is it meant to look like this?

Google Browser Caches.

CTRL+H > Clear Browsing Data > Advanced(Check all the Boxes) > Clear Data

yeah on the main webpage there are no errors, but on follwing page https://chickentom.ga/tests/newerror/ when you open the form01.js in the browser, there shouldn’t be some console.log commands (i deleted that in the monsta ftp manager), but in my case there are some displayed in my browser. I’ve already had this problem today and only solved it by downloading the file, change the filename and reupload it.

I Have no Clue what i should, but i hope someone of you can tell me that.

Yeah i’ve already done this, thanks for the request.

I get this:


There’s no errors on the console.

Do you mean this?

Yeah on the last picture, when you scroll down, you should find some console.log commands, or?

No? I only got this:

  document.onkeydown = function(evt) {
    evt = evt || window.event;
    if (evt.keyCode == 32) {
        var box = document.getElementById("messageBox");
        box.style.visibility="hidden";
    }
};
        
$(document).ready(function (){
    $('#submit').click(function(e) {
        var postdata=$("#formlogin").serialize();
    $.ajax({
        type: "POST",
        url:  "https://chickentom.ga/Android/Android01/login.php",
        data: postdata,
    })
    .done(function (msg){
        if(msg=="sucessful"){
        document.getElementById("login").style.display="none";
        if(confirm("Du wurdest erforlgreich eingeloggt. Möchtest du deinen Highscore zu deinem Konto hinzufügen?")){
            alert("Hallo");
        }
        }else{
        alert(msg);
        }
    });
});
});

No other thing, I can’t see any console.log command or texts.

Ok thanks for your answer, so i see i’m the problem. I’ll have to fix the problem.

Thanks for all your answers and for your efforts. and i’m very sorry that i wasted your time with such an silly problem.

1 Like

Nahh, it’s okay, we’re glad to help you out! Let us know if you still had a problem and need our help!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.