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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
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) 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/');
Mark |
|
#2
| |||
| |||
| I have solved my problem. I changed this line in admin/includes/configure.php to: Code: define('DIR_WS_CATALOG_IMAGES', '/~aztecrug/catalog/' . 'images/');
Thanks, Mark |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I give file access to the Catalog section. | webwolfe | osCMax v1.7 Discussion | 1 | 06-20-2006 02:46 PM |
| Admin Trouble: "Catalog images directory does not exist | 24hourcampfire | osCommerce 2.2 Installation Help | 0 | 05-09-2006 12:10 PM |
| WYSIWYG editor for added pages in catalog section of admin | themainebaby | osCMax v2 Customization/Mods | 6 | 02-20-2006 12:08 PM |
| images and pages aren't appearing | robin | osCMax v1.7 Discussion | 1 | 12-21-2003 10:48 AM |
| Error: Catalog images directory does not exist: catalog/imag | Korsh | osCommerce 2.2 Installation Help | 1 | 11-26-2003 08:31 PM |