Totally confused - need some tech advice, please!

by Kay King 11 replies
Here's my weird problem:

In the WHM panel for a reseller account, if I click on a site to view it I can't access that site.

Instead, I get a "download frame" that says

You have chosen to open

which is a application/x-httpd-php5

and then gives me the choice to choose a method to open or to save to disk


If I use google search to look up the site I can access one of the sites - but doing this with other sites I get the same download message.

This started this morning - have done nothing to change any of the sites - and HG can't explain it either. There is no sign of hacking or anything that would be causing this - and it seems to be happening only to me with my own sites.

Does anyone know what could cause this? I'm totally flummoxed.

kay

kay
#main internet marketing discussion forum #advice #confused #tech #totally
Avatar of Unregistered
  • Profile picture of the author Michael Mayo
    Hi Kay,

    Did HG update to a new PHP version maybe?

    Michael
    {{ DiscussionBoard.errors[56958].message }}
    • Profile picture of the author Steven Wagenheim
      Kay, I think I know the problem.

      You probably have no file association set up on your PC for php5 files, which is PHP version 5. Up until recently, most sites used PHP 4.14 I think it is or
      some other version 4.

      I think if you just associate it with the program you want to open it with (IE,
      Firefox, whatever) you'll be all right.

      There must have been a recent switch to PHP5 on your site for those pages
      in question.

      That's my guess, though I could be wrong.

      Won't be the first time.
      {{ DiscussionBoard.errors[56974].message }}
      • Profile picture of the author pjs
        Originally Posted by Steven Wagenheim View Post

        Kay, I think I know the problem.

        You probably have no file association set up on your PC for php5 files, which is PHP version 5. Up until recently, most sites used PHP 4.14 I think it is or
        some other version 4.

        I think if you just associate it with the program you want to open it with (IE,
        Firefox, whatever) you'll be all right.

        There must have been a recent switch to PHP5 on your site for those pages
        in question.

        That's my guess, though I could be wrong.

        Won't be the first time.
        I don't think this should be a file association problem on the BROWSER (client) side. It seems like it's on the server side and is sending the file as a php5 mimetype as opposed to a text/html mimetype (which it should be after the php script has been rendered).

        IMHO, this is a problem on the web host provider side that should be fixed up there. As someone who has built and sold a web hosting company (and yea, we used cpanel) I can tell you that the cpanel auto-update can create a whole lot of headache on an otherwise normal Tuesday morning.. Good luck!
        Signature
        Mom and Pop Money WSO *** - How ONE Lead Capture Page Made $9K in 2 Weeks in the "Offline" niche!

        PeterSanchez.com >>> FollowPeter.com (Twitter)
        {{ DiscussionBoard.errors[57044].message }}
      • Profile picture of the author NMP
        Hi

        Looks like you have a .htaccess mess up. Logn to your cpanel
        and go to filemanager and edit .htaccess. Make sure it say:


        AddHandler application/x-httpd-php5 .php (On a single line)

        Save and try access it again.

        Daniel
        {{ DiscussionBoard.errors[57045].message }}
        • Profile picture of the author Frank Bruno
          I don't see why HG couldn't troubleshoot this and fix it for you.

          I've had excellent support from HG over the years. They're very quick to, but of course mileage may vary.

          Frank Bruno
          {{ DiscussionBoard.errors[57117].message }}
          • Profile picture of the author Neil Morgan
            Hi Kay

            Definitely go back to your host on this.

            You shouldn't need to mess about with .htaccess files for that to work. There's no doubt it's a server issue therefore they should address it pronto. The fact they (ie the person you dealt with) doesn't understand the problem doesn't absolve them of their responsibility to fix it for you.

            Cheers,

            Neil
            Signature

            Easy email marketing automation without moving your lists.

            {{ DiscussionBoard.errors[57254].message }}
            • Profile picture of the author Kay King
              Thanks! I'm going back to HG tomorrow.

              Doesn't seem to be file association - and I'd also wondered about htaccess.

              What I find in the sites may be showing an HG change or ugrade.

              These are html sites with some php scripts and the original htaccess file I had added is there but now listed as .htaccess.bak.migration or something like that and there is an .htaccess file for the php5.

              I do think it's may be to do with htaccess - but damned if I can figure out what it is. Today I tried "nice" with HG - tomrrow it's on to "pushy broad."
              Sad to say I usually get better results that way.

              Will let you know what happened when I get it figured out. I wish I had a techie gene in my DNA!

              kay
              Signature

              Saving one dog may not change the world - but forever changes the world of one dog.

              {{ DiscussionBoard.errors[58196].message }}
              • Profile picture of the author jonparker83
                Sounds to me like PHP isn't running on the server.

                Instead of interpreting the file server-side and serving the result as text/html like it should be doing, it's serving the actual php file

                Can you confirm:

                1) The link you are clicking on (so we can tell what the file extension is i.e. php or php5)
                2) The contents of the file it's forcing you to download (so we know if the php code is being executed or not)

                Cheers

                Jon
                {{ DiscussionBoard.errors[58365].message }}
                • Profile picture of the author Kay King
                  This finally was solved this morning!!!

                  The experts here were right - it was a problem with the HG updating - and as I also thought, it was with .htaccess

                  And it was so simple!

                  The .htaccess file I was using listed "AddType" - and needed to be "AddHandler" .

                  When I got bitchy with HG yesterday one of the techs took it on himself - and when I thanked him today and said "how dumb of me", he said it took three techs looking at it to see what was wrong.

                  It's those little simple things that can totally mess you up!!!

                  Really appreciate all your help, folks! It pointed me in the right direction.

                  kay
                  Signature

                  Saving one dog may not change the world - but forever changes the world of one dog.

                  {{ DiscussionBoard.errors[61631].message }}
                  • Profile picture of the author Bev Clement
                    Thanks Kay for this, because I am having the same problem. The people at HG have no idea what to do. I had someone for HG make the change to the htaccess file, and now all my sites point to the main domain that my whm is registered to.

                    And the person in HG wondered if I would like all my sites pointing to the 1 site as they didn't see a problem.
                    {{ DiscussionBoard.errors[65352].message }}
                    • Profile picture of the author KimW
                      I wonder if Bev and Kay are on the same server?
                      I just logged into my account and was able to view all the sites that had content and got a page cannot be displayed on all the sites I hadn't uploaded anything to yet.
                      Signature

                      Read A Post.
                      Subscribe to a Newsletter
                      KimWinfrey.Com

                      {{ DiscussionBoard.errors[65363].message }}
                      • Profile picture of the author Kay King
                        Yes, we are on the same server.

                        Bev, why not take the htaccess file from that one main site and use it to replace the htaccess on the other sites. That might do it.

                        HG support is like most technical services - they have various levels of support personnel from "totally clueless" (available on the live chat) to "might get it eventually" from the first and second phone call, to "git'er done" when you get tired of putting up with the first two!

                        If your support request is #&*@$ or "Help!" you'll start with the lowest level. If your support request indicates what you think may be the problem and shows some level of understanding on your part, you've got a better chance of getting good support quickly.

                        Real world customer service

                        kay
                        Signature

                        Saving one dog may not change the world - but forever changes the world of one dog.

                        {{ DiscussionBoard.errors[66592].message }}
Avatar of Unregistered

Trending Topics