Solved

How to debug this weirdness?

Posted on 2002-04-08
6
189 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
  • 3
  • 3
6 Comments
 
LVL 19

Accepted Solution

by:
webwoman earned 200 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Dreamweaver CS6 FTP issues 12 1,309
What's Centering My Images ? 10 309
Debug PHP with Dreamweaver 6 773
Adobe Indesign CS6 4 120
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 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