Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    40
    Plugin Contributions
    0

    Default What file calls csshover.htc?

    I'm having a problem with csshover.htc in IE where "Error: Access is denied to:
    http://pjgscrapbookheaven.com/csshover.htc"

    I'm trying to figure out while file is calling csshover.htc so that I can change the path calling the file.

    I should also note that this error appears on either the www.pjgscrapbookheaven.com or the pjgscrapbookheaven.com, whichever way I do not have it in includes/configure.php.

    If anyone knows where the file is being called or another possible solution besides using mod rewrite to change the .htaccess file please let me know.

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: What file calls csshover.htc?

    The file is usually called in the stylesheet.

    Read the install instructions that come with the particular add-on you are using that requires this htc file.

    also... look at this thread:
    http://www.zen-cart.com/forum/showthread.php?t=115855
    20 years a Zencart User

  3. #3
    Join Date
    Aug 2008
    Posts
    40
    Plugin Contributions
    0

    Default Re: What file calls csshover.htc?

    It's not in my stylesheet.css, or at least I cannot find a reference to it in there.

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: What file calls csshover.htc?

    Have you used:

    admin>>>tools>>>developers toolkit

    ... to find possible references to that htc file ?
    20 years a Zencart User

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: What file calls csshover.htc?

    Quote Originally Posted by schoolboy View Post
    Have you used:

    admin>>>tools>>>developers toolkit

    ... to find possible references to that htc file ?
    If I recall correctly, even as of v1.3.8 the Developers Toolkit only searches .php files; the support for searching .css files (where the reference is likely located for the csshover.htc file) is added in v1.3.9 and newer.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: What file calls csshover.htc?

    Quote Originally Posted by DrByte View Post
    If I recall correctly, even as of v1.3.8 the Developers Toolkit only searches .php files; the support for searching .css files (where the reference is likely located for the csshover.htc file) is added in v1.3.9 and newer.
    ... yes. In my experience it does not search css files... but as OP had indicated that the htc was not in the css, I was wondering if there was a (extremely remote) possibility that a reference to it had somehow been put into a php file.

    DrByte's observation that there are sometimes "several" css files is important.
    20 years a Zencart User

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: What file calls csshover.htc?

    Quote Originally Posted by pjgscrap View Post
    I'm having a problem with csshover.htc in IE where "Error: Access is denied to:
    http://pjgscrapbookheaven.com/csshover.htc"

    I should also note that this error appears on either the www.pjgscrapbookheaven.com or the pjgscrapbookheaven.com, whichever way I do not have it in includes/configure.php.
    Looks like you need a rewrite rule in your .htaccess to insert the www. into the URL if the visitor hasn't typed it themselves.

    Quote Originally Posted by pjgscrap View Post
    I'm trying to figure out while file is calling csshover.htc so that I can change the path calling the file.

    If anyone knows where the file is being called ...
    It's the wrong approach, but ... to answer your question about where it's called from, it's in your stylesheet files ... maybe not in stylesheet.css, but in one of your .css files. (ie: you likely have several .css files in your CUSTOM_TEMPLATE/css/ folder ... start there)
    eg: /includes/templates/sophyblue/css/stylesheet_categories_menu.css
    Quote Originally Posted by pjgscrap View Post
    ... or another possible solution besides using mod rewrite to change the .htaccess file please let me know.
    Honestly, the best solution (if you need to keep the csshover at all) is a fix to .htaccess to make sure all your URLs are always including the "www." prefix (OR always NOT including it if your configure.php files don't use it). Pick one URL style, and stick with it (in both your .htaccess and configure.php) ... best to use whatever your SSL is required to use, to keep it simple.
    It doesn't require "mod_rewrite", just the apache rewrite-engine. There are multiple threads here on the forum discussing the csshover challenges. It's a good thing the csshover file is generally only needed for out-of-date browsers like IE6.

    If you go changing the calling path in the .css file, you're going to run into the same headaches.
    The problem is not a CSS issue ... it's a browser+permissions issue. The only solution is to fix the URL used by the visitor. Or remove the requirement altogether.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. includes/csshover.htc
    By 3601965 in forum General Questions
    Replies: 1
    Last Post: 22 Oct 2010, 11:45 AM
  2. csshover.htc denied
    By MFP in forum Basic Configuration
    Replies: 19
    Last Post: 20 Sep 2010, 03:18 AM
  3. Getting "File does not exist" for csshover.htc in Error Log
    By Stenrique in forum General Questions
    Replies: 3
    Last Post: 18 Dec 2008, 06:32 PM
  4. csshover.htc
    By Liyana in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 23 Sep 2007, 03:11 AM
  5. CSS Menu csshover.htc problem
    By ptjedi in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 24 May 2007, 12:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg