Connecting Tech Pros Worldwide Forums | Help | Site Map

My website is not working any longer

biz@theplayspace.com.au
Guest
 
Posts: n/a
#1: Mar 12 '08
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
Guest
 
Posts: n/a
#2: Mar 12 '08

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
Joker7
Guest
 
Posts: n/a
#3: Mar 12 '08

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


Tim Roberts
Guest
 
Posts: n/a
#4: Mar 15 '08

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.
karotto
Guest
 
Posts: n/a
#5: Mar 16 '08

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