• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Re: File not on local disk?? [Branched from old topic]

New Here ,
Aug 09, 2021 Aug 09, 2021

Copy link to clipboard

Copied

So I move my code to my SSD and my css file is still not being found and live view is still broken.

 

TOPICS
Other

Views

290

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 09, 2021 Aug 09, 2021

Copy link to clipboard

Copied

I fail to see that an issue dating back eight years ago could be troubling you now. Please start a new discussiom and describe the problem that you have created for yourself.

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 09, 2021 Aug 09, 2021

Copy link to clipboard

Copied

[Posted in an outdated topic from 8 years ago.  Moderator branched & moved this to new topic.]

@ReedBHaslam,

So that we may better assist you, please answer the following questions:

  • Which version of DW?
  • Which operating system?
  • Are you working within a defined local site folder that resides on your primary hard drive? 
  • Does your CSS file reside in your local site folder?
  • Are you working with valid HTML & CSS code?
  • Can you show us the code you're working with?

 

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 10, 2021 Aug 10, 2021

Copy link to clipboard

Copied

Everything was working great until in updated to Dreamweaver 21.1, since then I've not been able to get a live view that works.

 

I tried going back to the last 20.x but somehow saw the exact same results, which made no sense to me.

 

Windows 10 version 21H1

Attached css file. Attaching html file resulted in 

The file type (.html) is not supported. Valid file types are: bmp, log, doc, docx, xls, xlsx, ppt, pptx, psd, indd, ai, pdf, prproj, xd, jpg, jpeg, png, tif, gif, crf, nef, dng, raw, x3f, cr2, xmp, mov, wav, mp4, txt, rtf, odt, epub, xml, pmd, fm, otf, ttf, otc, ttc, exif, raf, arw, srw, orf, nrw, crw, cr3, svg, eps, prc, ps, m4a, loss, flac, mp3, ses, csv, flv, fla, sol, ppj, css, json, abf, afm, pfb, pfm, act, ase, 8bf, as, jsfl, cel, psb, svg, idml, aep, sesx, prel, lrtemplate, obj, mpg, avi, stl, skp, fbx, abr, ico, xmp, scc, lrcat, icml, icma, chproj, wmv, arw, srt, swf, dn, cfc, cptx, ics.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 10, 2021 Aug 10, 2021

Copy link to clipboard

Copied

Did you restart your computer after updating to DW 21?

Did you Restore Preferences?

 

Can you copy & paste this code into a new, blank document to see if it displays on your system?

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.fluid {max-width:100%}
.thumb {padding:12px; box-shadow: 5px 6px 1px rgba(0,0,0,0.3)}
h3 {color:antiquewhite; background:brown; padding:1%}
</style>
</head>
<body>
<div>
<h3>Heading 3</h3>
<a href="https://example.com">
<img src="https://dummyimage.com/400x300" class="fluid thumb " alt="Placeholder" title="Example.com">
</a>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Perspiciatis velit minima hic tenetur ea nesciunt tempore voluptas, architecto obcaecati, iusto optio quidem explicabo odit expedita quas? Aliquam libero numquam nesciunt!</p>
</div>
</body>
</html>

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 10, 2021 Aug 10, 2021

Copy link to clipboard

Copied

Today I uninstalled Dreamweaver 2021 and 2020 leaving no Dreamweaver installed. I then re-installed Dreamweaver 2021  (21.1)

I directed the install to delete preferences.

Following that I did not restart

 

Your sample html file displays just fine.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 10, 2021 Aug 10, 2021

Copy link to clipboard

Copied

Validate your code and fix all reported errors.

HTML - https://validator.w3.org/

CSS - https://jigsaw.w3.org/css-validator/

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 11, 2021 Aug 11, 2021

Copy link to clipboard

Copied

So its well know that 2021.1 checks more of the content of html and css files than 2020.last? I did fix all css errors last night - no improvement.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 11, 2021 Aug 11, 2021

Copy link to clipboard

Copied

It CHOKED on 

 

<img src="../images/pandemic/Utah Weekly 7-day Moving Average 07-04-2021.jpg"  ...

After replacing spaces with "_," Live view came to Life!

 

Thanks for your assistance.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 14, 2021 Aug 14, 2021

Copy link to clipboard

Copied

One thing I forgot to mention - Before I applied the fix to the image src reference, the only thing the "Live" displayed correctly was the image itself. Go figure.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 14, 2021 Aug 14, 2021

Copy link to clipboard

Copied

Not too surprising given that "Utah Weekly 7-day Moving Average 07-04-2021.jpg" is an invalid file name in HTML5.  No spaces or special characters (%$#*&) are allowed in file names on the web. 

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 17, 2021 Aug 17, 2021

Copy link to clipboard

Copied

So my problem came down to the fact that I had an <img src="String with Spaces" ....> This error caused the live view to quit working. The strange part was that the only part of live view that did work was the image. It was nicely displayed, but the rest of live view was not displayed correctly or not at all.

Fixing the broken <img src="String with Spaces"..> returned Live view to work properly. 

It would have been nice if Dreamweaver had generated an error calling my attention to the problem.  It flags many other errors, why not this one.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 17, 2021 Aug 17, 2021

Copy link to clipboard

Copied

There are some things that code linting alone does not pick up. The Output panel does not report spaces as a problem, maybe because it's not a problem for all document types.

 

In any case, it's good practice to run code Validation frequently and especially when rendering is not as expected.

Window > Results > Validation > check current document.

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 22, 2021 Aug 22, 2021

Copy link to clipboard

Copied

Are you saying it is too complex for computer code to read the document type and then process document A differently from document B?

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 22, 2021 Aug 22, 2021

Copy link to clipboard

Copied

LATEST

3rd party Linters probably don't make such distinctions, it's all or nothing.  But feel free to submit a feature request to Adobe UserVoice where the product developers will see it. 

DW Help > Submit Feature Request.

https://helpx.adobe.com/x-productkb/global/how-to-user-voice.html

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines