Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help w/ configure.php


jeremyb

Recommended Posts

I know I'm doing something stupid with catalog/configure.php but can't figure out what.

 

The downloadable products directory does not exist: /jmb/catalog/download/. Downloadable products will not work until this directory is valid.

 

No graphics load and all my links are messed up thusly:

 

http://mysite.comhttp//mysite.com/jmb/cata...n.php?osCsid=...

 

Notice the doubling. If I remove the http://mysite.com and add the colon after the next http all of the links work.

 

Here is my configure.php (relevant parts only, I think):

 

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

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

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

define('HTTP_COOKIE_DOMAIN', 'http://mysite.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', 'http://mysite.com/jmb/');

define('HTTPS_COOKIE_PATH', 'http://mysite.com/jmb');

define('DIR_WS_HTTP_CATALOG', 'http://mysite.com/jmb/catalog/');

define('DIR_WS_HTTPS_CATALOG', 'http://mysite.com/jmb/catalog/');

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

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

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

 

define('DIR_FS_CATALOG', '/public_html/jmb/catalog/');

// also tried:

//define('DIR_FS_CATALOG', '/home/myname/public_html/jmb/catalog');

echo DIR_FS_CATALOG;

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

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

 

Note that my admin/ stuff works fine and has the same entries for same named variables.

 

Thanks for any assistance.

Link to comment
Share on other sites

define('HTTP_COOKIE_DOMAIN', 'http://mysite.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', 'http://mysite.com/jmb/');

define('HTTPS_COOKIE_PATH', 'http://mysite.com/jmb');

define('DIR_WS_HTTP_CATALOG', 'http://mysite.com/jmb/catalog/');

define('DIR_WS_HTTPS_CATALOG', 'http://mysite.com/jmb/catalog/');

 

to

 

define('HTTP_COOKIE_DOMAIN', 'mysite.com');

define('HTTPS_COOKIE_DOMAIN', 'mysite.com');

define('HTTP_COOKIE_PATH', 'mysite.com/catalog/');

define('HTTPS_COOKIE_PATH', 'mysite.com/catalog/');

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

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...