Adobe Dreamweaver Forums



Last 10 THreads :         Flash Player 10, problem with emdended fonts andattachment (Last Post : plasmaflex - Replies : 2 - Views : 3 )           »          DWCS4 Effects>Appear on DIV background image? (Last Post : Murray *ACE* - Replies : 4 - Views : 5 )           »          A New Joke Website (Last Post : nightwolf666 - Replies : 5 - Views : 6 )           »          flash and wide-gamut monitors (Last Post : tonton66 - Replies : 1 - Views : 3 )           »          creating links between Fireworks images (Last Post : Murray *ACE* - Replies : 4 - Views : 5 )           »          CS4 Div Tags Help Needed (Last Post : Murray *ACE* - Replies : 6 - Views : 7 )           »          absolute images (Last Post : Murray *ACE* - Replies : 1 - Views : 2 )           »          So many issues with CS4 (bugs/rants) (Last Post : Murray *ACE* - Replies : 6 - Views : 7 )           »          Can I Recover my Files? (Last Post : samcec - Replies : 5 - Views : 23 )           »          Character Generator (Last Post : twistedpancreas - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver General
 
Tags: , , , , , ,



Reply
  #1 (permalink)  
Old 09-07-2008, 09:17 PM
rimcrazyph
 
Posts: n/a
Diggs:
Default Preview with CS4 or CS3 on OS10.5.4 gets wrong URL path

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.





Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-07-2008, 09:17 PM
Murray *ACE*
 
Posts: n/a
Diggs:
Default Re: Preview with CS4 or CS3 on OS10.5.4 gets wrong URL path

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.
>
>
>


Reply With Quote
  #3 (permalink)  
Old 09-07-2008, 09:17 PM
Snit
 
Posts: n/a
Diggs:
Default Re: Preview with CS4 or CS3 on OS10.5.4 gets wrong URL path

"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?



Reply With Quote


  #4 (permalink)  
Old 09-07-2008, 09:17 PM
rimcrazyph
 
Posts: n/a
Diggs:
Default Re: Preview with CS4 or CS3 on OS10.5.4 gets wrong URLpath

It is simply the default:

http://

Also test and remote severs are set to none.
Reply With Quote
  #5 (permalink)  
Old 09-07-2008, 09:17 PM
Murray *ACE*
 
Posts: n/a
Diggs:
Default Re: Preview with CS4 or CS3 on OS10.5.4 gets wrong URL path

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.


Reply With Quote
  #6 (permalink)  
Old 09-07-2008, 10:06 PM
rimcrazyph
 
Posts: n/a
Diggs:
Default Re: Preview with CS4 or CS3 on OS10.5.4 gets wrong URLpath

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.

Reply With Quote


  #7 (permalink)  
Old 09-07-2008, 11:48 PM
rimcrazyph
 
Posts: n/a
Diggs:
Default Re: Preview with CS4 or CS3 on OS10.5.4 gets wrong URLpath

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.

Reply With Quote
  #8 (permalink)  
Old 09-08-2008, 12:16 AM
Murray *ACE*
 
Posts: n/a
Diggs:
Default Re: Preview with CS4 or CS3 on OS10.5.4 gets wrong URL path

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.
>


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 01:30 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk