F12 doesn't quite work

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mimages

    F12 doesn't quite work

    I press F12, and the page displays locally, but the included files (PHP)
    don't get included. I could've sworn it was working, once upon a time. Now,
    it just shows everything else in the page minus the included file(s). Any
    advice?

    Thanks in advance.



  • Randell D.

    #2
    Re: F12 doesn't quite work

    "mimages" <mimages@NOSPAM spvision.com> wrote in message
    news:Yi5db.3460 7$Ci5.805282@tw ister.tampabay. rr.com...[color=blue]
    > I press F12, and the page displays locally, but the included files (PHP)
    > don't get included. I could've sworn it was working, once upon a time.[/color]
    Now,[color=blue]
    > it just shows everything else in the page minus the included file(s). Any
    > advice?
    >
    > Thanks in advance.
    >
    >
    >[/color]

    What on earth are you talking about with regards to F12? You'll have to put
    more meat on the bones of your question...

    And what do you mean that the included files don't get included?

    If you expect to "View Source" on your browser, and be able to see your PHP
    code, then then there's nothing wrong. PHP is a server side language that
    gets parsed *on the server* and you see the results *on the client*.


    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing on usenet?


    Comment

    • Geoff Berrow

      #3
      Re: F12 doesn't quite work

      I noticed that Message-ID: <hO8db.18572$O8 5.7122@pd7tw1no > from Randell
      D. contained the following:
      [color=blue]
      >What on earth are you talking about with regards to F12? You'll have to put
      >more meat on the bones of your question...[/color]

      It could be a reference to Dreamweaver. F12 previews in browser.

      Is the server installed and running?

      --
      Geoff Berrow
      It's only Usenet, no one dies.
      My opinions, not the committee's, mine.
      Simple RFDs http://www.ckdog.co.uk/rfdmaker/

      Comment

      • Paul Liversidge

        #4
        Re: F12 doesn't quite work

        "mimages" <mimages@NOSPAM spvision.com> wrote in message news:<Yi5db.346 07$Ci5.805282@t wister.tampabay .rr.com>...[color=blue]
        > I press F12, and the page displays locally, but the included files (PHP)
        > don't get included. I could've sworn it was working, once upon a time. Now,
        > it just shows everything else in the page minus the included file(s). Any
        > advice?
        >
        > Thanks in advance.[/color]

        I'm assuming you mean Dreamweaver.

        You need to go to Edit | Preferences | Site and ensure that the
        'dependent files' boxes are checked. Pressing F12 puts the current
        file to the test server but not any dependent, i.e. included, files.
        They have to be put manually if this option is unchecked.

        Paul

        Comment

        • mimages

          #5
          Re: F12 doesn't quite work

          Sorry, and thanks for catching my mistake. I do mean Dreamweaver. I checked
          the preferences, and all the boxes you mentioned are checked. The testing
          server is local, and I thought it would display the files properly. I've
          done this in creation of ASP files, and it works just fine. I don't know why
          the problem is occuring since I started doing PHP development.

          Any other ideas?

          Thanks in advance.


          "Paul Liversidge" <paul_liversidg e@hotmail.com> wrote in message
          news:bf26a194.0 309270716.4cd49 57f@posting.goo gle.com...[color=blue]
          > "mimages" <mimages@NOSPAM spvision.com> wrote in message[/color]
          news:<Yi5db.346 07$Ci5.805282@t wister.tampabay .rr.com>...[color=blue][color=green]
          > > I press F12, and the page displays locally, but the included files (PHP)
          > > don't get included. I could've sworn it was working, once upon a time.[/color][/color]
          Now,[color=blue][color=green]
          > > it just shows everything else in the page minus the included file(s).[/color][/color]
          Any[color=blue][color=green]
          > > advice?
          > >
          > > Thanks in advance.[/color]
          >
          > I'm assuming you mean Dreamweaver.
          >
          > You need to go to Edit | Preferences | Site and ensure that the
          > 'dependent files' boxes are checked. Pressing F12 puts the current
          > file to the test server but not any dependent, i.e. included, files.
          > They have to be put manually if this option is unchecked.
          >
          > Paul
          >[/color]


          Comment

          • mimages

            #6
            Re: F12 doesn't quite work

            Yes, I'm sorry, I am referring to Dreamweaver. I have done ASP development
            without actually having to install the personal web server, so I thought I
            would need no special installation for PHP development. I guess I'm wrong. I
            really don't know what needs to be installed, though.

            Any ideas?

            Thanks

            "Geoff Berrow" <bl@ckdog.co.uk .the.cat> wrote in message
            news:cpkanv4fit qi7av3430i72ahd gm96mfqk1@4ax.c om...[color=blue]
            > I noticed that Message-ID: <hO8db.18572$O8 5.7122@pd7tw1no > from Randell
            > D. contained the following:
            >[color=green]
            > >What on earth are you talking about with regards to F12? You'll have to[/color][/color]
            put[color=blue][color=green]
            > >more meat on the bones of your question...[/color]
            >
            > It could be a reference to Dreamweaver. F12 previews in browser.
            >
            > Is the server installed and running?
            >
            > --
            > Geoff Berrow
            > It's only Usenet, no one dies.
            > My opinions, not the committee's, mine.
            > Simple RFDs http://www.ckdog.co.uk/rfdmaker/
            >[/color]


            Comment

            • Geoff Berrow

              #7
              Re: F12 doesn't quite work

              I noticed that Message-ID:
              <RhHdb.42404$Ci 5.1096170@twist er.tampabay.rr. com> from mimages contained
              the following:
              [color=blue]
              >Yes, I'm sorry, I am referring to Dreamweaver. I have done ASP development
              >without actually having to install the personal web server, so I thought I
              >would need no special installation for PHP development. I guess I'm wrong. I
              >really don't know what needs to be installed, though.
              >
              >Any ideas?[/color]

              I don't usually bother. I simply use the 'put' command to upload the
              page I'm working on then view it from my webserver. That way I /know/
              it's going to work.

              If you want to, you can install Apache, PHP, PHP,MYAdmin and MySQL all
              in one easy hit. Go to http://www.firepages.com.au and click PHPDEV
              bundles 423 is the latest.


              --
              Geoff Berrow
              It's only Usenet, no one dies.
              My opinions, not the committee's, mine.
              Simple RFDs http://www.ckdog.co.uk/rfdmaker/

              Comment

              • mimages

                #8
                Re: F12 doesn't quite work

                Bummers. I was hoping to avoid installing a bunch of stuff on this system.
                Wanted to keep it clean. I'll probably to the put deal, I just wanted to
                check it locally before potentially messing up a good page with a wanna-be
                better one, until I was sure it was good.


                "Geoff Berrow" <bl@ckdog.co.uk .the.cat> wrote in message
                news:srjenvkt34 hej4s32usb9ink7 9pdr6285u@4ax.c om...[color=blue]
                > I noticed that Message-ID:
                > <RhHdb.42404$Ci 5.1096170@twist er.tampabay.rr. com> from mimages contained
                > the following:
                >[color=green]
                > >Yes, I'm sorry, I am referring to Dreamweaver. I have done ASP[/color][/color]
                development[color=blue][color=green]
                > >without actually having to install the personal web server, so I thought[/color][/color]
                I[color=blue][color=green]
                > >would need no special installation for PHP development. I guess I'm[/color][/color]
                wrong. I[color=blue][color=green]
                > >really don't know what needs to be installed, though.
                > >
                > >Any ideas?[/color]
                >
                > I don't usually bother. I simply use the 'put' command to upload the
                > page I'm working on then view it from my webserver. That way I /know/
                > it's going to work.
                >
                > If you want to, you can install Apache, PHP, PHP,MYAdmin and MySQL all
                > in one easy hit. Go to http://www.firepages.com.au and click PHPDEV
                > bundles 423 is the latest.
                >
                >
                > --
                > Geoff Berrow
                > It's only Usenet, no one dies.
                > My opinions, not the committee's, mine.
                > Simple RFDs http://www.ckdog.co.uk/rfdmaker/
                >[/color]


                Comment

                • Ed Clarke

                  #9
                  Re: F12 doesn't quite work

                  In article <x9Ldb.43307$Ci 5.1127784@twist er.tampabay.rr. com>, mimages wrote:[color=blue]
                  > Bummers. I was hoping to avoid installing a bunch of stuff on this system.
                  > Wanted to keep it clean. I'll probably to the put deal, I just wanted to
                  > check it locally before potentially messing up a good page with a wanna-be
                  > better one, until I was sure it was good.[/color]

                  Why aren't you using the testing server feature of Dreamweaver? It can stuff
                  things off into a non-public subdirectory for testing.

                  Comment

                  • Geoff Berrow

                    #10
                    Re: F12 doesn't quite work

                    I noticed that Message-ID:
                    <x9Ldb.43307$Ci 5.1127784@twist er.tampabay.rr. com> from mimages contained
                    the following:
                    [color=blue]
                    >Bummers. I was hoping to avoid installing a bunch of stuff on this system.
                    >Wanted to keep it clean. I'll probably to the put deal, I just wanted to
                    >check it locally before potentially messing up a good page with a wanna-be
                    >better one, until I was sure it was good.[/color]

                    Then make a copy in a subdirectory.

                    --
                    Geoff Berrow
                    It's only Usenet, no one dies.
                    My opinions, not the committee's, mine.
                    Simple RFDs http://www.ckdog.co.uk/rfdmaker/

                    Comment

                    • mimages

                      #11
                      Re: F12 doesn't quite work

                      One of the nice things about using the F12 feature to check your page is
                      that it's nice and quick. I guess I can just as easily use the testing
                      server feature and be patient. It's just so easy to get anal when something
                      works differently all of a sudden.

                      I'll get over it.

                      Thanks.

                      "Ed Clarke" <clarke@cilia.o rg> wrote in message
                      news:bl83ji$9ac 38$1@ID-189828.news.uni-berlin.de...[color=blue]
                      > In article <x9Ldb.43307$Ci 5.1127784@twist er.tampabay.rr. com>, mimages[/color]
                      wrote:[color=blue][color=green]
                      > > Bummers. I was hoping to avoid installing a bunch of stuff on this[/color][/color]
                      system.[color=blue][color=green]
                      > > Wanted to keep it clean. I'll probably to the put deal, I just wanted to
                      > > check it locally before potentially messing up a good page with a[/color][/color]
                      wanna-be[color=blue][color=green]
                      > > better one, until I was sure it was good.[/color]
                      >
                      > Why aren't you using the testing server feature of Dreamweaver? It can[/color]
                      stuff[color=blue]
                      > things off into a non-public subdirectory for testing.
                      >[/color]


                      Comment

                      • Geoff Berrow

                        #12
                        Re: F12 doesn't quite work

                        I noticed that Message-ID:
                        <975eb.24817$Of 2.1368496@twist er.tampabay.rr. com> from mimages contained
                        the following:
                        [color=blue]
                        >One of the nice things about using the F12 feature to check your page is
                        >that it's nice and quick. I guess I can just as easily use the testing
                        >server feature and be patient. It's just so easy to get anal when something
                        >works differently all of a sudden.[/color]

                        I'm so used to put, save, refresh that I don't think about it anymore.
                        LOL.

                        --
                        Geoff Berrow
                        It's only Usenet, no one dies.
                        My opinions, not the committee's, mine.
                        Simple RFDs http://www.ckdog.co.uk/rfdmaker/

                        Comment

                        • medi

                          #13
                          Re: F12 doesn't quite work


                          "mimages" <mimages@NOSPAM spvision.com> wrote in message
                          news:XfHdb.4239 5$Ci5.1093911@t wister.tampabay .rr.com...[color=blue]
                          > Sorry, and thanks for catching my mistake. I do mean Dreamweaver. I[/color]
                          checked[color=blue]
                          > the preferences, and all the boxes you mentioned are checked. The testing
                          > server is local, and I thought it would display the files properly. I've
                          > done this in creation of ASP files, and it works just fine. I don't know[/color]
                          why[color=blue]
                          > the problem is occuring since I started doing PHP development.
                          >
                          > Any other ideas?
                          >
                          > Thanks in advance.
                          >
                          >
                          > "Paul Liversidge" <paul_liversidg e@hotmail.com> wrote in message
                          > news:bf26a194.0 309270716.4cd49 57f@posting.goo gle.com...[color=green]
                          > > "mimages" <mimages@NOSPAM spvision.com> wrote in message[/color]
                          > news:<Yi5db.346 07$Ci5.805282@t wister.tampabay .rr.com>...[color=green][color=darkred]
                          > > > I press F12, and the page displays locally, but the included files[/color][/color][/color]
                          (PHP)[color=blue][color=green][color=darkred]
                          > > > don't get included. I could've sworn it was working, once upon a time.[/color][/color]
                          > Now,[color=green][color=darkred]
                          > > > it just shows everything else in the page minus the included file(s).[/color][/color]
                          > Any[color=green][color=darkred]
                          > > > advice?
                          > > >
                          > > > Thanks in advance.[/color]
                          > >
                          > > I'm assuming you mean Dreamweaver.
                          > >
                          > > You need to go to Edit | Preferences | Site and ensure that the
                          > > 'dependent files' boxes are checked. Pressing F12 puts the current
                          > > file to the test server but not any dependent, i.e. included, files.
                          > > They have to be put manually if this option is unchecked.
                          > >
                          > > Paul[/color][/color]

                          The easiest way is (if you're on Win XP) to install IIS (Internet
                          Information Services) which is the part of Win installation and can be found
                          on Win CD, and just add PHP extensions to it. Then you define your testing
                          server folder in Dreamweaver which will be the root folder of your local
                          webserver (or its subdirectory). So, now when you press F12 all your dynamic
                          PHP code will be processed by your local server and you dont need to worry
                          about that, it's just that easy.



                          Comment

                          Working...