luni, august 21, 2006

HomeSite + Crashes + Frozen + not responding

You use HomeSite sometimes, eh? HomeSite has a little problem that is really annoying. Don't get me wrong, I love HomeSite. I use it all the time. But sometimes when I am working on files in my dev environment, using HomeSite's FTP and RDS features, I press Save and ZAP! Frozen.

More annoying than that is whatever file you were trying to save has been overwritten on the server by a BLANK FILE! Shutting down HomeSite using Task Manager is pretty much your only option. But then you lose the file forever, and it may be a file that you have been debugging all day or for the last n hours, and you need this file and it's completely GONE. 0kb, the server tells you. What now?

Luckily, HomeSite keeps a backup of your work. Well, kind of. When you notice that HomeSite is frozen, DO NOT end the program using Task Manager. Let it sit frozen while you do this:

1. Search for a file called 'filename000.ext', substituting your file name instead, so if you were working on index.php or default.asp, you will search your computer for a file called 'index000.php' or 'default000.asp'. [Those are ZEROs, not letter Os.]

2. Open that file, and save it to your desktop or somewhere safe.

3. Use TaskManager and close HomeSite.

4. Re-open HomeSite.

5. Re-Open the file on the server that is now shockingly 0kb. [zero kb]

6. Open the safe copy of the file, and copy all of the code over.

7. Save again. Rinse, repeat (and you may have to repeat!).

That is all.

Niciun comentariu:

Despre mine

Timi-Ostravia, Republic of Czedvia, Bulgaria
I make web applications. The tools I use are many and far between. I have been maining to learn Ruby and Python, and Perl. These tools are all like Lego to me. They can all be make to build things and have their strengths and weakest.