Author Topic: Admin not loading css  (Read 4599 times)

Offline josephgodwinke

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
  • Безопасность - иллюзия
    • View Profile
Admin not loading css
« on: May 17, 2017, 05:23:48 AM »
My storefront is working well but admin side is not loading css why? file permissions for admin css are 0755
Я аналитик по безопасности и веб-разработчик. У меня есть работа с PHP

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5796
  • Karma: +274/-2
    • View Profile
Re: Admin not loading css
« Reply #1 on: May 17, 2017, 06:12:27 AM »
Hi.
Open browser console, reload page and see if some warnings in the console

Offline josephgodwinke

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
  • Безопасность - иллюзия
    • View Profile
Re: Admin not loading css
« Reply #2 on: May 17, 2017, 06:38:39 AM »
All JavaScript/Stylesheets result to 403 Forbidden on Firebug console. This looks like a permissions issue. Following rule of thumb just now to see what happens.
« Last Edit: May 17, 2017, 06:43:23 AM by josephgodwinke »
Я аналитик по безопасности и веб-разработчик. У меня есть работа с PHP

Offline josephgodwinke

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
  • Безопасность - иллюзия
    • View Profile
Re: Admin not loading css
« Reply #3 on: May 17, 2017, 10:35:21 AM »
All styles files have the correct file permission 0644 and directories leading to css and jquery at 0755. Admin page is now loading CSS.

NEW ISSUE: After login in my admin panel - I don't have permission to load extensions, content, etc all i get is zero listings under them and sometimes i get a straight 403. I used Filezilla to move my site what is going on? This is the first CMS i am actually getting this kind of problem even my framework installations never act out.

Someone give me a proper guide to all file permissions for all abantecart files (noob request but i cannot do this right now)  :o
« Last Edit: May 17, 2017, 10:37:09 AM by josephgodwinke »
Я аналитик по безопасности и веб-разработчик. У меня есть работа с PHP

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5796
  • Karma: +274/-2
    • View Profile
Re: Admin not loading css
« Reply #4 on: May 18, 2017, 01:16:23 AM »
Hello.
Check list of most important permissions here http://docs.abantecart.com/pages/install/options/regular_installation.html
then clear AbanteCart cache, and enable System Check in admin settings it will report you if some permissions are incorrect too

Offline josephgodwinke

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
  • Безопасность - иллюзия
    • View Profile
Re: Admin not loading css
« Reply #5 on: May 18, 2017, 05:36:31 AM »
Unfortunately, after changing permissions like this:

chmod 0777 system/config.php
chmod 0777 system/
chmod 0777 system/cache/
chmod 0777 system/logs/
chmod 0777 image/
chmod 0777 image/thumbnails/
chmod 0777 download/
chmod 0777 extensions/
chmod 0777 admin/system/backup/ (if exist)
chmod 0777 resources/

Nothing worked. Got straight 403 errors on store and admin panel. This happened to local bitnami LAMP migrate to Production server. Since this warrants a new installation after working on this for 2 days I will have to give up on abantecart because i dont know what more bugs are in store. Lucky I didnt buy any extensions for this. Cheers Basara
Я аналитик по безопасности и веб-разработчик. У меня есть работа с PHP

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Admin not loading css
« Reply #6 on: May 18, 2017, 02:24:48 PM »
This is not related to permissions. To set 777 on the site for everything is a bad idea.
Can you share or PM URL to your admin?
You can inspect in the browser console/net tab to see why CSS is not loaded.
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

 

Powered by SMFPacks Social Login Mod