Zen Cart Logo
Forums / General Questions / Admin stylesheet not loading in Chrome

Admin stylesheet not loading in Chrome

Views: 1,516

Results 1 to 16 of 16
12 Oct 2011, 3:08 AM
#1
deepfrydaniel avatar

deepfrydaniel

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Admin stylesheet not loading in Chrome

I searched the forums and I can't find anyone else with this problem... it looks like Chrome isn't loading the style sheet for the admin area maybe? Anyone know why I'm the only one having this problem?

12 Oct 2011, 3:15 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Admin stylesheet not loading in Chrome

deepfrydaniel:

it looks like Chrome isn't loading the style sheet for the admin area maybe?

If you can eliminate the 'maybe' we will be in a much better position to advise.

Basically, if it is only the admin with the problem, then it is NOT related to your browser, so this is the first thing that needs to be eliminated (or proven).

deepfrydaniel:

Anyone know why I'm the only one having this problem?

Yes. It is because you have something different with your setup than everyone else. Exactly what is different is something that we can only speculate until/unless you provide a lot more information.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

12 Oct 2011, 4:13 AM
#3
deepfrydaniel avatar

deepfrydaniel

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Admin stylesheet not loading in Chrome

RodG:

Basically, if it is only the admin with the problem, then it is NOT related to your browser, so this is the first thing that needs to be eliminated (or proven).

It is only the admin that shows any problem, but the admin area looks fine in Safari and Firefox. Chrome is the only browser that has this issue.

I'm not really sure what information would be helpful, but I'm happy to provide whatever I can that would be useful.

12 Oct 2011, 4:33 AM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Admin stylesheet not loading in Chrome

deepfrydaniel:

It is only the admin that shows any problem, but the admin area looks fine in Safari and Firefox. Chrome is the only browser that has this issue.

I'm not really sure what information would be helpful, but I'm happy to provide whatever I can that would be useful.

Do you have SSL enabled for you admin functions?

This would be the only other difference that could have an effect (well, the only one that comes to mind at the moment).

If you are using SSL then temporarily disable it to see if the problem goes away.
Please report your findings.

Cheers
Rod.

ps. Even though it looks like a Mac/Chrome issue (and it is almost certainly related, there is also something more to it).

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

12 Oct 2011, 4:54 AM
#5
deepfrydaniel avatar

deepfrydaniel

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Admin stylesheet not loading in Chrome

No, I'm not using SSL.

12 Oct 2011, 5:04 AM
#6
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Admin stylesheet not loading in Chrome

deepfrydaniel:

No, I'm not using SSL.

I'm pretty much out of ideas now.

If I were you (unless someone comes up with other ideas), since the problem apparently only affects your admin section, and since you are probably the only person that will be accessing that part of the site, I'd just forget about the problem, assume that it is a bug in Chrome that is causing the problem (which is very likely), and just use firefox/Safari to administer your site.

I can't think of much else to do. The time it is going to take to positively identify the cause isn't going to be worth the effort. (In my opinion)

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

12 Oct 2011, 5:10 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Admin stylesheet not loading in Chrome

If you note, your logo is also not showing.

Right-click on the logo and choose "Open in new window" (or new tab, whatever). What happens? What's the URL? How does that compare with what the URL should be?

When did this problem first start happening?

Also, please click Reply below and answer all the questions in the Posting Tips section.

.
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.

12 Oct 2011, 5:45 AM
#8
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Admin stylesheet not loading in Chrome

DrByte:

If you note, your logo is also not showing..

Nice catch. :)

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

12 Oct 2011, 11:19 AM
#9
deepfrydaniel avatar

deepfrydaniel

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Admin stylesheet not loading in Chrome

the URL for the image is admin/images/logo.gif... I just checked and it's the same address in the other browsers yet it works fine. I guess this must be a chrome bug... it's not the end of the world, it's just kind of annoying having to keep a second browser open just to use my site's admin section.

12 Oct 2011, 11:28 AM
#11
dgent avatar

dgent

Totally Zenned

Join Date:
Nov 2009
Location:
UK
Posts:
1,117
Plugin Contributions:
0

Re: Admin stylesheet not loading in Chrome

deepfrydaniel:

the URL for the image is admin/images/logo.gif... I just checked and it's the same address in the other browsers yet it works fine. I guess this must be a chrome bug... it's not the end of the world, it's just kind of annoying having to keep a second browser open just to use my site's admin section.

If you type in..

sorrystaterecords.com/admin/images/logo.gif

It says file not found, hence why its not showing up.

12 Oct 2011, 2:00 PM
#12
deepfrydaniel avatar

deepfrydaniel

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Admin stylesheet not loading in Chrome

dgent:

If you type in..

sorrystaterecords.com/admin/images/logo.gif

It says file not found, hence why its not showing up.

Actually, if you type the correct image URL into chrome's address bar it works just fine. I just didn't want to reveal the name of my admin folder for security reasons.

No luck on the Chrome reinstallation, by the way.

12 Oct 2011, 2:16 PM
#13
dgent avatar

dgent

Totally Zenned

Join Date:
Nov 2009
Location:
UK
Posts:
1,117
Plugin Contributions:
0

Re: Admin stylesheet not loading in Chrome

deepfrydaniel:

Actually, if you type the correct image URL into chrome's address bar it works just fine. I just didn't want to reveal the name of my admin folder for security reasons.

No luck on the Chrome reinstallation, by the way.

Do a right click view source on your admin page and see if the stylesheet is actually being loaded? Are you sure on the other browsers its not a cached copy?

12 Oct 2011, 2:19 PM
#14
dgent avatar

dgent

Totally Zenned

Join Date:
Nov 2009
Location:
UK
Posts:
1,117
Plugin Contributions:
0

Re: Admin stylesheet not loading in Chrome

deepfrydaniel:

Actually, if you type the correct image URL into chrome's address bar it works just fine. I just didn't want to reveal the name of my admin folder for security reasons.

No luck on the Chrome reinstallation, by the way.

If it comes up fine when you type it in directly in Chrome, why is it showing a red X on the page then? Right click on the X and click 'open image in new tab' and see what the full URL its using is...

12 Oct 2011, 2:21 PM
#15
deepfrydaniel avatar

deepfrydaniel

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Admin stylesheet not loading in Chrome

dgent:

Do a right click view source on your admin page and see if the stylesheet is actually being loaded? Are you sure on the other browsers its not a cached copy?

Hmmm... it's a link to an external stylesheet (admin/includes/stylesheet.css), so how do I tell if it's being loaded or not?

Last night I actually installed Camino and the admin page works fine on that... I had never used that browser before so I'm pretty sure it's not loading a cached copy.

12 Oct 2011, 2:22 PM
#16
deepfrydaniel avatar

deepfrydaniel

New Zenner

Join Date:
May 2007
Posts:
29
Plugin Contributions:
0

Re: Admin stylesheet not loading in Chrome

Actually, it just occurred to me to empty Chrome's cache and that solved the problem! I guess Chrome had some old cached copy that wasn't working for some reason. Thanks for the help everyone!