Author Topic: Page doesn't load CSS  (Read 11524 times)

Offline forever21

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Page doesn't load CSS
« on: December 07, 2013, 03:06:17 PM »
Hi, i have a really big problem, suddenly the page doesn't load the CSS!!
The file (style.css) is in the correct place( I mean it wasn't moved by accident)
It's just that... until i could solved it, i switched it to Maintance Mode..
Hope you know what's going on...and how to solve it.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2170
  • Karma: +345/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Page doesn't load CSS
« Reply #1 on: December 08, 2013, 06:50:01 PM »
1. try to view file by direct url.
2. check permissions
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline forever21

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Page doesn't load CSS
« Reply #2 on: December 09, 2013, 09:03:37 AM »
Hi, abolado.
Option 1: view the file by direct url.
You mean the style.css, right? Well, when i write the url just like i see it at Filezilla for example, a can see de file; but when I try to view it by inspecting the code (view source code in the context menu) and clicking the link: <link href="storefront/view/default_html5/stylesheet/style.css"> i don't see the css, i see the html without any format. It's very strange that i click the css link and i get the html... isn't it?
Well..looking a little bit deeper, the difference between both views (at the address bar) follow like this:

When I see the file with no trouble: /storefront/view/default_html5/stylesheet/style.css
When I click the link in the html: /index.php/storefront/view/default_html5/stylesheet/style.css

I don't know if it has something to do with the problem... but it's the only thing I see..
Option 2: chek permissions.

Well...  I checked it and its  644 for the css file... i think it's ok, any way i changed it to 764 just to see what happens... and... nothing happens... :(

The page was up and running, and from one day to the other... i found it with no style at all...
Thank you very much for your time... hope you could help me..

Can i back up the database just in case...? I would really hate to add al items and options... and promotions.. and user... again.. :(

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2170
  • Karma: +345/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Page doesn't load CSS
« Reply #3 on: December 09, 2013, 10:11:48 AM »

When I see the file with no trouble: /storefront/view/default_html5/stylesheet/style.css
When I click the link in the html: /index.php/storefront/view/default_html5/stylesheet/style.css

see the problem?
what your setting value  storeURL in admin->settings->details?
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline forever21

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Page doesn't load CSS
« Reply #4 on: December 11, 2013, 10:50:06 AM »
Hi again abolado... store URL value is "http : / / forever - 21 . com . uy /"... it has been working fine until now...
And.. even more important... it's working fine right now!! The same way it started to happen... it came to an end... suddenly and doing nothing..., no idea what happened..and i'm actually not very quiet  :-\
Perhaps (i hope) a hosting error..
In conclusion, it's now working, but i feel worse than when it was not working.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2170
  • Karma: +345/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Page doesn't load CSS
« Reply #5 on: December 11, 2013, 02:09:37 PM »
Perhaps (i hope) a hosting error..
yes.. looks so... :-\
let me know when it broke again.

best regards
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod