Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 29
  1. #11
    Join Date
    Mar 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: CSS problems - Stylesheet won't load

    Quote Originally Posted by DrByte View Post
    Does your hosting account give you access to the server errorlogs for your site?
    If so, check what messages are in the errorlog. Any 403 errors should be listed there. Hopefully there is also a "reason" listed with the error message.

    If you can't see the logs yourself, contact your hosting company for access or get them to give you a copy of the errorlogs from the last 24 hours etc.
    Here is what the errors all say:

    denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://modern-contemporaryfurniture.com/
    [Fri Apr 04 08:57:37 2008] [crit] [client 12.41.116.10] (13)Permission denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://modern-contemporaryfurniture.com/
    [Fri Apr 04 08:57:37 2008] [crit] [client 12.41.116.10] (13)Permission denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://modern-contemporaryfurniture.com/
    [Fri Apr 04 08:57:37 2008] [crit] [client 12.41.116.10] (13)Permission denied:
    I checked the folders all the way down and there are no other .htaccess files.
    So I changed my .htaccess file back to .htaccess from .htaccess_off and the same error is provided when the .htaccess file is renamed either way.

  2. #12
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: CSS problems - Stylesheet won't load

    Permission denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess
    What are the permissions on the /includes/.htaccess file?
    .

    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. #13
    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 are the permissions on the /includes/.htaccess file?
    the permission is 644

  4. #14
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: CSS problems - Stylesheet won't load

    That would seem normal.
    But, you said this all started happening around the time you were altering your configure.php and changing permissions, right?
    Perhaps you've accidentally changed something else related to permissions.


    Now, something that's puzzling ...
    You said you renamed /includes/.htaccess to htaccess_off
    When you did that, and then checked the server errorlogs, do you keep getting new permissions errors about /includes/.htaccess ?
    You shouldn't.

    So ... what happens if you delete the /includes/.htaccess file altogether? Don't rename it. Just delete it. That gets rid of the permissions issue which would follow the file when you rename it.
    .

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

    Default Re: CSS problems - Stylesheet won't load

    Quote Originally Posted by DrByte View Post
    That would seem normal.
    But, you said this all started happening around the time you were altering your configure.php and changing permissions, right?
    Perhaps you've accidentally changed something else related to permissions.


    Now, something that's puzzling ...
    You said you renamed /includes/.htaccess to htaccess_off
    When you did that, and then checked the server errorlogs, do you keep getting new permissions errors about /includes/.htaccess ?
    You shouldn't.

    So ... what happens if you delete the /includes/.htaccess file altogether? Don't rename it. Just delete it. That gets rid of the permissions issue which would follow the file when you rename it.
    Yes, that same error persisted after renaming and naming back checked many times to make sure.

    I have now deleted the includes/.htaccess and no changes

  6. #16
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: CSS problems - Stylesheet won't load

    Quote Originally Posted by johnbtes View Post
    I have now deleted the includes/.htaccess and no changes
    So, after deleting the file, are the errorlogs *still* logging *new* permission errors?
    .

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

    Default Re: CSS problems - Stylesheet won't load

    Quote Originally Posted by DrByte View Post
    So, after deleting the file, are the errorlogs *still* logging *new* permission errors?

    Yes it is still logging new errors stating:

    denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://modern-contemporaryfurniture.com/
    [Fri Apr 04 10:47:41 2008] [crit] [client 12.41.116.10] (13)Permission denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://modern-contemporaryfurniture.com/
    [Fri Apr 04 10:47:41 2008] [crit] [client 12.41.116.10] (13)Permission denied: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable,
    I go and refresh the webpage http://modern-contemporaryfurniture.com and then go back to my errorlog and there are new logs stating that same error.

  8. #18
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: CSS problems - Stylesheet won't load

    ... and you're sure that you've been working with the correct .htaccess file?
    ie: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess


    Sounds like you need to talk to your hosting company for specific help.
    .

    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.

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

    Default Re: CSS problems - Stylesheet won't load

    Quote Originally Posted by DrByte View Post
    ... and you're sure that you've been working with the correct .htaccess file?
    ie: /home/8190/domains/modern-contemporaryfurniture.com/html/includes/.htaccess


    Sounds like you need to talk to your hosting company for specific help.
    Does this make sense though? For the .htaccess to be affecting the permission of the stylesheets?

    When I went to change the template in the Admin to classic and I just clicked preview it threw a 403 because of the preview image.

    If I just edited and changed the theme I didn't get the 403, just an error talking about my meta tags module.

    I'm not sure why the .htaccess would be doing this?

  10. #20
    Join Date
    Mar 2008
    Posts
    30
    Plugin Contributions
    0

    Default Re: CSS problems - Stylesheet won't load

    Quote Originally Posted by johnbtes View Post
    Does this make sense though? For the .htaccess to be affecting the permission of the stylesheets?

    When I went to change the template in the Admin to classic and I just clicked preview it threw a 403 because of the preview image.

    If I just edited and changed the theme I didn't get the 403, just an error talking about my meta tags module.

    I'm not sure why the .htaccess would be doing this?
    Here is a screenshot.



    If it would help I could send full page screenshots to you showing you any area you would like to see.
    Last edited by johnbtes; 4 Apr 2008 at 07:16 PM. Reason: correction

 

 
Page 2 of 3 FirstFirst 123 LastLast

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