The .PHP .CSS file does not render on my host
-
I noticed that the Easy Fancybox plug-in was not working when I transferred a site for a client from another platform to our own. I viewed the source in Firefox and then tried to view the .css file. Instead of loading a .css file with styles, it actually loaded the entire PHP contents of the “easy-fancybox.css.php” file:
<?php /* ------------------------------------- Easy Fancybox Styleheet Conversion ------------------------------------- */ header('Content-type: text/css; charset=utf-8', true); ob_start("iepathfix_compress");
And it goes on. Obviously there is a setting on the server end that prevents the .php file from parsing as a .css file.
However, why is the plug-in relying on such a variable? I mean, it seems like the only reason for this .php.css file is for version control–however there is only the one version in the first place. It seems like it creates more problems than its worth.
For both the sites I have manually included the .css file and it works fine.
Thanks!
- The topic ‘The .PHP .CSS file does not render on my host’ is closed to new replies.