Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2016
    Location
    Florida
    Posts
    3
    Plugin Contributions
    0

    Default CSS not working on admin panel?

    I decided to do a test install of zen cart on a domain I'm not using so I could fool around with it and not worry to much about the outcome.

    My web host doesn't want me using the super user account because it's bad security and something about using resources that aren't needed. First problem is that when setting up a user for the database I wasn't able to give it the file privilege.

    What Zen Cart says it needs as privileges:

    SELECT
    INSERT
    UPDATE
    DELETE
    FILE (not used by core code, but easiest to leave it checked)
    CREATE
    ALTER
    INDEX
    DROP
    CREATE TEMPORARY TABLES
    LOCK TABLES

    I was able to give it all the others though. I've contacted my web host about that. So hopefully they'll be able to help me there. It says not used by core code, but easiest to leave it checked. Does that means it's optional?

    Then I actually had to disable htaccess in the install folder to get it to run. Since I deleted that folder after installation that's not a big deal but it strikes me as weird :-/

    However, now that I have it installed both my admin panel and the zen cart site, as I have it installed so far, is just a list of links. It's seems like the CSS isn't working.

    http://www.hauntingcreations.com/index.php

    Anyone have any suggestions? Reinstall? Maybe file permissions somewhere are set wrong? Or...?

    This is my time with Zen Cart and it's not being gentle with me :-/ :-)

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: CSS not working on admin panel?

    find below the list of GET requests that fail because of a 500 internal server error response. Send that to your host for evaluation.

    Code:
    http://www.hauntingcreations.com/includes/templates/responsive_classic/css/stylesheet.css [HTTP/1.1 500 Internal Server Error 116ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/css/stylesheet_colors.css [HTTP/1.1 500 Internal Server Error 231ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/css/stylesheet_css_buttons.css [HTTP/1.1 500 Internal Server Error 247ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/css/print_stylesheet.css [HTTP/1.1 500 Internal Server Error 247ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/jscript/jscript_matchHeight-min.js [HTTP/1.1 500 Internal Server Error 247ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/css/responsive.css [HTTP/1.1 500 Internal Server Error 263ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/css/responsive_default.css [HTTP/1.1 500 Internal Server Error 363ms]
    http://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css [HTTP/1.1 200 OK 116ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/images/logo.gif [HTTP/1.1 500 Internal Server Error 477ms]
    http://www.hauntingcreations.com/images/dvd/frantic.gif [HTTP/1.1 500 Internal Server Error 485ms]
    http://www.hauntingcreations.com/images/dvd/courage_under_fire.gif [HTTP/1.1 500 Internal Server Error 490ms]
    http://www.hauntingcreations.com/images/dvd/speed.gif [HTTP/1.1 500 Internal Server Error 261ms]
    http://www.hauntingcreations.com/images/dvd/theres_something_about_mary.gif [HTTP/1.1 500 Internal Server Error 269ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/images/stars_5.png [HTTP/1.1 500 Internal Server Error 448ms]
    http://www.hauntingcreations.com/images/samples/4_small.jpg [HTTP/1.1 500 Internal Server Error 452ms]
    http://www.hauntingcreations.com/images/call_for_price.jpg [HTTP/1.1 500 Internal Server Error 457ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/images/call_for_prices.png [HTTP/1.1 500 Internal Server Error 463ms]
    http://www.hauntingcreations.com/images/banners/125x125_zen_logo.gif [HTTP/1.1 500 Internal Server Error 468ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/images/zencart-book.png [HTTP/1.1 500 Internal Server Error 613ms]
    http://www.hauntingcreations.com/images/dvd/a_bugs_life.gif [HTTP/1.1 500 Internal Server Error 593ms]
    http://www.hauntingcreations.com/images/dvd/under_siege.gif [HTTP/1.1 500 Internal Server Error 587ms]
    http://www.hauntingcreations.com/images/dvd/fire_down_below.gif [HTTP/1.1 500 Internal Server Error 240ms]
    http://www.hauntingcreations.com/images/dvd/youve_got_mail.gif [HTTP/1.1 500 Internal Server Error 592ms]
    http://www.hauntingcreations.com/images/dvd/die_hard_3.gif [HTTP/1.1 500 Internal Server Error 660ms]
    http://www.hauntingcreations.com/images/dvd/under_siege2.gif [HTTP/1.1 500 Internal Server Error 691ms]
    http://www.hauntingcreations.com/images/dvd/lethal_weapon.gif [HTTP/1.1 500 Internal Server Error 705ms]
    http://www.hauntingcreations.com/images/dvd/red_corner.gif [HTTP/1.1 500 Internal Server Error 714ms]
    http://www.hauntingcreations.com/images/microsoft/imexplorer.gif [HTTP/1.1 500 Internal Server Error 724ms]
    http://www.hauntingcreations.com/images/hewlett_packard/lj1100xi.gif [HTTP/1.1 500 Internal Server Error 219ms]
    http://www.hauntingcreations.com/images/samples/5_small.jpg [HTTP/1.1 500 Internal Server Error 812ms]
    http://www.hauntingcreations.com/images/samples/2_small.jpg [HTTP/1.1 500 Internal Server Error 817ms]
    http://www.hauntingcreations.com/images/samples/1_small.jpg [HTTP/1.1 500 Internal Server Error 826ms]
    http://www.hauntingcreations.com/images/test_demo.jpg [HTTP/1.1 500 Internal Server Error 838ms]
    http://www.hauntingcreations.com/images/sooty.jpg [HTTP/1.1 500 Internal Server Error 878ms]
    http://www.hauntingcreations.com/images/2_small.jpg [HTTP/1.1 500 Internal Server Error 1040ms]
    http://www.hauntingcreations.com/images/banners/bw_zen_88wide.gif [HTTP/1.1 500 Internal Server Error 1046ms]
    http://www.hauntingcreations.com/images/banners/tall-book.gif [HTTP/1.1 500 Internal Server Error 1052ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/jscript/jscript_matchHeight-min.js [HTTP/1.1 500 Internal Server Error 117ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/css/responsive.css [HTTP/1.1 500 Internal Server Error 126ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/css/responsive_default.css [HTTP/1.1 500 Internal Server Error 131ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/images/logo.gif [HTTP/1.1 500 Internal Server Error 112ms]
    http://www.hauntingcreations.com/images/dvd/frantic.gif [HTTP/1.1 500 Internal Server Error 111ms]
    http://www.hauntingcreations.com/images/dvd/courage_under_fire.gif [HTTP/1.1 500 Internal Server Error 117ms]
    http://www.hauntingcreations.com/images/dvd/speed.gif [HTTP/1.1 500 Internal Server Error 123ms]
    http://www.hauntingcreations.com/images/dvd/theres_something_about_mary.gif [HTTP/1.1 500 Internal Server Error 128ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/images/stars_5.png [HTTP/1.1 500 Internal Server Error 148ms]
    http://www.hauntingcreations.com/images/samples/4_small.jpg [HTTP/1.1 500 Internal Server Error 223ms]
    http://www.hauntingcreations.com/images/call_for_price.jpg [HTTP/1.1 500 Internal Server Error 224ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/images/call_for_prices.png [HTTP/1.1 500 Internal Server Error 229ms]
    http://www.hauntingcreations.com/images/banners/125x125_zen_logo.gif [HTTP/1.1 500 Internal Server Error 234ms]
    http://www.hauntingcreations.com/includes/templates/responsive_classic/images/zencart-book.png [HTTP/1.1 500 Internal Server Error 553ms]
    http://www.hauntingcreations.com/images/dvd/a_bugs_life.gif [HTTP/1.1 500 Internal Server Error 240ms]
    http://www.hauntingcreations.com/images/dvd/under_siege.gif [HTTP/1.1 500 Internal Server Error 254ms]
    http://www.hauntingcreations.com/images/dvd/fire_down_below.gif [HTTP/1.1 500 Internal Server Error 317ms]
    http://www.hauntingcreations.com/images/dvd/youve_got_mail.gif [HTTP/1.1 500 Internal Server Error 324ms]
    http://www.hauntingcreations.com/images/dvd/die_hard_3.gif [HTTP/1.1 500 Internal Server Error 330ms]
    http://www.hauntingcreations.com/images/dvd/under_siege2.gif [HTTP/1.1 500 Internal Server Error 340ms]
    http://www.hauntingcreations.com/images/dvd/lethal_weapon.gif [HTTP/1.1 500 Internal Server Error 350ms]
    http://www.hauntingcreations.com/images/dvd/red_corner.gif [HTTP/1.1 500 Internal Server Error 363ms]
    http://www.hauntingcreations.com/images/microsoft/imexplorer.gif [HTTP/1.1 500 Internal Server Error 427ms]
    http://www.hauntingcreations.com/images/hewlett_packard/lj1100xi.gif [HTTP/1.1 500 Internal Server Error 433ms]
    http://www.hauntingcreations.com/images/samples/5_small.jpg [HTTP/1.1 500 Internal Server Error 443ms]
    http://www.hauntingcreations.com/images/samples/2_small.jpg [HTTP/1.1 500 Internal Server Error 453ms]
    http://www.hauntingcreations.com/images/samples/1_small.jpg [HTTP/1.1 500 Internal Server Error 466ms]
    http://www.hauntingcreations.com/images/test_demo.jpg [HTTP/1.1 500 Internal Server Error 479ms]
    http://www.hauntingcreations.com/images/sooty.jpg [HTTP/1.1 500 Internal Server Error 512ms]
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: CSS not working on admin panel?

    I had found recently on one install of ZC 1.5.5 that the change(s) made to the .htaccess files by including \i I think it was, caused a similar issue on the server. When I reverted just that portion of the .htaccess files to what was in the ZC 1.5.4 version, then formatting, images, etc was restored.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Sep 2016
    Location
    Florida
    Posts
    3
    Plugin Contributions
    0

    Default Re: CSS not working on admin panel?

    When I reverted just that portion of the .htaccess files to what was in the ZC 1.5.4 version, then formatting, images, etc was restored.

    Do you recall what it was it 1.5.4?

  5. #5
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: CSS not working on admin panel?

    Quote Originally Posted by 884RandomGuy741 View Post
    When I reverted just that portion of the .htaccess files to what was in the ZC 1.5.4 version, then formatting, images, etc was restored.

    Do you recall what it was it 1.5.4?
    Actually, now that I have thought a little more on it and looked at the .htaccess files of the two versions and seen no difference in the area in question, I realized that when doing the upgrade that I fell back on the original .htaccess file for comparison which was from 1.3.9 or older.

    Anyways, the addition of the case insensitive "flag" was causing an issue: (?i). Could have/possibly should have taken it up with the host, (still can because addressing some other things like trying to get PHP to a higher version.)

    I do see on github that the 1.5.0 version is slightly different and doesn't contain the (?i) regex.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Sep 2016
    Location
    Florida
    Posts
    3
    Plugin Contributions
    0

    Default Re: CSS not working on admin panel?

    So after checking my error log and googling:

    .htaccess: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

    I found that there has been some changes in Apache from 2.2 to 2.4. This page documents some of them:

    https://httpd.apache.org/docs/trunk/upgrading.html

    Basically it says:

    2.2 configuration:

    Order deny,allow
    Deny from all

    2.4 configuration:

    Require all denied

    In this example, all requests are allowed.

    2.2 configuration:

    Order allow,deny
    Allow from all

    2.4 configuration:

    Require all granted


    But I cannot find what

    Order Allow,Deny
    Deny from all

    has been changed to. Does anyone know, or know where I can find what the change in Apache 2.4 is?

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

    Default Re: CSS not working on admin panel?

    Quote Originally Posted by 884RandomGuy741 View Post
    I found that there has been some changes in Apache from 2.2 to 2.4. This page documents some of them:

    Does anyone know, or know where I can find what the change in Apache 2.4 is?
    See https://github.com/zencart/zencart/c...51adbff7f7ff14
    .

    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. Can't log into admin panel store not showing CSS styles/template
    By Jennsweb in forum Basic Configuration
    Replies: 2
    Last Post: 10 Jan 2014, 08:29 AM
  2. Admin Panel not working
    By adkarfa in forum General Questions
    Replies: 1
    Last Post: 13 Apr 2011, 10:19 AM
  3. ups xml add on not working in admin panel
    By vregali in forum Addon Shipping Modules
    Replies: 0
    Last Post: 22 Dec 2010, 03:44 AM
  4. admin panel search / filter not working
    By urbanroute in forum Customization from the Admin
    Replies: 1
    Last Post: 21 Jun 2007, 10:12 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