10 Replies Latest reply on Aug 17, 2006 12:29 PM by onefiftymph

    Can someone tell me why this  page wont  display?

    onefiftymph
      http://errall.com/page.html

      starts with <html>
      ends with </html>

      The links aren't good cuz I put it where it is to show the problem -ie: I see only source code -
      It was created in Dreamweaver and worked fine. Then my HD crashed and I'm without a computer and need to update the page, so I copied the source from Safari, made a body copy only edit to the page in Mac os10's TextEdit and uploaded it as text where it is and it won't display. I'm at a loss ..wtf?....

      thanks!
        • 1. Re: Can someone tell me why this  page wont  display?
          Level 7
          I see only source code as well, but I viewed the source, copied and
          pasted into notepad, saved as test.htm and test.html... both work
          fine... so my guess is something server side, but I'm not positive on that
          • 2. Re: Can someone tell me why this  page wont  display?
            Level 7


            > http://errall.com/page.html
            >
            > starts with <html>
            > ends with </html>


            It's html code, pasted into DESIGN VIEW.


            <p class="p1">&lt;html&gt;</p>
            <p class="p1">&lt;head&gt;</p>

            fix: open the page to edit.
            in design view, select all/copy
            go to Code View.
            select all, delete
            Paste.

            click into design view. better??


            • 3. Re: Can someone tell me why this  page wont  display?
              Level 7
              Heh - it's displaying properly. That's what it's supposed to look like -

              <body>
              <p class="p1">&lt;html&gt;</p>
              <p class="p1">&lt;head&gt;</p>
              <p class="p1">&lt;title&gt;Site Updates&lt;/title&gt;</p>
              <p class="p1">&lt;meta http-equiv="Content-Type" content="text/html;
              charset=iso-8859-1"&gt;</p>
              <p class="p1">&lt;script language="JavaScript"&gt;</p>
              <p class="p1">&lt;!--</p>
              <p class="p1">function MM_preloadImages() { //v3.0</p>

              Is this a trick?

              --
              Murray --- ICQ 71997575
              Adobe Community Expert
              (If you *MUST* email me, don't LAUGH when you do so!)
              ==================
              http://www.dreamweavermx-templates.com - Template Triage!
              http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
              http://www.dwfaq.com - DW FAQs, Tutorials & Resources
              http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
              ==================


              "actioneer" <webforumsuser@macromedia.com> wrote in message
              news:ec24j6$db4$1@forums.macromedia.com...
              > http://errall.com/page.html
              >
              > starts with <html>
              > ends with </html>
              >
              > The links aren't good cuz I put it where it is to show the problem -ie:
              > I
              > see only source code -
              > It was created in Dreamweaver and worked fine. Then my HD crashed and I'm
              > without a computer and need to update the page, so I copied the
              > source
              > from Safari, made a body copy only edit to the page in Mac os10's
              > TextEdit
              > and uploaded it as text where it is and it won't display. I'm at a
              > loss
              > ..wtf?....
              >
              > thanks!
              >


              • 4. Re: Can someone tell me why this  page wont  display?
                Level 7

                "actioneer" <webforumsuser@macromedia.com> wrote in message
                news:ec24j6$db4$1@forums.macromedia.com...
                > http://errall.com/page.html
                >
                > starts with <html>
                > ends with </html>
                >
                > The links aren't good cuz I put it where it is to show the problem -ie:
                > I
                > see only source code -
                > It was created in Dreamweaver and worked fine.

                Are you sure it was created in DW? Looking at the source code, it clearly
                shows:
                <meta name="Generator" content="Cocoa HTML Writer">You've got a lot of
                <span class="Apple-converted-space"> items around, and all of the < and >
                symbolslook like you pasted code in Design view instead of Code view and it
                translated everything to the"view" symbols mode. I.e., you have stuff like
                this:<p class="p1"><span class="Apple-converted-space">
                </span>&lt;/tr&gt;</p>when you probably meant to have this:</tr>you'll
                probably find it easier to redo it all instead of trying to "fix" what you
                have there.



                • 5. Re: Can someone tell me why this  page wont  display?
                  Level 7
                  and to cover that what you posted was intentional-

                  the code in the page is corrupted, starting around line 24.

                  � � � ','../IMGS/INT/btnDN_about.jpg',1)"><img
                  src="../IMGS/INT/btnUP_about.jpg" width="180" height="24" name="btnUP_about"
                  border="0"></a><br>
                  � � � � � � <a href=" http://errall.com/CONTACT/"

                  there's a couple lines of the function MM_findOb javascript function, which
                  is in the HEAD, then it skips into the middle of some table cell.

                  there's no </head> and no <body>

                  do you have a different archive copy of the file?


                  • 6. Re: Can someone tell me why this  page wont  display?
                    Level 7

                    > The links aren't good cuz I put it where it is to show the problem -ie:
                    > I
                    > see only source code -

                    No, you're not seeing the source code. You're seeing the content of the text
                    of the page, which happens to be a bunch of source code.

                    VIEW > SOURCE to see your problem.

                    -Darrel


                    • 7. Re: Can someone tell me why this  page wont  display?
                      onefiftymph Level 1
                      Ha - no its not a joke. Now I'm totally confused. Like I said - I don't have Dreamweaver now - I had to bring my computer to a data rescue place after I accidentally trashed a critical folder. I'm on my work computer - no DW - no Code view - no Design view - and was only hoping to change a few lines of text in the page (created in Dreamweaver and working fine for months) and reupload it. I copied the source from Safari and used TextEdit and when I uploaded the page as text with FTP this is what I get. I have an old archive but I can't work in DW until I get my computer back and just wanted to update a few lines of text.

                      I guess my question now is - isn't it possible to copy source, edit in TextEdit and re-upload (as text) without this weirdness happening?

                      • 8. Re: Can someone tell me why this  page wont  display?
                        Level 7


                        > and used TextEdit

                        The meta tag in the page shows you used iLife or iWeb or ??
                        Look in the menus/help for info on how to access souce code editing.

                        Or- easier- get this free app:
                        http://www.barebones.com/products/textwrangler/

                        It's not wysiwyg, but for editing source it won't give you any suprises.

                        And- the file you are working on is missing a section, starting around line
                        24. It goes from a js funtion to inside of a table cell, it's missing the
                        rest of the js function, the </head> and <body> tags.

                        find an earlier intact copy of that page.



                        • 9. Re: Can someone tell me why this  page wont  display?
                          Level 7
                          > I guess my question now is - isn't it possible to copy source, edit in
                          > TextEdit and re-upload (as text) without this weirdness happening?

                          Ah! You're using OSX's textexit.

                          It has a VERY odd behavior. When you save a text edit file as HTML, it
                          converts the the document as text to an HTML file. In otherwords, it doesn't
                          know that what you are typing is actually source code. It thinks it's
                          content you want on the page, so it converts it all to escaped HTML, adds
                          it's OWN HTML/BODY tags, and THEN saves it.

                          It's VERY annoying and I was bitten by it once too.

                          I don't have my other laptop on me, so I don't recall the exact fix, but it
                          had to do with saving it as plain text first, THEN, after saving, rename it
                          to 'html'.

                          -Darrel


                          • 10. Re: Can someone tell me why this  page wont  display?
                            onefiftymph Level 1
                            Oh! That would explain it..very annoying. k... I'll try that . thanks!