Page 3 of 3 FirstFirst 123
Results 21 to 29 of 29
  1. #21
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: CSS problems - Stylesheet won't load

    .htaccess can be used to handle security, and to deny access to files that people have no business touching ... namely .php files.

    Some hosting configurations don't like letting you set security at the per-folder level that way (IMO that's because they don't really understand security and just operate in "scared" mode instead of truly being functional and secure at the same time).
    In those cases, deleting or renaming the .htaccess file effectively removes it from the equation.

    If you're still seeing errors about reading a .htaccess file ... then ... it probably still exists. Either you're doing your changes in the wrong place or you're dealing with something beyond your control.

    Again, talk to your hosting company about the problem.
    .

    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.

  2. #22
    Join Date
    Mar 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: CSS problems - Stylesheet won't load

    Quote Originally Posted by DrByte View Post
    .htaccess can be used to handle security, and to deny access to files that people have no business touching ... namely .php files.

    Some hosting configurations don't like letting you set security at the per-folder level that way (IMO that's because they don't really understand security and just operate in "scared" mode instead of truly being functional and secure at the same time).
    In those cases, deleting or renaming the .htaccess file effectively removes it from the equation.

    If you're still seeing errors about reading a .htaccess file ... then ... it probably still exists. Either you're doing your changes in the wrong place or you're dealing with something beyond your control.

    Again, talk to your hosting company about the problem.
    Sounds good. I'll look into this and post updates here.

  3. #23
    Join Date
    Mar 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: CSS problems - Stylesheet won't load

    So i'm trying to look at this as logically as possible.

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/configure.php:135) in /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/configure.php:135) in /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/init_includes/init_templates.php on line 78
    ™ ™
    Warning: I am able to write to the configuration file: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance.
    The warning is talking about headers being sent out. Well, the problem with every call to a css file is 403 forbidden and they are all located in the head of the document. So is the logo and it is not accessible. But the favicon.ico is located in the head and it still shows up.

    Let us all ponder.

  4. #24
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: CSS problems - Stylesheet won't load

    Cannot modify header information - headers already sent by (output started at /mnt/gs01/herd04/8190/domains/modern-contemporaryfurniture.com/html/includes/configure.php:135) in ...

    Warning: I am able to write to the configuration file: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/configure.php ...
    What's with the different paths being specified?
    .

    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. #25
    Join Date
    Mar 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: CSS problems - Stylesheet won't load

    Quote Originally Posted by DrByte View Post
    What's with the different paths being specified?
    I know, I have no clue what that path is at the top. I'm assuming something with my server. I host through MediaTemple.net by the way.
    So I found this, by setting the permission to 644 on my includes/functions/sessions.php is makes my entire site forbidden, but when it is set to 755 it remains as is with the broken stylesheet. <-- does this spark any ideas?

  6. #26
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: CSS problems - Stylesheet won't load

    Have you talked to your hosting company about this situation?
    .

    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.

  7. #27
    Join Date
    Mar 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: CSS problems - Stylesheet won't load

    Quote Originally Posted by DrByte View Post
    Have you talked to your hosting company about this situation?
    Yeah, I was on the phone with them for about 45 minutes. So they are working on it now and trying to find the source of no permissions.

  8. #28
    Join Date
    Mar 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: CSS problems - Stylesheet won't load

    Quote Originally Posted by johnbtes View Post
    Yeah, I was on the phone with them for about 45 minutes. So they are working on it now and trying to find the source of no permissions.
    I'm just installing a fresh copy and redoing everything. I Love It!

  9. #29
    Join Date
    Mar 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: CSS problems - Stylesheet won't load

    Quote Originally Posted by johnbtes View Post
    I'm just installing a fresh copy and redoing everything. I Love It!
    So i uploaded a new copy of Zen Cart to my server and started copying over files to create the same template, defines, pages and images. Well while doing all this I switched my folders back on my server to check my ez pages on the old template and walla the site worked fine. hmmm. Well now it's fine, but if I set the SSL to true in the config file and go to login or do anything that would render on ssl the stylesheet breaks. So that had to be the initial problem, but how can I get my content so it will work right on the SSL?

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Site won't load CSS until reload
    By smm11 in forum General Questions
    Replies: 2
    Last Post: 26 Jan 2012, 09:34 PM
  2. CSS styles won't load after installing
    By jaycode in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Jun 2007, 01:18 PM
  3. Replies: 39
    Last Post: 5 Jun 2007, 06:42 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