osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-12-2003, 06:03 AM
Lurker
 
Join Date: Feb 2003
Location: New Jersey
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mjbeck
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 06-13-2003, 05:53 PM
Lurker
 
Join Date: Feb 2003
Location: New Jersey
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mjbeck
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 06:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax