Solved

How to debug this weirdness?

Posted on 2002-04-08
6
191 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 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
Spry missing in DWcc 6 324
Read More links 12 370
Editing PHP within Adobe DreamWeaver 11 188
Error pops up while using DWCSS 2015 11 166
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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