Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP!!! Can't load checkout_shipping.php!


cre8itdesigns

Recommended Posts

Please...can anyone tell me why my checkout_shipping.php would suddenly stop working? It was working fine and now when I click on the checkout link I get the "page cannot be displayed" error page. I just installed a second shopping cart on my site today in a different directory. Would that have messed anything up? The other cart has the same problem. I'm stumped! I am using a shared ssl from my site host and I think the codes are correct because I completed several checkout's before and it worked fine!

 

Any comments would be greatly appreciated!

THANKS!

Link to comment
Share on other sites

More information: Here is what my catalog/includes/configure.php file looks like:

define('HTTP_SERVER', 'http://spiritwithindesigns.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://host107.ipowerweb.com/~spiritwi'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'spiritwithindesigns.com');
 define('HTTPS_COOKIE_DOMAIN', 'host107.ipowerweb.com/~spiritwi');
 define('HTTP_COOKIE_PATH', '/ecommerce/catalog/');
 define('HTTPS_COOKIE_PATH', '/ecommerce/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/ecommerce/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/ecommerce/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', '/home/spiritwi/public_html/ecommerce/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', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', '*******');
 define('DB_SERVER_PASSWORD', '*******');
 define('DB_DATABASE', '**********');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

And this is what my catalog/admin/includes/configure.php file looks like:

define('HTTP_SERVER', 'http://spiritwithindesigns.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://spiritwithindesigns.com');
 define('HTTPS_CATALOG_SERVER', 'https://host107.ipowerweb.com/~spiritwi');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/spiritwi/public_html/ecommerce/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/ecommerce/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/spiritwi/public_html/ecommerce/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/ecommerce/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/spiritwi/public_html/ecommerce/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/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', '*******');
 define('DB_SERVER_PASSWORD', '********');
 define('DB_DATABASE', '*******');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

Does anyone see a reason why this coding would cause my checkout to stop working. Whenever I click on the checkout link and it attempts to load checkout_shipping.php I get the error message that the page cannot be viewed. I'm using a shared ssl but it was working fine before. I don't know what has happened but I'm about to giveup!!!! Please help!

Link to comment
Share on other sites

also your document root:

 

define('DIR_FS_DOCUMENT_ROOT', '/home/spiritwi/public_html/ecommerce/catalog/');

 

is most likely:

 

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

Link to comment
Share on other sites

also your document root:

 

define('DIR_FS_DOCUMENT_ROOT', '/home/spiritwi/public_html/ecommerce/catalog/');

 

is most likely:

 

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

Correct. I was wondering, do you have your catalog directory set in "ecommerce" folder? If so, you need to have the "catalog" folder itself placed in your public_html directory since I take it your using ipowerweb server.

"Find a way to break their code." -Bill Gates

 

knight7.gif

Link to comment
Share on other sites

Thank you guys soooooooooooooo much! You're real life savers! I had no idea that my catalog file needed to be in the public_html directory. I moved it there and then changed the document root as Mibble suggested and it works!!! I'm so grateful for the help...I had worked on this for weeks with no success. Your help was definitely the BEST birthday present I got this year! Thanks a million!!

 

I hate to bother you with anything else, but do you happen to have any idea why customers still aren't receiving a confirmation email after they create a new account? Just thought I'd ask since I haven't had any responses to my post. Thanks again!

 

Gina

:thumbsup:

 

P.S. Since the catalog folder has to reside in the public_html directory, what would I need to do in order to have a second catalog on the same site? I originally thought I would just copy the catalog into another folder on the public_html directory but I guess that wouldn't work, huh? If I named the folder "catalog2" would that work?

Link to comment
Share on other sites

  • 3 weeks later...
Thank you guys soooooooooooooo much! You're real life savers! I had no idea that my catalog file needed to be in the public_html directory. I moved it there and then changed the document root as Mibble suggested and it works!!! I'm so grateful for the help...I had worked on this for weeks with no success. Your help was definitely the BEST birthday present I got this year! Thanks a million!!

 

I hate to bother you with anything else, but do you happen to have any idea why customers still aren't receiving a confirmation email after they create a new account? Just thought I'd ask since I haven't had any responses to my post. Thanks again!

 

Gina

:thumbsup:

 

P.S. Since the catalog folder has to reside in the public_html directory, what would I need to do in order to have a second catalog on the same site? I originally thought I would just copy the catalog into another folder on the public_html directory but I guess that wouldn't work, huh? If I named the folder "catalog2" would that work?

 

>_< Okay...I'm about to give up!!! It was working fine...checked out many different times to test it. Then, I went away for a week and came back and it's doing the same thing AGAIN!!! Can't get to the checkout page. Any ideas why? I didn't make any other changes.

THANKS!

Gina

Link to comment
Share on other sites

double check to make sure the host hasnt changed anything. you can post your configure.php again, so we can see how it is setup now.

i know you need to change a cookie setting, so i would rather correct that from the current configure.php file

Link to comment
Share on other sites

Admin/includes/configure.php looks like this:

<?php

/*

  osCommerce, Open Source E-Commerce Solutions

  http://www.oscommerce.com

 

  Copyright © 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://spiritwithindesigns.com'); // eg, http://localhost - should not be empty for productive servers

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

  define('HTTPS_CATALOG_SERVER', 'https://host107.ipowerweb.com/~spiritwi');

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

  define('DIR_FS_DOCUMENT_ROOT', '/home/spiritwi/public_html/catalog/'); // where the pages are located on the server

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

  define('DIR_FS_ADMIN', '/home/spiritwi/public_html/catalog/admin/'); // absolute pate required

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

  define('DIR_FS_CATALOG', '/home/spiritwi/public_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/');

 

// define our database connection

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

  define('DB_SERVER_USERNAME', '******');

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

  define('DB_DATABASE', '******');

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

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

?>

 

And includes/configure.php looks like this:

<?php

/*

  osCommerce, Open Source E-Commerce Solutions

  http://www.oscommerce.com

 

  Copyright © 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://spiritwithindesigns.com'); // eg, http://localhost - should not be empty for productive servers

  define('HTTPS_SERVER', 'https://host107.ipowerweb.com/~spiritwi'); // eg, https://localhost - should not be empty for productive servers

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

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

  define('HTTPS_COOKIE_DOMAIN', 'host107.ipowerweb.com/~spiritwi');

  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', '/home/spiritwi/public_html/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', 'localhost'); // eg, localhost - should not be empty for productive servers

  define('DB_SERVER_USERNAME', '******');

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

  define('DB_DATABASE', '******');

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

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

?>

 

It worked correctly like this before. Don't know what has changed.

Thanks for the help! I need to have this running perfectly within the next week. I wasn't concerned about it because I thought it was working fine!

Link to comment
Share on other sites

document root is wrong:

define('DIR_FS_DOCUMENT_ROOT', '/home/spiritwi/public_html/catalog/'); // where the pages are located on the server

 

if you use this, and then this:

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

 

you end up with http://www.mydomain.com/catalog/catalog/ and that never works.

 

however for not getting to checkout_shipping.php take a look at the file and see if the file is empty (0 byte size)

Link to comment
Share on other sites

document root is wrong:

define('DIR_FS_DOCUMENT_ROOT', '/home/spiritwi/public_html/catalog/'); // where the pages are located on the server

 

if you use this, and then this:

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

 

you end up with http://www.mydomain.com/catalog/catalog/ and that never works.

 

however for not getting to checkout_shipping.php take a look at the file and see if the file is empty (0 byte size)

 

Okay, so should I change it to this?

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

I changed it to this but it still doesn't work.

 

As for the file, checkout_shipping.php is showing a file size of 19.8Kb. I'll be logged on here for a while so if you can help me try to figure this out today, I'd really appreciate it! THANKS! Gina

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...