Solved

How to debug this weirdness?

Posted on 2002-04-08
6
188 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

914 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now