![]() |
![]() |
||||||
|
|||||||
| Tags: cs3, cs4, os1054, path, preview, url, wrong |
![]() |
|
|||
|
First, I did a rather extensive search within the archives for this before
posting but, at least in my searches, could not find any previous posts that addressed this. I know what is happening I just don't know why. I am working with a very simple static site. I've set up the path in the site manager so that the root path is as follows: /Users/phoppes/Documents/Development/Training/Drea mweaverCS3/testsite Links are relative to Document and I have enabled the cache. This happens for both CS4 or CS3. If I create a simple one line html file and hit preview, Firefox opens up but the path in the URL is as follows: file:///System/Users/phoppes/Documents/Development/ Training/DreamweaverCS3/tests ite/test.html I get the "File not Found" message: Firefox can't find the file at /System/Users/phoppes/Documents/Development/Traini ng/DreamweaverCS3/testsite/tes t.html. My HD on my Mac is named System. Obviously something inside of DW is attaching the /System to the front of the URL to open Firefox. If I go into the URL tab in Firefox and hack out the /System, the page is found and displays correctly. If I try to redefine the site root in the Site Manager with the /System in the front DW does not like this. It complains it cannot find the path as I believe DW is appending /System to the front itself so the path becomes /System/System/Users/.... which is incorrect also. I can work around this,....I have to hack the url every time I do a preview but it is a PITA and I'd like to not have to do this if possible. Any help would be appreciated. PS - Not sure if this is causing it but I do have a custom /etc/hosts file on my machine. The top looks like the following: 127.0.0.1 localhost 255.255.255.255 broadcasthostt ::1 localhost Following this line are static IP's for machines on my local network. This machine is networked via DHCP so there is not a listing for this machine in the hosts file. |
| Sponsored Links |
|
|||
|
What is in the HTTP address field of the Local site definition?
-- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "rimcrazyph" <webforumsuser@macromedia.com> wrote in message news:ga1b8i$l8q$1@forums.macromedia.com... > First, I did a rather extensive search within the archives for this before > posting but, at least in my searches, could not find any previous posts > that > addressed this. > > I know what is happening I just don't know why. I am working with a very > simple static site. I've set up the path in the site manager so that the > root > path is as follows: > > /Users/phoppes/Documents/Development/Training/Drea mweaverCS3/testsite > > Links are relative to Document and I have enabled the cache. This happens > for > both CS4 or CS3. If I create a simple one line html file and hit preview, > Firefox opens up but the path in the URL is as follows: > > > file:///System/Users/phoppes/Documents/Development/ Training/DreamweaverCS3/tests > ite/test.html > > I get the "File not Found" message: > > Firefox can't find the file at > /System/Users/phoppes/Documents/Development/Traini ng/DreamweaverCS3/testsite/tes > t.html. > > My HD on my Mac is named System. Obviously something inside of DW is > attaching the /System to the front of the URL to open Firefox. If I go > into > the URL tab in Firefox and hack out the /System, the page is found and > displays > correctly. If I try to redefine the site root in the Site Manager with > the > /System in the front DW does not like this. It complains it cannot find > the > path as I believe DW is appending /System to the front itself so the path > becomes /System/System/Users/.... which is incorrect also. I can work > around > this,....I have to hack the url every time I do a preview but it is a PITA > and > I'd like to not have to do this if possible. > > Any help would be appreciated. > > PS - Not sure if this is causing it but I do have a custom /etc/hosts file > on > my machine. The top looks like the following: > > 127.0.0.1 localhost > 255.255.255.255 broadcasthostt > ::1 localhost > > Following this line are static IP's for machines on my local network. > This > machine is networked via DHCP > so there is not a listing for this machine in the hosts file. > > > |
|
|||
|
"rimcrazyph" <webforumsuser@macromedia.com> stated in post
ga1b8i$l8q$1@forums.macromedia.com on 9/7/08 12:49 PM: > First, I did a rather extensive search within the archives for this before > posting but, at least in my searches, could not find any previous posts that > addressed this. > > I know what is happening I just don't know why. I am working with a very > simple static site. I've set up the path in the site manager so that the > root > path is as follows: > > /Users/phoppes/Documents/Development/Training/Drea mweaverCS3/testsite > > Links are relative to Document and I have enabled the cache. This happens > for > both CS4 or CS3. If I create a simple one line html file and hit preview, > Firefox opens up but the path in the URL is as follows: > > > file:///System/Users/phoppes/Documents/Development/ Training/DreamweaverCS3/tes > ts > ite/test.html > > I get the "File not Found" message: > > Firefox can't find the file at > /System/Users/phoppes/Documents/Development/Traini ng/DreamweaverCS3/testsite/t > es > t.html. > .... > > > Is "Preview using temporary files" checked in your "Preview in Browser" preferences? If so then uncheck it. -- God made me an atheist - who are you to question his authority? |
|
|||
|
Do you have a <base> tag in the page?
-- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "rimcrazyph" <webforumsuser@macromedia.com> wrote in message news:ga1c69$m3i$1@forums.macromedia.com... > It is simply the default: > > http:// > > Also test and remote severs are set to none. |
|
|||
|
Nope. Just the standard blank html that DW creates with the following body:
<body> What is this </body> I subscribe to lynda.com and was going over the tutorial. I notice in the tutorial the are using WinXP and what appears to be Tiger with CS3. When the site is setup on windows the path to the root is: C:\Documents and Settings\.... On the Mac it appears Macintosh HD:Users:........ In both the above the drive name is clearly in the path name. In Leopard with CS3 if I browse to the directory on my machine, DW puts in the path with the /Users/Documents/... in the path. As I said, I can override this but DW does not like it. |
|
|||
|
Figured it out. Oh.....this is wicked. Talk about self inflicted wounds. I
named my system HD "System" . There just so happens to be a root level directory in OSX called /System which has nothing to do what so ever with the users directory. I renamed my HD to SystemHD, restarted Firefox and tried again and all was right with the world. Interestingly enough Safari and Opera were not confused by this but it was throwing Firefox for a loop. Thanks for the help. Sorry for the bother. |
|
|||
|
Good luck!
-- Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources ================== "rimcrazyph" <webforumsuser@macromedia.com> wrote in message news:ga1k6l$t0$1@forums.macromedia.com... > Figured it out. Oh.....this is wicked. Talk about self inflicted wounds. > I > named my system HD "System" . There just so happens to be a root level > directory in OSX called /System which has nothing to do what so ever with > the > users directory. I renamed my HD to SystemHD, restarted Firefox and tried > again and all was right with the world. Interestingly enough Safari and > Opera > were not confused by this but it was throwing Firefox for a loop. Thanks > for > the help. Sorry for the bother. > |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise