Home > Build Season, Web Design > RIP Team1504.com

RIP Team1504.com

January 21st, 2010 web Leave a comment Go to comments

Well, our website committed suicide today. In more proper terms it became corrupt and ate itself alive.

For anyone who understands linking to files here is a quick summary of whappened (what + happened).

When the website was handed over to me, the server was organised into folders. These folders were the names of the programs in Adobe CS4 because that is what opened them. So the homepage was in team1504.com/Dreamweaver/html/index.php

I extracted all the contents out of the ‘adobe-name’ folders and moved all our pages out into the root dir (team1504.com/) so that it could function as a website.

All was well until I started changing the the content and realized that all our pages were not linking to the content I extracted, but to those in the Adobe folders.

index.php was looking for the team-logo in Dreamweaver/media/img/team/penguin.png

Not media/img/team/penguin.png

All of the content had was doing this and when I erased the ‘adobe folders’ on my test server, the website died. It could not find the content, template, css, or php.

I had changed all the links so that it searched for the content in the proper location, but Dreamweaver did not like that and kept the old links.

I uploaded an old backup to the real server, but if you see any problems this is why.

Now I have to change the links manually because Dreamweaver doesnt want to. There aren’t only a few links, by the way. I’m making an educated guess when I’m saying that there are 100+ links I have to retype.

Well, I’d better get to work!

Categories: Build Season, Web Design Tags:
  1. Peter VandeHaar
    January 21st, 2010 at 21:40 | #1

    Had you copied everything straight from the “Dreamweaver/” directory to the “/”? If so, (I think) you could use a mass-find-and-replace tool to change “href=Dreamweaver/” to “href=” . Either way I’d use Python scripts to change it, just because I cannot stand typing the same thing multiple times multiple times.

  2. January 21st, 2010 at 21:46 | #2

    I used the find-and-replace tool in Dreamweaver.
    It doesn't work.
    So the href is now “/media/team/penguin.png”, but Dreamweaver just doesn't like it. It says that it can't find it. However, when I delete the src park of the <img> tag then retype src, Dreamweaver offers to allow me to browse my site and look for it. When I point Dreamweaver to the /media/team/penguin.png in Dreamweaver's file-browser then it says, “Okay”.

    So I'll have to do that a hundred times!

  1. No trackbacks yet.