Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Website loading deleted file

Working on this website I was going to add a simple .hide(); and onclick animate(); functions to a menu, but the menu div wasn't closed (stupid mistake). When I upload the file to the live website it hides everything in the website cause of the open div tag, obviously I fix it and also delete the jQuery function but when I upload the file to the FTP the website is still showing the old file for some reason.

More info: I already deleted the cache/cookies/history off this computer and reloaded the page and re uploaded the file. Also tried in 4 different computers with 3 different IPs I did a search of all the files and the code is not there anymore. Deleted the directory and it still shows up.

like image 900
Baruch Avatar asked Jan 24 '26 17:01

Baruch


1 Answers

As i can suggest from your question, i can say its a stupid mistake. Happened to me a few times.

I would try the following:

  1. Make a working folder of your "new" website - locally
  2. Delete EVERY file and folder from your server (of course only your whole website)
  3. Get sure that nothing is displayed when you open it at the browser, should be fail
  4. Now load your local folder completely to the new, empty space at your FTP
like image 182
ohboy21 Avatar answered Jan 28 '26 05:01

ohboy21



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!