Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot find the page when I try to checkout.


AMXDesign

Recommended Posts

Here is the link to my store...

 

http://www.vcdstorage.com/store/

 

I can not figure out why this happens. You can add products, and everything, but once you try to checkout, it gives an error. The file exists where it is supposed to, if anyone has any ideas, this would be greatly appreciated. Thanks in advance!

 

Steven Goodemote

http://www.amxdesign.com

Link to comment
Share on other sites

Check your /includes/configure.php files.

 

Make sure you have the right address in there for the secure server. If you have two areas on your server 1 for regular documents and 1 for secure documents you need to put a copy of the catalog in both.

 

In the configure.php, if you are using $DOCUMENT_ROOT in your define statements, replace this with your real path instead.

 

Example:

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

 

If you are unsure what this setting should be, go into the Admin ... Tools ... Server Info ... and search for DOCUMENT_ROOT without the $

Link to comment
Share on other sites

Thanks for the quick reply!

 

I was trying to get this up and running without using the secure server, just because this is on a client's server, and, I think their hosting plan has a shared server, and I am unsure exactly how that works. Could this be the problem? Is using a secure server necessary? Thanks again!

 

-Steve

Link to comment
Share on other sites

You do not have to use a secure server, but if you define one and there are no files there to be found, then it isn't going to work very well ... :shock:

Link to comment
Share on other sites

Here it is, thank you very much.

 

<?php

/*

 $Id: configure.php,v 1.13 2003/02/10 22:30:51 hpdl Exp $



 osCommerce, Open Source E-Commerce Solutions

 http://www.oscommerce.com



 Copyright (c) 2003 osCommerce



 Released under the GNU General Public License

*/



// Define the webserver and path parameters

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

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

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

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

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

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

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

 define('DIR_FS_DOCUMENT_ROOT', '/home/sites/site203/web'); // 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/');



// define our database connection

 define('DB_SERVER', 'eaglemaster.cqhost.net'); // eg, localhost - should not be empty for productive servers

 define('DB_SERVER_USERNAME', 'vcdsql');

 define('DB_SERVER_PASSWORD', '*********');

 define('DB_DATABASE', 'vcdstorage');

 define('USE_PCONNECT', 'false'); // use persistent connections?

 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

Are you absolutely positive you have a file called:

 

/store/login.php

 

And it is written lowercase.

 

I can get to /store/logoff.php and various other pages when I type them manually. So it almost appears that this page is missing.

 

Try deleting the login.php from your server and reloading it for giggles and grins.

Link to comment
Share on other sites

You were right, the login file wasn't there, I have no idea why though. I thought it was looking for a different file, because that is the one it said it could not find? Oh well, it works now, thank you very much for all of your help, you have been awesome! :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...