Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

How to debug this weirdness?

Posted on 2002-04-08
6
Medium Priority
?
199 Views
Last Modified: 2010-04-25
New to DW.  Everything's been going fine for a couple days, but all of a sudden, things got screwed up.  Symptoms: I'm using a template for all my pages.  If I bring up any given page, and "preview in browser" it looks fine.  However, if I then click on any link within my site, when the new page comes up, the "template portion" of it is all screwed up -- wrong font sizes, missing GIFs, etc.  It had all been working just fine.  

So how to I try to figure out the problem?  Thinking my template file was 'corrupt', I found an older saved one, brought it back, re-saved all pages using it -- but still have the problem.  Weird thing is that, as I say, any given page can be previewed fine -- its something wrong with switching to a new page, which should use the same template, but when the new page comes up, its screwy.

Thanks....
0
Comment
Question by:tullhead
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 19

Accepted Solution

by:
webwoman earned 600 total points
ID: 6925990
How familiar are you with HTML/saving/paths/file management?

My thought is that you saved the file to another folder, and the paths are wrong. Or you've got absolute paths specified, rather than relative. Of course, without seeing the code and your file structure it's hard to tell. And it's impossible to tell how you've set this up -- styles/no styles, absolute/relative paths, site defined correctly/not defined at all, etc. All of which can have a drastic effect on what DW shows you.

While DW is a nice tool, it's still only a tool. Just as you don't gain the skills to build a house just by buying good tools, you don't suddenly become a web developer just by opening DW.

Turn on code AND design view (my gut feeling is that you're working strictly in design view), look at your code. If you don't know HTML, this is the time to start learning. If you haven't defined the site, do so. DW needs that to work correctly. Don't depend on the view it shows you -- it's WOEFULLY inadequate.

DW is just a tool. It's only going to do what you tell it, to the limits of its ability. And it's definitely got limits. ;-)
0
 

Author Comment

by:tullhead
ID: 6926019
Thanks for your comments.  Here's what I've recently
discovered, but still don'thave solution for....

I've set up two sites 'webgood' and 'webbad' -- the folders
and all there contents are identical copies of one another.
Now in DW, both work fine intially.  Now I edit the template in 'webbad' and when I save it, I let DW update all the pages that use it.  Now I find that 'webbad' is screwed up - in preview mode when you mode from page to page, things are screwed up.  'webgood' is fine.

Now I use windiff to compare files in these two folders.
The template file looks fine (just one character changed,
as I had edited).  But the pages using the template are all different.  As you surmised, everyplace a pathname appears, it is different in 'webbad' as compared to 'webgood'.  For example, in one file its '../products/foo.htm' and in the other its 'products'foo.htm'

But I still don't know how to solve it.  I had used DW for
days just fine -- so I must have inadvertently flipped some setting, or....?  

You suggest making sure my sites are properly defined -- so I'll go look at that again.

Any ideas based on this info?
0
 

Author Comment

by:tullhead
ID: 6926039
Just tried one more thing: freshly installed DW on another
computer and moved 'webbad' and 'webgood' over there.  Repeated same test - everything works fine on this computer -- I can't make webbad get screwed up.

So, it seems kinda drastic, but how about if I reinstall DW on my main computer?

0
How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

 
LVL 19

Expert Comment

by:webwoman
ID: 6926371
You shouldn't need to. Recalculate the site cache. Also, make sure you don't have any spaces in folder/file names. That tends to screw things up too.
0
 

Author Comment

by:tullhead
ID: 6926504
Well, I was desparate so I re-installed DW and
now all is happy again.

Thanks for helping.
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6926749
Well, at least it's working! It was definitely a weird problem! ;-)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

647 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question