osCmax v2.5 User Manual
Results 1 to 2 of 2

Catalog images not appearing in Admin section

This is a discussion on Catalog images not appearing in Admin section within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi Everyone, I have been struggling with this for the past two days and I need help. I want the ...

      
  1. #1
    Lurker
    Join Date
    Feb 2003
    Location
    New Jersey
    Posts
    2
    Rep Power
    0


    Default Catalog images not appearing in Admin section

    Hi Everyone,

    I have been struggling with this for the past two days and I need help. I want the Admin section to have SSL protection and made the following change to admin/includes/configure.php:

    Code:
    define('HTTP_SERVER', 'https://secure24.vosn.net/~aztecrug'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
    I am in SSL mode but I get the following error message on the top of the screen when viewing the catalog pages:

    Error: Catalog images directory does not exist: /home/venture/public_html/catalog/images/

    Then I made the following change:

    Code:
    define 'DIR_FS_DOCUMENT_ROOT', '/home/aztecrug/public_html'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
    This got rid of the error, but I still can't see the images when viewing the products. When I view the properties of the broken image, here is where it is trying to pull the image from:

    https://secure24.vosn.net/catalog/images/98-85.jpg

    Here is most of the code from admin/includes/configure.php. Please advise on what I need to do to have the images appear as they did before I made the change to view through the secure server:

    Code:
    // define our webserver variables
    // FS = Filesystem (physical)
    // WS = Webserver (virtual)
      define('HTTP_SERVER', 'https://secure24.vosn.net/~aztecrug'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
      define('HTTP_CATALOG_SERVER', 'http://aztecrugs.com');
      define('HTTPS_CATALOG_SERVER', 'https://secure24.vosn.net/~aztecrug');
      define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
      define('DIR_FS_DOCUMENT_ROOT', '/home/aztecrug/public_html'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
      define('DIR_WS_ADMIN', '/admin/');
      define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
      define('DIR_WS_CATALOG', '/catalog/');
      define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
      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', DIR_WS_CATALOG . 'includes/languages/');
      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_BACKUP', DIR_FS_ADMIN . 'backups/');
    Thank you in advance,
    Mark

  2. #2
    Lurker
    Join Date
    Feb 2003
    Location
    New Jersey
    Posts
    2
    Rep Power
    0


    Default

    I have solved my problem.

    I changed this line in admin/includes/configure.php to:

    Code:
    define('DIR_WS_CATALOG_IMAGES', '/~aztecrug/catalog/' . 'images/');
    This correctly completes the URL so all catalog images are found.

    Thanks,
    Mark

Similar Threads

  1. How do I give file access to the Catalog section.
    By webwolfe in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 06-20-2006, 02:46 PM
  2. Admin Trouble: "Catalog images directory does not exist
    By 24hourcampfire in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 05-09-2006, 12:10 PM
  3. WYSIWYG editor for added pages in catalog section of admin
    By themainebaby in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 02-20-2006, 11:08 AM
  4. images and pages aren't appearing
    By robin in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 12-21-2003, 09:48 AM
  5. Error: Catalog images directory does not exist: catalog/imag
    By Korsh in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-26-2003, 07:31 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
  •