My website is not working any longer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • biz@theplayspace.com.au

    My website is not working any longer

    Hi there,
    I had a perfectly working website. Then I moved the entire folder with
    all files onto another computer (I am hosting my own site) and now
    things dont work too well. I know that all my pages ended with .php
    extension but when I open any file with that extension in Safari I
    only get a page full of text characters. Oddly, when I rename the
    extension to .html then the page loads fine in Safari. This is
    bizarre. Should I go an manually rename all pages in my webfolder to
    html extension? Will this screw up some links? As you can tell by now
    I have no idea about web programming but I feel this must be a very
    simple fix as everything was working before. Any tips are greatly
    appreciated. Kurt
  • Rik Wasmus

    #2
    Re: My website is not working any longer

    On Wed, 12 Mar 2008 15:53:29 +0100, <biz@theplayspa ce.com.auwrote:
    Hi there,
    I had a perfectly working website. Then I moved the entire folder with
    all files onto another computer (I am hosting my own site) and now
    things dont work too well. I know that all my pages ended with .php
    extension but when I open any file with that extension in Safari I
    only get a page full of text characters. Oddly, when I rename the
    extension to .html then the page loads fine in Safari. This is
    bizarre. Should I go an manually rename all pages in my webfolder to
    html extension? Will this screw up some links? As you can tell by now
    I have no idea about web programming but I feel this must be a very
    simple fix as everything was working before. Any tips are greatly
    appreciated. Kurt
    Either PHP doesn't work (correctly), or default_mimetyp e
    (<http://nl2.php.net/manual/en/ini.core.php#in i.default-mimetype>) is
    screwed up, set it back to text/html.

    What are the response headers from a *.php link?
    --
    Rik Wasmus

    Comment

    • Joker7

      #3
      Re: My website is not working any longer

      In news: op.t7wrxbtq5bnj uv@metallium.la n - Rik Wasmus wrote :
      >On Wed, 12 Mar 2008 15:53:29 +0100, <biz@theplayspa ce.com.auwrote:
      >>Hi there,
      >>I had a perfectly working website. Then I moved the entire folder
      >>with all files onto another computer (I am hosting my own site) and
      >>now things dont work too well. I know that all my pages ended with
      >>.php extension but when I open any file with that extension in
      >>Safari I only get a page full of text characters. Oddly, when I
      >>rename the extension to .html then the page loads fine in Safari.
      >>This is bizarre. Should I go an manually rename all pages in my
      >>webfolder to html extension? Will this screw up some links? As you
      >>can tell by now I have no idea about web programming but I feel
      >>this must be a very simple fix as everything was working before.
      >>Any tips are greatly appreciated. Kurt
      >>
      >Either PHP doesn't work (correctly), or default_mimetyp e
      >(<http://nl2.php.net/manual/en/ini.core.php#in i.default-mimetype>) is
      >screwed up, set it back to text/html.
      >>
      >What are the response headers from a *.php link?
      >--
      >Rik Wasmus
      What web server are you using ? You need to set the mime type.

      Chris

      --
      Superb hosting & domain name deals http://dn-22.co.uk
      The Handyman http://www.looker.me.uk


      Comment

      • Tim Roberts

        #4
        Re: My website is not working any longer

        biz@theplayspac e.com.au wrote:
        >
        >I had a perfectly working website. Then I moved the entire folder with
        >all files onto another computer (I am hosting my own site) and now
        >things dont work too well. I know that all my pages ended with .php
        >extension but when I open any file with that extension in Safari I
        >only get a page full of text characters. Oddly, when I rename the
        >extension to .html then the page loads fine in Safari.
        So, does that mean that the files don't actually contain any PHP code? None
        of them have "<?php" in them?
        --
        Tim Roberts, timr@probo.com
        Providenza & Boekelheide, Inc.

        Comment

        • karotto

          #5
          Re: My website is not working any longer

          DONE! DONE! Thank you everyone. Enabeling php did the trick. I knew it
          was something easy and obvious. Thanks alot!

          Comment

          Working...