Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: php stylesheet

    The problem is that the stylesheet does not seem to be detected. So when I go to the site there are no styles rendered, just a white background and the unstyled content. When I view source the stylesheet is linked and is stored at the correct location!!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: php stylesheet

    The /includes/.htaccess file distributed with Zen Cart specifically blocks *.php files from being accessed directly ... because that typically presents a security risk. (And changing that adjusts the risks ...)

    You'll need to add another .htaccess file in your css folder to allow *.php file access or remove the restriction from the /includes/.htaccess ..... or a combination of both.
    .

    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. Adding IE conditional stylesheet
    By oceano in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 15 Jun 2007, 07:36 PM
  2. HowTo include an IE Conditional Comments stylesheet
    By joelfarris in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Jun 2007, 02:33 AM
  3. Need the Zen-ese to call stylesheet through Conditional Comment
    By beejay in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Dec 2006, 02:32 PM

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