Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin "Online Catalog" link not correct...


Guest

Recommended Posts

Hi all..

 

First time installation of osCommerce and I must say I'm very impressed :D .

 

Everything seems to be working fine except for the "Online Catalog" link in the admin tool. I use a shared certificate for secure connections and the configuration is a bit different and that may be the cause (i.e., my secure server site is: https://secureserver.com/~mysite.net )

 

Here's my catalog/admin/includes/configure.php

 

  define('HTTP_SERVER', 'https://secureserver.com); // eg, http://localhost - should not be empty for productive servers

 define('HTTP_CATALOG_SERVER', 'http://www.mysite.net');

 define('HTTPS_CATALOG_SERVER', 'https://secureserver.com);

 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 define('DIR_FS_DOCUMENT_ROOT', '/home/(..path..)/www/html/catalog/'); // where the pages are located on the server

 define('DIR_WS_ADMIN', '/~mysite.net/catalog/admin/'); // absolute path required

 define('DIR_FS_ADMIN', '/home/(..path..)/www/html/catalog/admin/'); // absolute pate required

 define('DIR_WS_CATALOG', '/~mysite.net/catalog/'); // absolute path required

 define('DIR_FS_CATALOG', '/home/(..path..)/www/html/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/');

 

It appears the "Online Catalog" link and the admin manufacturer images use the following line to assign the URL:

 

define('DIR_WS_CATALOG', '/~mysite.net/catalog/'); // absolute path required

Thus, I can configure one or the other to work, but not both.

 

Current "Online Catalog" link in Admin (broken):

http://www.mysite.net/~mysite.net/catalog/

 

Current manufacturer image URL in Admin:

https://secureserver.com/~mysite.net/catalo...turer_canon.gif

 

Any ideas :? .

Link to comment
Share on other sites

I notice that OSC add the S' automatic after HTTP for secure sites.

 

The best way to find out why a link is not working is to rightclick on it, choose properties and then examine the link.

 

Perhaps your "link" properties show httpss:// and you can try to use only http and not https.

 

Hope this helps

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...