View unanswered posts | View active topics It is currently Mon Oct 15, 2018 8:42 am

Reply to topic  [ 1 post ] 
 *.htc file being offered to download and site not displaying 
Author Message

Joined: Wed Jan 25, 2012 8:14 pm
Posts: 1
Post *.htc file being offered to download and site not displaying
Hello, I've inherited a Joomla website with a template which uses CSS3PIE. For the most part the site works. But sometimes, and this is randomly, it stops working and offers the .htc file for download. Regardless as to which page on the site I try to go to, and regardless as to which browser I'm using the .htc file is offered for download. This continues until I restart the Apache service, then everything goes back to normal.

I've added "AddType text/x-component .htc" line to my httpd.conf thinking this might fix the problem, but nothing.

So then I added the "text/x-component htc" to my mime.types file but the behavior continues.

Here's the snippet on the template's index.php that references the PIE.php file. Not sure if this helps

   <!--[if lt IE 9]>

      <style type="text/css">
         .border{ behavior:url(<?php echo $path ?>/PIE.php) }
   <link rel="stylesheet" href="<?php echo $path ?>/css/constant.css" type="text/css" />
   <link rel="stylesheet" href="<?php echo $path ?>/css/template.css" type="text/css" />

    .navigation .menu > li#current.parent > a, .navigation .menu > li.parent > a:hover, .navigation .menu > li.sfHover > a, .navigation .menu li ul, .inner, .lof-articlessroller .lof-inner, .error dd ul {
          behavior:url(<?php echo $path ?>/PIE.php)

Wed Jan 25, 2012 8:34 pm
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.