Head scratcher

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

    Head scratcher

    I thought this was going to be easy. My first mistake. I was
    throwing up a wamp server up on an old w2k box we had sitting around
    to do some testing and development.

    I have installed Apache/2.2.4 (Win32) PHP/5.2.1.

    I have tested apache and is delivering html just fine both on
    localhost and externally.
    When I tested php using phpinfo it works fine.

    When I installed a know good application (code came from production)
    the pages all come up blank. At first I thought that short names was
    turned off and giving me the problem so I turned them on. That had
    no effect. httpd looks fine. I turned on errors in PHP nothing makes
    it to the error file when I call the page.

    Any ideas?

    Thank you very much in advance

    K. Plunkert
    kplunkert@gmail .com

  • _Skare_Krow_

    #2
    Re: Head scratcher

    Did you compare config files from apache and php,,, ive had probs like
    that before that were due to misconfigs in one of the other.

    Aaron

    Mente Libre wrote:
    I thought this was going to be easy. My first mistake. I was
    throwing up a wamp server up on an old w2k box we had sitting around
    to do some testing and development.
    >
    I have installed Apache/2.2.4 (Win32) PHP/5.2.1.
    >
    I have tested apache and is delivering html just fine both on
    localhost and externally.
    When I tested php using phpinfo it works fine.
    >
    When I installed a know good application (code came from production)
    the pages all come up blank. At first I thought that short names was
    turned off and giving me the problem so I turned them on. That had
    no effect. httpd looks fine. I turned on errors in PHP nothing makes
    it to the error file when I call the page.
    >
    Any ideas?
    >
    Thank you very much in advance
    >
    K. Plunkert
    kplunkert@gmail .com
    >

    Comment

    • Jerry Stuckle

      #3
      Re: Head scratcher

      Mente Libre wrote:
      I thought this was going to be easy. My first mistake. I was
      throwing up a wamp server up on an old w2k box we had sitting around
      to do some testing and development.
      >
      I have installed Apache/2.2.4 (Win32) PHP/5.2.1.
      >
      I have tested apache and is delivering html just fine both on
      localhost and externally.
      When I tested php using phpinfo it works fine.
      >
      When I installed a know good application (code came from production)
      the pages all come up blank. At first I thought that short names was
      turned off and giving me the problem so I turned them on. That had
      no effect. httpd looks fine. I turned on errors in PHP nothing makes
      it to the error file when I call the page.
      >
      Any ideas?
      >
      Thank you very much in advance
      >
      K. Plunkert
      kplunkert@gmail .com
      >
      What do you see when you look at the page source? Do plain html (no
      PHP) pages come up?

      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      • shimmyshack

        #4
        Re: Head scratcher

        On Apr 26, 2:53 am, Mente Libre <kplunk...@gmai l.comwrote:
        I thought this was going to be easy. My first mistake. I was
        throwing up a wamp server up on an old w2k box we had sitting around
        to do some testing and development.
        >
        I have installed Apache/2.2.4 (Win32) PHP/5.2.1.
        >
        I have tested apache and is delivering html just fine both on
        localhost and externally.
        When I tested php using phpinfo it works fine.
        >
        When I installed a know good application (code came from production)
        the pages all come up blank. At first I thought that short names was
        turned off and giving me the problem so I turned them on. That had
        no effect. httpd looks fine. I turned on errors in PHP nothing makes
        it to the error file when I call the page.
        >
        Any ideas?
        >
        Thank you very much in advance
        >
        K. Plunkert
        kplunk...@gmail .com
        what does known good mean? in production on a wamp box of same php/
        apache/mysql version after same install proceedure?
        when you say "blank" do you mean no headers, or just no response body.
        have you checked the paths in the config?

        its obviously a config issue but the issue can easily be with the app.

        Comment

        • Mente Libre

          #5
          Re: Head scratcher

          On Apr 26, 1:35 am, _Skare_Krow_ <petra2...@gmai l.comwrote:
          Did you compare config files from apache and php,,, ive had probs like
          that before that were due to misconfigs in one of the other.
          >
          Aaron
          >
          Mente Libre wrote:
          I thought this was going to be easy. My first mistake. I was
          throwing up a wamp server up on an old w2k box we had sitting around
          to do some testing and development.
          >
          I have installed Apache/2.2.4 (Win32) PHP/5.2.1.
          >
          I have tested apache and is delivering html just fine both on
          localhost and externally.
          When I tested php using phpinfo it works fine.
          >
          When I installed a know good application (code came from production)
          the pages all come up blank. At first I thought that short names was
          turned off and giving me the problem so I turned them on. That had
          no effect. httpd looks fine. I turned on errors in PHP nothing makes
          it to the error file when I call the page.
          >
          Any ideas?
          >
          Thank you very much in advance
          >
          K. Plunkert
          kplunk...@gmail .com
          The configs look okay. I let the php installer do the configuration,
          that was probably my first mistake.

          Comment

          • Mente Libre

            #6
            Re: Head scratcher

            On Apr 26, 7:41 am, Jerry Stuckle <jstuck...@attg lobal.netwrote:
            Mente Libre wrote:
            I thought this was going to be easy. My first mistake. I was
            throwing up a wamp server up on an old w2k box we had sitting around
            to do some testing and development.
            >
            I have installed Apache/2.2.4 (Win32) PHP/5.2.1.
            >
            I have tested apache and is delivering html just fine both on
            localhost and externally.
            When I tested php using phpinfo it works fine.
            >
            When I installed a know good application (code came from production)
            the pages all come up blank. At first I thought that short names was
            turned off and giving me the problem so I turned them on. That had
            no effect. httpd looks fine. I turned on errors in PHP nothing makes
            it to the error file when I call the page.
            >
            Any ideas?
            >
            Thank you very much in advance
            >
            K. Plunkert
            kplunk...@gmail .com
            >
            What do you see when you look at the page source? Do plain html (no
            PHP) pages come up?
            >
            --
            =============== ===
            Remove the "x" from my email address
            Jerry Stuckle
            JDS Computer Training Corp.
            jstuck...@attgl obal.net
            =============== ===
            Yes plain html shows up just fine. the phpinfo test works just fine.
            Maybe I should try another php app to see if that is the issue

            Kplunkert

            Comment

            • Rik

              #7
              Re: Head scratcher

              Mente Libre wrote:
              I thought this was going to be easy. My first mistake. I was
              throwing up a wamp server up on an old w2k box we had sitting around
              to do some testing and development.
              >
              I have installed Apache/2.2.4 (Win32) PHP/5.2.1.
              >
              I have tested apache and is delivering html just fine both on
              localhost and externally.
              When I tested php using phpinfo it works fine.
              >
              When I installed a know good application (code came from production)
              the pages all come up blank. At first I thought that short names was
              turned off and giving me the problem so I turned them on.
              Do you mean short_open_tags ? (<? instead of <?php)
              That had
              no effect. httpd looks fine. I turned on errors in PHP nothing makes
              it to the error file when I call the page.
              And if you just display the errors instead or logging them
              (error_reportin g(E_ALL);ini_se t('display_erro rs',true);)?

              And what is the PHP version of the production site? And since you have a
              working phpinfo(), any noticabale differences between that one and the
              one in production?

              And as stated before, a 'blank page' can mean different things. DO you
              get any headers, and if so, which ones?
              --
              Rik Wasmus

              Estimated date being able to walk again: 01-05-2007.
              Less then a week, hurray!

              Comment

              • shimmyshack

                #8
                Re: Head scratcher

                On Apr 26, 1:20 pm, shimmyshack <matt.fa...@gma il.comwrote:
                On Apr 26, 2:53 am, Mente Libre <kplunk...@gmai l.comwrote:
                >
                >
                >
                I thought this was going to be easy. My first mistake. I was
                throwing up a wamp server up on an old w2k box we had sitting around
                to do some testing and development.
                >
                I have installed Apache/2.2.4 (Win32) PHP/5.2.1.
                >
                I have tested apache and is delivering html just fine both on
                localhost and externally.
                When I tested php using phpinfo it works fine.
                >
                When I installed a know good application (code came from production)
                the pages all come up blank. At first I thought that short names was
                turned off and giving me the problem so I turned them on. That had
                no effect. httpd looks fine. I turned on errors in PHP nothing makes
                it to the error file when I call the page.
                >
                Any ideas?
                >
                Thank you very much in advance
                >
                K. Plunkert
                kplunk...@gmail .com
                >
                what does known good mean? in production on a wamp box of same php/
                apache/mysql version after same install proceedure?
                when you say "blank" do you mean no headers, or just no response body.
                have you checked the paths in the config?
                >
                its obviously a config issue but the issue can easily be with the app.
                my idea was the app config rather than the httpd.conf/php.ini config -
                I'm sorry I should've made that clear.
                a blank screen could be simply that the initial conf doesnt load, so
                no functions included etc... you might not get any errors if the conf
                immediately turns them off, nothing to output. does your app need
                rewrites, auto_prepend etc...

                Comment

                • Mente Libre

                  #9
                  Re: Head scratcher

                  On Apr 26, 8:20 am, shimmyshack <matt.fa...@gma il.comwrote:
                  On Apr 26, 2:53 am, Mente Libre <kplunk...@gmai l.comwrote:
                  >
                  >
                  >
                  I thought this was going to be easy. My first mistake. I was
                  throwing up a wamp server up on an old w2k box we had sitting around
                  to do some testing and development.
                  >
                  I have installed Apache/2.2.4 (Win32) PHP/5.2.1.
                  >
                  I have tested apache and is delivering html just fine both on
                  localhost and externally.
                  When I tested php using phpinfo it works fine.
                  >
                  When I installed a know good application (code came from production)
                  the pages all come up blank. At first I thought that short names was
                  turned off and giving me the problem so I turned them on. That had
                  no effect. httpd looks fine. I turned on errors in PHP nothing makes
                  it to the error file when I call the page.
                  >
                  Any ideas?
                  >
                  Thank you very much in advance
                  >
                  K. Plunkert
                  kplunk...@gmail .com
                  >
                  what does known good mean? in production on a wamp box of same php/
                  apache/mysql version after same install proceedure?
                  when you say "blank" do you mean no headers, or just no response body.
                  have you checked the paths in the config?
                  >
                  its obviously a config issue but the issue can easily be with the app.
                  The code was brought over from a production server that is working
                  fine. I agree it has to be a config issue. The pages are blank, all
                  white, nothing else

                  K Plunkert

                  Comment

                  Working...