Solved

How to debug this weirdness?

Posted on 2002-04-08
6
187 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 19

Expert Comment

by:webwoman
Comment Utility
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
Comment Utility
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
Comment Utility
Well, at least it's working! It was definitely a weird problem! ;-)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Hide/ show a recordset row item 6 450
SWF won't scale? 4 517
can i use dw to modify this site 1 302
Need graphics tool to create card game 2 77
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…
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

16 Experts available now in Live!

Get 1:1 Help Now