Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Still arguing with the config files


delpiero

Recommended Posts

<?php

/*

 

 

This is catalog/includes

 

*/

 

// Define the webserver and path parameters

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

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

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

  define('HTTPS_SERVER', 'https://www.cherrydesigns.com/'); // eg, https://localhost - should not be empty for productive servers

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

  define('HTTP_COOKIE_DOMAIN', 'www.cherrydesigns.com/');

  define('HTTPS_COOKIE_DOMAIN', 'www.cherrydesigns.com/');

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

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

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

  define('DIR_WS_HTTPS_CATALOG', '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', 'catalog/');

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

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

 

 

<?php

/*

 

This is catalog/admin/includes/configure.php

 

*/

 

// Define the webserver and path parameters

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

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

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

  define('HTTP_CATALOG_SERVER', 'http://www.cherrydesigns.com/');

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

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

  define('DIR_FS_DOCUMENT_ROOT', 'https://www.cherrydesigns.com/catalog/'); // where the pages are located on the server

  define('DIR_WS_ADMIN', 'catalog/admin/'); // absolute path required

  define('DIR_FS_ADMIN', 'http://www.cherrydesigns.com/catalog/admin/'); // absolute pate required

  define('DIR_WS_CATALOG', 'catalog/'); // absolute path required

  define('DIR_FS_CATALOG', 'http://www.cherrydesigns.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/');

 

?>

 

 

 

This configuration makes the catalog work fine... until I try to hit the checkout button, and then I get a 404 page not found:

 

 

https://www.cherrydesigns.com/catalog/check...730a3a57c2b9c96

 

The page "checkout_shipping.php" is right there, in www.cherrydesigns.com. I can see the page. How come the browser can't see the page?

 

I am so beyond frustration at this point... I think I'll change careers and become a Park Ranger... in Antartica

Link to comment
Share on other sites

Did you buy your own ssl certificate?

Is it your hosting Provider who installed it?

If you dont have your ssl certificate, you have to set enable ssl to false

 

The_Bear

Link to comment
Share on other sites

"HOW" did you buy your certificate? As:

 

https://www.cherrydesigns.com

 

https://cherrydesigns.com

 

or some other directory or subdomain like......

https://secure.cherrydesigns.com

 

 

Try with it turned off - if it work then it is the SSL name/server or there is no simbolic link from your HTTPS directory to your main page (copy file over to it or change the server config.)

Link to comment
Share on other sites

Yeah, that's the kicker, isn't it?

 

All I did was hand over a credit card, then hit "accept" on an email... That'll teach me, won't it?

 

This is what I have from the email page:

 

Order ID: 112709

Validity (months): 12

Web Server: Apache + MOD SSL

Special Instructions: none

 

 

Certificate Information

Common Name: www.cherrydesigns.com

Organization: www.cherrydesigns.com

Org. Unit: Domain Control Validated

Org. Unit: See www.geotrust.com/quickssl/cps ©03

Org. Unit: https://services.choicepoint.net/get.jsp?3810757560

Country: US

Internal server names: null

 

 

So, I'm GUESSING it's www.cherrydesigns.org, but is this not enough information? I sent an email to iPowerWeb but it'll probably be another four or five days before I word the question in a way that they're able to answer it...

 

Basically, I copied and pasted your question to me and asked them if they could answer it. Seems simple enough, but things have not been going well with them...

Link to comment
Share on other sites

This is what iPowerWeb says;

 

Your ssl certificate was issue by the www.cherrydesigns.com name,you can confirm it by clicking the lock icon on the tool bar.

 

Is this a hint? Oh, please,pleasepleasepleeeaaaseee...

 

Let this be a clue to the answer....

 

Is there a particular offering one should make to the virtual Gods of Internet Help?

Link to comment
Share on other sites

Your SSL works fine now - seams to be valid. It STILL creates 401 errors...

 

Try a fresh copy of MS2 and see if it works - - add in your changes - you have a bad edit somewhere or missing file....

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...