Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

My website is not working any longer

Question posted by: biz@theplayspace.com.au (Guest) on March 12th, 2008 02:55 PM
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
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Rik Wasmus's Avatar
Rik Wasmus
Guest
n/a Posts
March 12th, 2008
03:05 PM
#2

Re: My website is not working any longer
On Wed, 12 Mar 2008 15:53:29 +0100, <biz@theplayspace.com.auwrote:
Quote:
Originally Posted by
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_mimetype
(<http://nl2.php.net/manual/en/ini.core.php#ini.default-mimetype>) is
screwed up, set it back to text/html.

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

Joker7's Avatar
Joker7
Guest
n/a Posts
March 12th, 2008
05:25 PM
#3

Re: My website is not working any longer
In news: Join Bytes! - Rik Wasmus wrote :
Quote:
Originally Posted by
Quote:
Originally Posted by
>On Wed, 12 Mar 2008 15:53:29 +0100, <biz@theplayspace.com.auwrote:
Quote:
Originally Posted by
>>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_mimetype
>(<http://nl2.php.net/manual/en/ini.core.php#ini.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



Tim Roberts's Avatar
Tim Roberts
Guest
n/a Posts
March 15th, 2008
05:05 AM
#4

Re: My website is not working any longer
Join Bytes! wrote:
Quote:
Originally Posted by
>
>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, Join Bytes!
Providenza & Boekelheide, Inc.

karotto's Avatar
karotto
Guest
n/a Posts
March 16th, 2008
11:25 AM
#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!

 
Not the answer you were looking for? Post your question . . .
182,494 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors