Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-12-2007, 09:48 AM   PM User | #1
lashley
Regular Coder

 
Join Date: Jan 2007
Posts: 117
Thanks: 1
Thanked 2 Times in 2 Posts
lashley is an unknown quantity at this point
Unable to open this webpage - please help...

Hi,

I am trying to access one of my site pages:
link removed

but my browser (both IE and firefox) is not loading it, but treating it as if was a download.

It seems that all files in the folder /links like this one too have same problem:
link removed

The rest of site pages all work great.

On the folder links/ which usually works perfectly there is installed a script from autolinkspro.com I did not make any changes at all, but today received the errors.

Any idea please?

Thanks a lot!
Karl
__________________
Spyware cleaner seo tools

Last edited by lashley; 12-13-2007 at 10:18 AM.. Reason: problem solved! Removing links for safety.
lashley is offline   Reply With Quote
Old 12-12-2007, 10:07 AM   PM User | #2
Arbitrator
Senior Coder

 
Arbitrator's Avatar
 
Join Date: Mar 2006
Location: Splendora, Texas, United States of America
Posts: 2,887
Thanks: 5
Thanked 186 Times in 183 Posts
Arbitrator is on a distinguished road
Quote:
Originally Posted by lashley View Post
Any idea please?
Your server is returning the HTTP header Content-Type: application/x-httpd-php5; presumably, what you want is Content-Type: text/html. You need to fix your server configuration so that it sends the desired MIME/media type.

It looks like you’re using Apache and PHP, so perhaps you accidently changed the media type somewhere with a .htaccess file or by use of the PHP header method.
__________________
Please for the love of god stop making IE. You current "browser"s cause me to cry every day. —Phil *
Arbitrator is offline   Reply With Quote
Old 12-12-2007, 10:11 AM   PM User | #3
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
I'm not sure but I beleave the problem is the extension of the page, is html and the server does not know what to do with php code.
try to rename the page as php and if work, add a ApplicationType handler, but this
slow down a litle your server.

The best solution, if that is the problem, is to rename all pages with php extension
.
oesxyl is offline   Reply With Quote
Old 12-12-2007, 10:20 AM   PM User | #4
lashley
Regular Coder

 
Join Date: Jan 2007
Posts: 117
Thanks: 1
Thanked 2 Times in 2 Posts
lashley is an unknown quantity at this point
Hi,

I removed the .htaccess file found in links/ and now this page works:
http://www.deletespyware-adware.com/...resources.html

Not some of the others though... and I have no other .htaccess file

I don't wish to rename all the pages, cause it used to work before, so I prefer to fix what has happened wrong!

Thanks a lot!
Karl
__________________
Spyware cleaner seo tools

Last edited by lashley; 12-12-2007 at 10:28 AM..
lashley is offline   Reply With Quote
Old 12-13-2007, 10:17 AM   PM User | #5
lashley
Regular Coder

 
Join Date: Jan 2007
Posts: 117
Thanks: 1
Thanked 2 Times in 2 Posts
lashley is an unknown quantity at this point
Hi,

The problem is solved today, automatically and I don't know why.
I also removed the links, cause someone told me it is better not to show those links...

Thanks a lot!
Karl
__________________
Spyware cleaner seo tools
lashley is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:43 AM.


Advertisement
Log in to turn off these ads.