Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Link error in cart


realmark

Recommended Posts

Posted

Hi All,

 

Just installed a cart and install looks complete. However, all links to the

products have the following;

 

Example,

 

when mousing over the review page, we get;

 

http://domain.com/DIR_WS_HTTP_CATALOGprodu...eviews_info.php?

 

I've check the config.php file and looks correct. The /catalog/ directory is missing

above. Is this a MySQL table issue, if so, what table to edit?

 

The admin section works fine.

 

Thanks for your time.

Posted

do you have the catalog directory defined in /catalog/includes/configure.php?

 

-jared

Posted

Yes, here is the config.php file....Do I have something a miss?

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://domain.com');

define('HTTPS_SERVER', 'https://domain.com');

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('DIR_WS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', '/home/usr/public_html/catalog/'); // 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_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted

define('DIR_FS_DOCUMENT_ROOT', '/home/usr/public_html/catalog/');

 

needs to be

 

define('DIR_FS_DOCUMENT_ROOT', '/home/usr/public_html/');

 

 

-jared

Archived

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

×
×
  • Create New...