Zen Cart Logo
Forums / Basic Configuration / Missing Icons in Admin

Missing Icons in Admin

Locked

Views: 1,636

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
22 Feb 2009, 8:58 AM
#1
dthomas avatar

dthomas

New Zenner

Join Date:
Feb 2009
Posts:
13
Plugin Contributions:
0

Missing Icons in Admin

This is a minor problem but rather annoying.

My icons have disappeared from admin.

This only happens when using the English language, but in Finnish language, all the icons appear.

I have compared files between the admin->languages folders and do not see any differences.

The files english.php and finnish.php are the same (except language difference).

Any ideas where to look for a solution? I have tried re-uploading all icon images to the correct folder but nothing has changed.

22 Feb 2009, 9:00 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Missing Icons in Admin

Have you looked specifically at the admin/includes/languages/english/images/buttons folder?

22 Feb 2009, 9:10 AM
#3
dthomas avatar

dthomas

New Zenner

Join Date:
Feb 2009
Posts:
13
Plugin Contributions:
0

Re: Missing Icons in Admin

kuroi:

Have you looked specifically at the admin/includes/languages/english/images/buttons folder?

Yup, everything is there.

Only thing that looks weird is there are two areas for icons.

/zencart2/admin/includes/languages/english/images/buttons/

/zencart2/admin/includes/languages/english/images/buttons/buttons/english

24 Feb 2009, 6:57 AM
#4
dthomas avatar

dthomas

New Zenner

Join Date:
Feb 2009
Posts:
13
Plugin Contributions:
0

Re: Missing Icons in Admin

sorry, to clarify...

Everything is there, but the icons are still not appearing.

Ideas where to start?

24 Feb 2009, 3:50 PM
#5
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Missing Icons in Admin

Taking an overview of the issue. Icons are language independent, so the same code is used to display the same images whether you're using Finnish or English.

Buttons are language dependent, but that involves simply inserting the right language name into the file path. That's more likely (athough the chances are small) to have a language-related problem, but you've confirmed that the files are in the right place (though the suggestion that there are two sets for English is a bit worrying) and that it's the icons with the problem anyway.

The way I would seek to debug this is to find the zen_image function that is inserting one of the missing icons and echo out the path to the image file. Then, I'd follow the trail to that specific image to see if I can find a reason for its absence.

4 Jun 2009, 6:49 PM
#6
brewster19 avatar

brewster19

New Zenner

Join Date:
Jun 2009
Posts:
1
Plugin Contributions:
0

Re: Missing Icons in Admin

Version 1.3.8a
No upgrades, addition, changes, etc.

I have the same problem with the missing images in admin, but it has only been going on for the past hour since got my SSL certificate and made changes to the configure.php files as follows:

ADMIN/INCLUDES:
define('HTTP_SERVER', 'https://court-doctor.com');
define('HTTPS_SERVER', 'https://court-doctor.com');
define('HTTP_CATALOG_SERVER', 'https://court-doctor.com');
define('HTTPS_CATALOG_SERVER', 'https://court-doctor.com');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');
SHOP/INCLUDES:
define('HTTP_SERVER', 'https://court-doctor.com');
define('HTTPS_SERVER', 'https://court-doctor.com');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');

My cPanel Hotlinks Protection has these allowed referers:
http://court-doctor.com
http://www.court-doctor.com
https://court-doctor.com

At first, my images were gone in both my shop online and the admin, but the images for the shop came back when I noticed the URL address for the shop started as "http" and I added "http://court-doctor.com" to the hotlinks protection list.

It's gotta be something simple I've put in/not put in configure.php files.