Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

IE6 Downloads php files!!


schneckster

Recommended Posts

Hi,

 

Any ideas on this one? When I try and view the catalog, I get the old "...trying to download a file. Are you sure?" type message box. Instead of seeing the page in the browser, I get Notepad popping up with the text of the php file it's trying to read!

 

Just before I started getting this problem, it reported the error that it could write to config.php and that I should change the file permissions to stop that. Five minutes before, I wasn't getting this. The thing is, I haven't touched anything! I haven't altered anything in any php files, I haven't changed permissions or anything else.

 

All I have done is add and remove products through Admin and check the shopping cart for functionality. That's all I've done.

 

Thanks for any help,

 

Schneckster

Link to comment
Share on other sites

I think I've sussed it.

 

For some reason, things are not defaulting to the index.php file when you type in the url. What I mean is, type in domain.co.uk/catalog/ and you get a file download thing. Type in domain.co.uk/catalog/index.php and you get the site.

 

I don't understand why it's doing that, though, so I think it's a call to my host to find out.

 

Cheers,

 

Schneckster

Link to comment
Share on other sites

Can you provide a link?

What permissions are on the file you are trying to view?

Which file is it trying to download?

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

I'll post the link later when I can check the file permissions. I'm unable to get to my server from this pc so I can't check these things right now.

 

However, since this is just a recoloured version of the default osC set up, the permissions will be whatever osC set them at, won't they? All I have changed is colours with the CSS and content through Admin.

 

The file it downloads instead of showing in the browser is index.php. As I said, it was working OK earlier, but now, for some reason, nothing will default to "index.*" like it would do normally from the /catalog/ folder.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...