Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stuck: Funky Links In Catalog


redheadedal

Recommended Posts

Posted

I'm getting some wild links in the catalog portion of my site. Admin part works fine.

 

I've included my configure.php file from the admin directory

 

For example, a link in the catalog looks like:

http://store.mysite.com/catalog/://store.mysite.com/index.php?cPath=1&osCsid=9f38d3b6504a8bd2f0fdc959aa61f462

 

I'm really at a lost for where the problem is coming from. I went through all of the configuration files and things seem legit. I can't find where the "://" problem is.

 

I've tried turning off SSL, and cleared out my cache in my browsers.

 

here's my admin/includes/configure.php file

define('HTTP_SERVER', 'http://'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://');
 define('HTTPS_CATALOG_SERVER', 'http://');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/alstond/store.mysite.com/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', 'store.mysite.com/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/alstond/store.mysite.com/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', 'store.mysite.com/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/alstond/store.mysite.com/catalog/'); // 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/');

Posted

I'm pretty sure your document root is wrong.

 

 

define('DIR_FS_DOCUMENT_ROOT', '/home/alstond/store.mysite.com/catalog/'); // where the pages are located on the server

 

This shouldn't have URL in it.

Posted

thanks for the quick reply!

 

I changed it, and nothing happened.

 

In fact, earlier I went through and replaced all of the links wtih "foo" and the problem was still there.

 

I've cleared out my cache in my browser too.

Posted

I just noticed that you posted the admin config - my guess is that the problem is in your catalog config, same place.

Archived

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

×
×
  • Create New...