Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2007
    Posts
    270
    Plugin Contributions
    0

    Default Stylesheet not loading

    I have installed two 1.3.9a on ISP under folders; using the same database but with prefix, but none of them display correctly (no template). These are just default set-ups, nothing fancy, one with default products the other without.
    This is a response from ISP:
    The path of your zencart was set to point to the /docs not /docs/zen139.

    So that maybe the issue of the image and template not loading in zencart, as they are pointing to an incorrect location
    .

    To best of my knowledge, both pass are created correctly like this.

    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/Zen139/admin/');
    define('DIR_WS_CATALOG', '/Zen139/');
    define('DIR_WS_HTTPS_ADMIN', '/Zen139/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/Zen139/');
    define('DIR_FS_ADMIN', '/var/www/domains/stores.y2000.on.ca/docs/Zen139/admin/');
    define('DIR_FS_CATALOG', '/var/www/domains/stores.y2000.on.ca/docs/Zen139/');

    Test site: http://stores.y2000.on.ca/Zen139

    Where should I look??

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Stylesheet not loading

    Your hosting company's server must not like the rules inside your /includes/.htaccess file.

    You'll know you've fixed it when this link brings up a stylesheet instead of a Internal Server Error:
    http://stores.y2000.on.ca/Zen139/inc...stylesheet.css
    .

    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.

  3. #3
    Join Date
    Nov 2007
    Posts
    270
    Plugin Contributions
    0

    Default Re: Stylesheet not loading

    Quote Originally Posted by DrByte View Post
    Your hosting company's server must not like the rules inside your /includes/.htaccess file.

    You'll know you've fixed it when this link brings up a stylesheet instead of a Internal Server Error:
    http://stores.y2000.on.ca/Zen139/inc...stylesheet.css
    I have just what was created...??

    # deny *everything*
    <FilesMatch ".*">
    Order Allow,Deny
    Deny from all
    </FilesMatch>

    # but now allow just *certain* necessary files:
    <FilesMatch ".*\.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$">
    Order Allow,Deny
    Allow from all
    </FilesMatch>

    IndexIgnore */*

    OPTIONS -Indexes -ExecCGI

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Stylesheet not loading

    Try putting a # in front of the last line that starts with OPTIONS
    .

    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.

  5. #5
    Join Date
    Nov 2007
    Posts
    270
    Plugin Contributions
    0

    Default Re: Stylesheet not loading

    Quote Originally Posted by DrByte View Post
    Try putting a # in front of the last line that starts with OPTIONS
    Thank you that was it!
    Is there any special reason for that line? Should I be watching for some "fallout" because I took it out?
    Veronika

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Stylesheet not loading

    It just means you're no longer protected against hackers uploading rogue image files that actually contain program files that have just been renamed to look like images.
    Perhaps your hosting company has suggestions for other ways to protect you against that. You'll have to sort that out with them directly.
    .

    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. v155 Stylesheet not loading. Why?
    By sfatula in forum General Questions
    Replies: 6
    Last Post: 17 Aug 2016, 02:33 PM
  2. Admin stylesheet not loading in Chrome
    By deepfrydaniel in forum General Questions
    Replies: 15
    Last Post: 12 Oct 2011, 03:22 PM
  3. Custom Stylesheet not loading
    By mactedder in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Aug 2011, 01:53 PM
  4. Stylesheet not loading on IE 6,7 and FF
    By choffman in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 5 Apr 2007, 05:24 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR