Connecting Tech Pros Worldwide Help | Site Map

My website is not working any longer

  #1  
Old March 12th, 2008, 03:55 PM
biz@theplayspace.com.au
Guest
 
Posts: n/a
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
  #2  
Old March 12th, 2008, 04:05 PM
Rik Wasmus
Guest
 
Posts: n/a

re: My website is not working any longer


On Wed, 12 Mar 2008 15:53:29 +0100, <biz@theplayspace.com.auwrote:
Quote:
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
  #3  
Old March 12th, 2008, 06:25 PM
Joker7
Guest
 
Posts: n/a

re: My website is not working any longer


In news: op.t7wrxbtq5bnjuv@metallium.lan - Rik Wasmus wrote :
Quote:
Quote:
>On Wed, 12 Mar 2008 15:53:29 +0100, <biz@theplayspace.com.auwrote:
Quote:
>>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


  #4  
Old March 15th, 2008, 06:05 AM
Tim Roberts
Guest
 
Posts: n/a

re: My website is not working any longer


biz@theplayspace.com.au wrote:
Quote:
>
>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.
  #5  
Old March 16th, 2008, 12:25 PM
karotto
Guest
 
Posts: n/a

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!
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
ORDER BY in VIEW not working Beowulf answers 104 March 25th, 2006 01:05 AM
framework 1.1 sp1 and suddenly server.transfer not working Jack Fox answers 3 November 18th, 2005 09:59 PM
imagecreatefromjpeg not working Mike answers 4 July 17th, 2005 03:16 AM
What is/is not considered to be good OO programming Tony Marston answers 52 July 17th, 2005 02:43 AM