PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.dreamweaver > Source code pointing to local computer
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Source code pointing to local computer

Réponse
 
LinkBack Outils de la discussion
Vieux 14/06/2008, 07h00   #1
Janthesailer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Source code pointing to local computer

I'm new to Dreamweaver, very new. I've created what looks like a very nice
site on the browser but is horrid when "put". The Host tells me that the cause
is that most of the source code is pointing to the local computer. How do I go
about changing this? Please with some very simple instructions.
Thanks.

  Réponse avec citation
Vieux 14/06/2008, 09h45   #2
John Waller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

1. Have you defined a site in DW?

Look up setting up a site in the DW files.

--
Regards

John Waller
  Réponse avec citation
Vieux 14/06/2008, 10h37   #3
Janthesailer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

I've set the site up Ok. It can be seen at www.Touring-Berlin.de and is a
right mess. What I have done is download a pre-designed page and add my
content. In the last couple of hours I've developed a theory. Within the site
are a number of files that I didn't create. I take it that these are CSS. I
think that what I must do is move them to the images folder and "Put" the
entire site again. Does this sound about right?

  Réponse avec citation
Vieux 14/06/2008, 10h54   #4
Janthesailer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

Hey Ho that's not it. They are already in the images folder.
  Réponse avec citation
Vieux 14/06/2008, 11h28   #5
kim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

You need to correct these paths as the website is looking for the
stylesheet on your hard drive which is hopefully don't have access too.

file:///C|/Dokumente%20und%20Einstellungen/John%20Boyle/Eigene%20Dateien/Unzipped/horizon-1/horizon/css/style.css"
/ needs to be changed!

I've no idea of the structure of your site so I suggest that you upload
css folder with your css file "styles.css" in it to the root of your
site. Then you replace the above path so your link to the stylesheet
looks like this...:

<link rel="stylesheet" type="text/css" href="css/style.css" />

BTW... if you're having trouble with all this put/get get a "real" FTP
client to up/download your files with. I use ws_ftp 95 but filezilla is
also very good.

Janthesailer skrev:
> I've set the site up Ok. It can be seen at www.Touring-Berlin.de and is a
> right mess. What I have done is download a pre-designed page and add my
> content. In the last couple of hours I've developed a theory. Within the site
> are a number of files that I didn't create. I take it that these are CSS. I
> think that what I must do is move them to the images folder and "Put" the
> entire site again. Does this sound about right?
>
>


--
Kim
---------------------------
http://www.geekministry.com

  Réponse avec citation
Vieux 14/06/2008, 11h58   #6
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

When John says "set up a site", he means IN DREAMWEAVER. Press F1 and read
about how to define a site. Do that.

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


"Janthesailer" <webforumsuser@macromedia.com> wrote in message
news:g303hl$js9$1@forums.macromedia.com...
> I've set the site up Ok. It can be seen at www.Touring-Berlin.de and is a
> right mess. What I have done is download a pre-designed page and add my
> content. In the last couple of hours I've developed a theory. Within the
> site
> are a number of files that I didn't create. I take it that these are CSS.
> I
> think that what I must do is move them to the images folder and "Put" the
> entire site again. Does this sound about right?
>


  Réponse avec citation
Vieux 14/06/2008, 14h30   #7
Janthesailer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

Well thanks to the given here I am making progress. Five of the seven
pages show correctly. So I made two copies of one of the correctly showing
pages, pasted the appropriate content and then over wrote the two incorrect
pages. Then I "Put" them. Still the result is rubbish. Yes I know that when
I do finally get it right I've got to go back in and amend the meta tags but
that is for the future. Any ideas as to how to go about it now?
www.Touring-Berlin.de

  Réponse avec citation
Vieux 14/06/2008, 14h47   #8
josie1one
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

This background image in your CSS is still pointing to your hard drive:

#main
{
margin: 0 auto;
width: 900px;
background: #FFF
url(file:///C|/Dokumente%20und%20Einstellungen/John%20Boyle/Eigene%20Dateien/Unzipped/horizon/horizon/images/background-main.png)
repeat-y;

}

Your images need to be optimised with an image programme such as Photoshop -
they are huge! You have resized them in Dreamweaver which you really can't
do.
Brandenburg Gate is 873kb - should be no more than 40kb. In it's original
form it's 1536x1024 but resized to 280x200
Philharmonie - 1441kb is 2048x1536 but resized again to 280x200.

--
Jo





"Janthesailer" <webforumsuser@macromedia.com> wrote in message
news:g30h5o$48k$1@forums.macromedia.com...
> Well thanks to the given here I am making progress. Five of the
> seven
> pages show correctly. So I made two copies of one of the correctly
> showing
> pages, pasted the appropriate content and then over wrote the two
> incorrect
> pages. Then I "Put" them. Still the result is rubbish. Yes I know that
> when
> I do finally get it right I've got to go back in and amend the meta tags
> but
> that is for the future. Any ideas as to how to go about it now?
> www.Touring-Berlin.de
>



  Réponse avec citation
Vieux 14/06/2008, 15h46   #9
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

Issues such as you are having are most often associated with an improperly
defined DW site. DW will write the links as you have shown anytime it
thinks a) the linked file is NOT WITHIN the local root folder, or b) the
file containing the link is being saved OUTSIDE the local root folder.

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


"josie1one" <joleros@spamoffyahoo.com> wrote in message
news:g30i5f$59i$1@forums.macromedia.com...
> This background image in your CSS is still pointing to your hard drive:
>
> #main
> {
> margin: 0 auto;
> width: 900px;
> background: #FFF
> url(file:///C|/Dokumente%20und%20Einstellungen/John%20Boyle/Eigene%20Dateien/Unzipped/horizon/horizon/images/background-main.png)
> repeat-y;
>
> }
>
> Your images need to be optimised with an image programme such as
> Photoshop - they are huge! You have resized them in Dreamweaver which you
> really can't do.
> Brandenburg Gate is 873kb - should be no more than 40kb. In it's original
> form it's 1536x1024 but resized to 280x200
> Philharmonie - 1441kb is 2048x1536 but resized again to 280x200.
>
> --
> Jo
>
>
>
>
>
> "Janthesailer" <webforumsuser@macromedia.com> wrote in message
> news:g30h5o$48k$1@forums.macromedia.com...
>> Well thanks to the given here I am making progress. Five of the
>> seven
>> pages show correctly. So I made two copies of one of the correctly
>> showing
>> pages, pasted the appropriate content and then over wrote the two
>> incorrect
>> pages. Then I "Put" them. Still the result is rubbish. Yes I know that
>> when
>> I do finally get it right I've got to go back in and amend the meta tags
>> but
>> that is for the future. Any ideas as to how to go about it now?
>> www.Touring-Berlin.de
>>

>
>


  Réponse avec citation
Vieux 14/06/2008, 20h14   #10
Janthesailer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

Thanks Jo,
I really don't know where you guys get this stuff! One thing I have noticed
is that in a couple of places I have "Index" not "index" so I've changed that.
This is a steep learning curve.
Can you tell or at least give me some idea what the HTML code ought to be to
point back to the CSS within the site?
Regarding the photographs - I suppose resizing them in Photoshop is another
weeks work!

J

  Réponse avec citation
Vieux 14/06/2008, 20h30   #11
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

> I really don't know where you guys get this stuff!

Experience and lots of familiarity with the posts on this forum.

> This is a steep learning curve.


You have no idea. Without a good base in HTML and CSS, you will be
continually frustrated.

> Can you tell or at least give me some idea what the HTML code ought to be
> to
> point back to the CSS within the site?


Remove the link and remake it from within DW, once the site has been
properly defined.

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


"Janthesailer" <webforumsuser@macromedia.com> wrote in message
news:g315bc$ofv$1@forums.macromedia.com...
> Thanks Jo,
> I really don't know where you guys get this stuff! One thing I have
> noticed
> is that in a couple of places I have "Index" not "index" so I've changed
> that.
> This is a steep learning curve.
> Can you tell or at least give me some idea what the HTML code ought to be
> to
> point back to the CSS within the site?
> Regarding the photographs - I suppose resizing them in Photoshop is
> another
> weeks work!
>
> J
>


  Réponse avec citation
Vieux 14/06/2008, 21h13   #12
josie1one
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

> Regarding the photographs - I suppose resizing them in Photoshop is
> another
> weeks work!


Not really - honestly! Open your image in Photoshop/PaintshopPro/ or
whatever you have.

A *very* rough guide...

In Photoshop select Image> Image Size > change the width to 280 and allow PS
to Constrain Proportions (to maintain aspect ratio) - it shouldn't matter to
you what the height is. File > Save for Web. Ensure you have jpeg not gif.
Adjust the slider until you have a fine balance between size and quality
(say around 35-40kb). Click on Save (to your website images folder, don't
overwrite your original). Answer "Yes" to the question you already have a
file of that name. Upload it from DW and you should immediately see the
difference in loading times without loss of quality. It should be no more
than about 5 minutes' work for each pic at the beginning and with a bit of
practice, less.


--
Jo




"Janthesailer" <webforumsuser@macromedia.com> wrote in message
news:g315bc$ofv$1@forums.macromedia.com...
> Thanks Jo,
> I really don't know where you guys get this stuff! One thing I have
> noticed
> is that in a couple of places I have "Index" not "index" so I've changed
> that.
> This is a steep learning curve.
> Can you tell or at least give me some idea what the HTML code ought to be
> to
> point back to the CSS within the site?
> Regarding the photographs - I suppose resizing them in Photoshop is
> another
> weeks work!
>
> J
>



  Réponse avec citation
Vieux 14/06/2008, 21h42   #13
Malcolm _
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

On Sat, 14 Jun 2008 23:13:29 +0300, "josie1one"
<joleros@spamoffyahoo.com> wrote:

>> Regarding the photographs - I suppose resizing them in Photoshop is
>> another
>> weeks work!

>
>Not really - honestly! Open your image in Photoshop/PaintshopPro/ or
>whatever you have.
>
>A *very* rough guide...
>
>In Photoshop select Image> Image Size > change the width to 280 and allow PS
>to Constrain Proportions (to maintain aspect ratio) - it shouldn't matter to
>you what the height is. File > Save for Web. Ensure you have jpeg not gif.
>Adjust the slider until you have a fine balance between size and quality
>(say around 35-40kb). Click on Save (to your website images folder, don't
>overwrite your original). Answer "Yes" to the question you already have a
>file of that name. Upload it from DW and you should immediately see the
>difference in loading times without loss of quality. It should be no more
>than about 5 minutes' work for each pic at the beginning and with a bit of
>practice, less.



And PS has a batch mode - so you can speed up the process, but you
will need to check each page that contains the images as the sizes
of image needs to be changed - and that is best done in the properties
box.
--

~Malcolm~*...
~*
  Réponse avec citation
Vieux 14/06/2008, 21h46   #14
josie1one
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

I confess to not getting on too well with batch mode on resizing etc feeling
a loss of control but you are of course right to mention it.

--
Jo


"Malcolm _" <malcom@mon.org> wrote in message
news:65b85456qbtucmtksgasfid01hlkpnh5mo@4ax.com...
> On Sat, 14 Jun 2008 23:13:29 +0300, "josie1one"
> <joleros@spamoffyahoo.com> wrote:
>
>>> Regarding the photographs - I suppose resizing them in Photoshop is
>>> another
>>> weeks work!

>>
>>Not really - honestly! Open your image in Photoshop/PaintshopPro/ or
>>whatever you have.
>>
>>A *very* rough guide...
>>
>>In Photoshop select Image> Image Size > change the width to 280 and allow
>>PS
>>to Constrain Proportions (to maintain aspect ratio) - it shouldn't matter
>>to
>>you what the height is. File > Save for Web. Ensure you have jpeg not gif.
>>Adjust the slider until you have a fine balance between size and quality
>>(say around 35-40kb). Click on Save (to your website images folder, don't
>>overwrite your original). Answer "Yes" to the question you already have a
>>file of that name. Upload it from DW and you should immediately see the
>>difference in loading times without loss of quality. It should be no more
>>than about 5 minutes' work for each pic at the beginning and with a bit of
>>practice, less.

>
>
> And PS has a batch mode - so you can speed up the process, but you
> will need to check each page that contains the images as the sizes
> of image needs to be changed - and that is best done in the properties
> box.
> --
>
> ~Malcolm~*...
> ~*



  Réponse avec citation
Vieux 15/06/2008, 00h37   #15
Janthesailer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer

Thank you everybody. The site is now visible with all the photographs. It
doesn't open on the correct page but hopefully the crawlers will find that in a
few days. As for the photographs - I'll take your advice over the next few
days. I have no doubt that I shall be back with more questions as I learn
more. At the moment I'm only paddling up to my ankles unlike you Olympic
swimmers!

Again thank you.

J

  Réponse avec citation
Vieux 15/06/2008, 01h15   #16
Alan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Source code pointing to local computer



> It
> doesn't open on the correct page


What is the filename of the "homepage" ?

For most servers, it should be named lowercase
index.htm
or
index.html
or index.xxx for whatever file extension is used.

If it is presently named upcase Index.html, rename in in the dw files panel
in a two step process.
rename Index.html to fooindex.html
okay changing links
rename fooindex.html to index.html

if the current index file is not the page you want to be the "homepage" then
rename it to something else in the dw Files Panel, and rename the "homepage"
file to index.htm or html
then do a sitewide link check and upload the pages.


***NOTE- don't count on google finding your site.

There is some kind of browser sniffing or something going on, my old browser
gets a 500 error message, so i dug up a GoogleBot simulator:

http://www.hashemian.com/tools/browser-simulator.htm

Headers for: http://www.Touring-Berlin.de/
[retrieved in 0.3656 seconds] [141 characters, 16 words]

HTTP/1.1 400 Bad Request
Date: Sun, 15 Jun 2008 00:09:38 GMT
Server: Apache
Connection: close
Content-Type: text/html; charset=iso-8859-1

Not going to get spidered because something is slamming the door hard on
some viewer agent's feet.




--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h19.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,27729 seconds with 24 queries