RE: SECv2.2 with Credit Class and GVv5.05 for MS2

Ajeh <[email protected]> 12 Sep 2003 03:38:06 -0000
Newsgroups gmane.comp.web.oscommerce.contributions
Message-ID <2fc06f1956fbefa768a2362ebfeee95c@osCommerce-Forums>
This message was sent from: Contributions
http://forums.oscommerce.com/viewtopic.php?p=228232#228232
----------------------------------------------------------------

[quote="dougedmunds"] 
Here is a live link:
[url]http://host97.ipowerweb.com/~collecto/catalog/admin[/url]
[/quote]

Here is the problem. You have the site defined to use:

host97.ipowerweb.com/~collecto/catalog

But you have the root defined as host97.ipowerweb.com/catalog

More than likely in your configure.php you just need to add the real root to your shop.

You may also need to adjust your http settings.

This is what my configure.php looks like for the admin, you need to adjust this to work with your site:

[code]  define('HTTP_SERVER', 'http://www.webmakers.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
  define('HTTP_CATALOG_SERVER', 'http://www.webmakers.com');
  define('HTTPS_CATALOG_SERVER', 'https://secure.sashbox.net/~webmakr2');
  define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
  define('DIR_FS_DOCUMENT_ROOT', '/home2/webmakr2/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', '/secMS2play/admin/');
  define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
  define('DIR_WS_CATALOG', '/secMS2play/');
  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/');
[/code]

Note where I have the real root defined and how the settings for the URL itself are set.

See if that helps you.