Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jun 2010
    Posts
    9
    Plugin Contributions
    0

    Default Images not showing in IE 8 under admin account

    Hi I am new at this so please bear with me. I have searched the FAQ and forum thoroughly and tried to implement some fixes even though they didn't really apply to our problem. And no they did not fix them.

    Our ZenCart store was compromised several months back. I cannot tell you the version number, but that it had not had security updates in awhile. My friend then asked me to handle the security and updating of the store on a regular basis. So, this is when I came in and I really don't know any more on the history or the setup of the site or store configuration. The former webmaster is fixing all of this up for the store owner. I am just making sure that it is patched, secure and functioning properly. So in the future I'll know far more about it.

    The store is the current version 1.3.9 I think it is, and has customized categories, products and images. It does not reside under the main site directory but within a store directory. I have already renamed the admin file and made the necessary changes to the *mysecretadminname* /includes/configure.php file. The store by all appearances was set up and functioning properly, however, when the store owner logged into the admin panel and gave me the password we discovered that the the admin screen does not show the product images, but shows a broken image in IE 8. It works fine for me and I use Firefox. Since the store owner uses and wants to continue using IE 8 I need to fix this glitch.

    The store is located here: http://almostnaturalfishfood.us/
    Thank you so much for any help you can give me. I have spent hours looking at faqs and help files and tweaked the code in several places trying to fix this but nothing works.
    Take care,
    Mary.

  2. #2
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,519
    Plugin Contributions
    0

    Default Re: Images not showing in IE 8 under admin account

    Mary,

    what is your /admin/includes/configure.php file. Can you post the information without your database information?

  3. #3
    Join Date
    Jun 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Images not showing in IE 8 under admin account

    This is my most current version. I have been taking /store out, putting it back in, etc. Doesn't make a difference in IE either way. Always shows correctly in Firefox. IE seems to be wanting to see the images at /store/***/images but the correct image folder is /store/images/

    Is it possible that the actual images need to be under /store/***/images? I haven't tried that for fear that it would break the proper viewing in Firefox.

    I hope you can follow the text below. And that it is enough to tell what I am doing wrong. I am weary about posting any identifiable information due to the past hacking.

    Thanks for any guidance you can give me.
    Mary.

    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // Main webserver: eg-http://www.your_domain.com -
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings

    ...

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/store/***/');
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_ADMIN', '/store/***/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');

    I have also tried:
    define('DIR_WS_ADMIN', '/***/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/***/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/home/accountname/public_html/store/***/');
    define('DIR_FS_CATALOG', '/home/accountname/public_html/store/');

    And:
    define('DIR_FS_ADMIN', '/home/accountname/public_html/***/');
    define('DIR_FS_CATALOG', '/home/accountname/public_html/');


    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

  4. #4
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,519
    Plugin Contributions
    0

    Default Re: Images not showing in IE 8 under admin account

    Ok, try this change this:

    define('DIR_WS_ADMIN', '/store/***/');
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_ADMIN', '/store/***/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');

    to this:

    define('DIR_WS_ADMIN', '/store/admin/');
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_ADMIN', '/store/admin/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');

    let me know if it works

  5. #5
    Join Date
    Jun 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Images not showing in IE 8 under admin account

    Thanks so much for the suggestion. But that did not work. In fact, I couldn't get to the admin panel after I did that. It suggested that I check the configure.php file, etc. Here, I am attaching a couple of screenshots of the catalog category/product view in both IE and Firefox. I am not even sure if FF looks right since I have never been in this program before. I was hoping to get this done for him soon, but I am thinking that I need to get the book maybe to see screen shots of what it should look like. I have just been assuming that Firefox is showing everything properly. Thanks!
    Take care,
    Mary.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	firefox_catalogcategories.jpg 
Views:	70 
Size:	49.7 KB 
ID:	7701   Click image for larger version. 

