Forums / General Questions / csshover.htc causing 404 errors

csshover.htc causing 404 errors

Results 1 to 11 of 11
29 Feb 2012, 12:50
#1
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Posts:
825
Plugin Contributions:
0

csshover.htc causing 404 errors

I am having a bit of trouble trying to persuade my web hosting company (NativeSpace) that the problem is with them and not with Zencart.

They are saying that 'csshover.htc' is causing my site to switch over to the 'IE error 404'.

I have two versions of Zencart loaded to two different sub-folders and both are causing this error.

If you wish to have a look at the problem;

www.edencraftssupplies.co.uk/shop - V1.3.9h

and

http://www.edencraftsupplies.co.uk/v15 V1.5

Click on any link to see what happens.

This problem is only with Internet Explorer (my is v9), it does not seam to affect any other browser. I am running Windows 7, I am unable to check anyother version.

I have only loaded one theme, to both versions.

Their comment is '...This actually seems to be an issue with Internet Explorer; Firefox and Chrome work normally, but IE is trying to load public_html/edencraftsupplies.co.uk/shop/csshover.htc and failing. It seems like a problem in the stylesheet....'

I would like somebody just to check this out and prove who is correct.

Thanks
29 Feb 2012, 13:02
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: csshover.htc causing 404 errors

That's because your /includes/templates/iC_AthemeV1.3/css/stylesheet_header_menu.css file contains a call to csshover.htc:
body {  
	behavior: url(csshover.htc);
	}
	

Only IE needs csshover.htc because it's the only browser that isn't smart enough to do css hover effects on its own without the aid of helps.

And, attempting to access /shop/csshover.htc on your server fails ... as in the file isn't found.

Your simplest fix is to upload the csshover.htc file to your /shop/ folder so that IE can find it when it needs it.
29 Feb 2012, 18:26
#3
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Posts:
825
Plugin Contributions:
0

Re: csshover.htc causing 404 errors

Where can I get this file as it is not in the unpacked version of v1.5? Also when I have a copy of the file for v1.5 will it also work with v1.3.9h?
29 Feb 2012, 18:39
#4
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Posts:
825
Plugin Contributions:
0

Re: csshover.htc causing 404 errors

Another bit; can I remove that part of the script so that it is not called?
29 Feb 2012, 19:20
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: csshover.htc causing 404 errors

That file doesn't come with Zen Cart. It comes from your addons, most likely from the template you chose to install.
29 Feb 2012, 19:39
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Posts:
10,324
Plugin Contributions:
0

Re: csshover.htc causing 404 errors

Dr Byte is correct. The HTC file is packed in with the menu add-on you have installed. Just grab it and FTP it to the server.
29 Feb 2012, 20:12
#7
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Posts:
825
Plugin Contributions:
0

Re: csshover.htc causing 404 errors

DrByte:

That file doesn't come with Zen Cart. It comes from your addons, most likely from the template you chose to install.


I have had a look through the addon I have used, iC_AthemeV1.3, and does not have the file
29 Feb 2012, 20:27
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: csshover.htc causing 404 errors

As I said before, the stylesheet_header_menu.css file located in your /includes/templates/iC_AthemeV1.3/css/ folder is the one which is making reference to the csshover.htc file.

So, either delete that .css file if it's not actually needed for anything you're using on your site, or finish correctly installing all the components that came with the addon that it came from.

Maybe it didn't come with your template. But, it certainly came from some set of files that you added yourself.
29 Feb 2012, 20:28
#9
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Posts:
10,324
Plugin Contributions:
0

Re: csshover.htc causing 404 errors

You're not looking hard enough...
\icatheme_zen_cart_css_template_v1-3\includes\templates\iC_AthemeV1.3\css\csshover.htc

If it's not there, just go grab another copy of the template.
01 Mar 2012, 14:06
#10
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Posts:
825
Plugin Contributions:
0

Re: csshover.htc causing 404 errors

OK found the file opened it only to find it is a blank file. Thanks I will remove the reference for the 'stylesheet_header_menu.css' file and see what happens then.

Thanks for your time:clap:
22 Oct 2012, 19:04
#11
kjflorence avatar

kjflorence

New Zenner

Join Date:
Sep 2007
Posts:
15
Plugin Contributions:
0

Re: csshover.htc causing 404 errors

I came across this same problem. This file does not seem to be needed now. I renamed it and removed the reference to it in the css file. The IE cache had to be cleared before it would work, but now, login is possible from IE.


DrByte:

That's because your /includes/templates/iC_AthemeV1.3/css/stylesheet_header_menu.css file contains a call to csshover.htc:
body {  
	behavior: url(csshover.htc);
	}
	

Only IE needs csshover.htc because it's the only browser that isn't smart enough to do css hover effects on its own without the aid of helps.

And, attempting to access /shop/csshover.htc on your server fails ... as in the file isn't found.

Your simplest fix is to upload the csshover.htc file to your /shop/ folder so that IE can find it when it needs it.