Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Part of product images shows in admin area..


mtechama

Recommended Posts

I am converting my direct root from http://www.yourdomain.com to http://www.mtechama.com/giftshop and I want to make sure that my configuration is currect and I had to upload a new set of osCommerce.

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'https://www.mtechama.com/giftshop'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'https://www.mtechama.com/giftshop');
 define('HTTPS_CATALOG_SERVER', 'https://www.mtechama.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/content/m/o/r/morristech/html/giftshop/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/content/m/o/r/morristech/html/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/giftshop/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/content/m/o/r/morristech/html/giftshop/'); // absolute path required
 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/');

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

I am converting my direct root from http://www.yourdomain.com to http://www.mtechama.com/giftshop and I want to make sure that my configuration is currect and I had to upload a new set of osCommerce.

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'https://www.mtechama.com/giftshop'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'https://www.mtechama.com/giftshop');
 define('HTTPS_CATALOG_SERVER', 'https://www.mtechama.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/content/m/o/r/morristech/html/giftshop/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/content/m/o/r/morristech/html/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/giftshop/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/content/m/o/r/morristech/html/giftshop/'); // absolute path required
 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/');

 

 

You don't need to put "https://something" for "http_server" or "http_catalog_server" unless what you intended is all page calls will be secure calls. Otherwise that looks okay...

Link to comment
Share on other sites

You don't need to put "https://something" for "http_server" or "http_catalog_server" unless what you intended is all page calls will be secure calls. Otherwise that looks okay...

 

 

That didn't work

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

Shouldn't the admin folder be inside your shop folder?

 

I mean like "giftshop/admin"?

 

yes it is in the giftshop folder

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

That didn't work

 

Which PICS are not showing, if you put your mouse over broken link can you get image properties from right click.

 

May help to know where it's looking ...

 

Might give me a clue as to what file is causing error.

Link to comment
Share on other sites

Which PICS are not showing, if you put your mouse over broken link can you get image properties from right click.

 

May help to know where it's looking ...

 

Might give me a clue as to what file is causing error.

 

defualt of the images of oscommerce is working fine.

 

but my product images just half in the categories section....

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...