Name:	ie_catalogcategories.jpg 
Views:	66 
Size:	46.4 KB 
ID:	7702  

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Images not showing in IE 8 under admin account

    They are not showing in either ... they are just not showing "louder" in IE so that you see the errors standout on the images ...

    I am not sure why your images are not showing, click right on the red X in IE and see what it says on the path and filename that it is trying to load ...

    Can you load the file directly in the browser?

    Is it actually on the server in the path where it is being called from?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Jun 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Images not showing in IE 8 under admin account

    Yeah, I have looked at the path. They are not looking for the folder in the right place. I only have a minute here, so they are looking for them in xxx/images rather than images/xxx. I am thoroughly perplexed by this, though my understanding of this particular program is lacking, I do know the basics here and how to change config files to make them work, etc. I did find a screen shot of how the category page is supposed to look last night so see that it is not drawing properly in either browser. Later today I am going to try to copy the images into the directory that the browsers keep on wanting to see them in and see if that fixes it. If not, I'm going to do a reinstallation of ZenCart which I probably should do anyway to learn how this program is set up, and how it should look. I installed it on my website to try it out but since it didn't have any "live" data, etc. the experience wasn't as fruitful as I had hoped. I am still a little lost here... :)
    Take care,
    Mary.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Images not showing in IE 8 under admin account

    If you could post your configure.php files, from the server, without your username, password or admin directory name here for:
    /includes/configure.php

    /admin/includes/configure.php

    we can look to see if there is anything obvious with the configure.php files ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Jun 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Images not showing in IE 8 under admin account

    Below is the text from both configure.php files. I hope this helps. Thanks so much everyone!
    Mary.

    STORE/INCLUDES/CONFIGURE.PHP

    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www.almostnaturalfishfood.us/');
    define('HTTPS_SERVER', 'https://www.almostnaturalfishfood.us/');

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

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', 'store/');
    define('DIR_WS_HTTPS_CATALOG', 'store/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/home/accountname/public_html/store/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'mysecretdatabaseun');
    define('DB_SERVER_PASSWORD', 'mysecretdatabasepwd');
    define('DB_DATABASE', 'mysecretdatabase');
    // define('DB_DATABASE', 'mysecretdabase3');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/accountname/public_html/store/cache');

    // EOF

    STORE/ADMIN/INCLUDES/CONFIGURE.PHP
    <?php
    /**
    * @package Configuration Settings circa 1.3.8
    * @copyright Copyright 2003-2007 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // Main webserver: eg-http://www.your_domain.com -
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://almostnaturalfishfood.us');
    define('HTTPS_SERVER', 'https://almostnaturalfishfood.us');
    define('HTTP_CATALOG_SERVER', 'http://almostnaturalfishfood.us');
    define('HTTPS_CATALOG_SERVER', 'https://almostnaturalfishfood.us');

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/store/mysecretadmin/');
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_ADMIN', '/store/mysecretadmin/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN','/home/accountname/public_html/store/mysecretadmin/');
    define('DIR_FS_CATALOG', '/home/accountname/public_html/store/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'zen_');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'mysecretdatabaseun');
    define('DB_SERVER_PASSWORD', 'mysecretdatabasepwd');
    define('DB_DATABASE', 'mysecretdatabase');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/home/accountname/public_html/store/cache');

    // EOF

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Images not showing in IE 8 under admin account

    First ... the URLs should not have the trailing slashes ... example, these:
    define('HTTP_SERVER', 'http://www.almostnaturalfishfood.us/');
    define('HTTPS_SERVER', 'https://www.almostnaturalfishfood.us/');
    should be changed to:
    define('HTTP_SERVER', 'http://www.almostnaturalfishfood.us');
    define('HTTPS_SERVER', 'https://www.almostnaturalfishfood.us');
    These, should have the slashes:
    define('DIR_WS_CATALOG', 'store/');
    define('DIR_WS_HTTPS_CATALOG', 'store/');
    and should be:
    define('DIR_WS_CATALOG', '/store/');
    define('DIR_WS_HTTPS_CATALOG', '/store/');
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Order not showing up in customers account or in admin
    By CarlC in forum Managing Customers and Orders
    Replies: 3
    Last Post: 9 Apr 2014, 04:09 AM
  2. Payapl orders not showing in admin and customers account
    By haykgrigory in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 28 Jul 2010, 04:06 AM
  3. Images under new sub folders, now not showing
    By Sushigal in forum General Questions
    Replies: 5
    Last Post: 20 Apr 2009, 10:00 AM
  4. additional _MED and _LRG images not showing under new sub folders
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Apr 2009, 06:43 PM
  5. Images in Admin not showing up
    By Cardmama in forum General Questions
    Replies: 10
    Last Post: 15 Mar 2008, 03:37 AM

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