Connecting Tech Pros Worldwide Help | Site Map

My website is not working any longer

 
LinkBack Thread Tools Search this Thread
  #1  
Old March 12th, 2008, 02:55 PM
biz@theplayspace.com.au
Guest
 
Posts: n/a
Default 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

  #2  
Old March 12th, 2008, 03:05 PM
Rik Wasmus
Guest
 
Posts: n/a
Default 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, 05:25 PM
Joker7
Guest
 
Posts: n/a
Default 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, 05:05 AM
Tim Roberts
Guest
 
Posts: n/a
Default 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, 11:25 AM
karotto
Guest
 
Posts: n/a
Default 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!
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.