Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

blank page when going to checkout


point2point

Recommended Posts

Blank pages usually occur when a fatal PHP error occurs and your host has display_errors turned off. You can verify this by looking for display_errors in Tools > Server Info in your admin section.

 

If they have it turned off, there's probably a log being generated instead. If you have CPanel, you should be able to view recent errors.

Contributions

 

Discount Coupon Codes

Donations

Link to comment
Share on other sites

Blank pages usually occur when a fatal PHP error occurs and your host has display_errors turned off. You can verify this by looking for display_errors in Tools > Server Info in your admin section.

 

If they have it turned off, there's probably a log being generated instead. If you have CPanel, you should be able to view recent errors.

 

I'm experiencing the same error... Where in CPanel would I find it?

 

Yes, I'm STILL a NOO-B! (who really needs help!)

 

bam

Link to comment
Share on other sites

I'm experiencing the same error... Where in CPanel would I find it?

 

Yes, I'm STILL a NOO-B! (who really needs help!)

 

bam

 

my site is www.bsbooksandmore.com/E-Store/index2.php.

 

I go to add a book to the cart - it adds it fine. Then go to checkout and it gives a blank page...

 

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

 

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

define('HTTPS_SERVER', 'https://www.bsbooksandmore.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.bsbooksandmore.com');

define('HTTPS_COOKIE_DOMAIN', 'www.bsbooksandmore.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/E-Store/');

define('DIR_WS_HTTPS_CATALOG', '/E-Store/');

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/bsbooks/public_html/E-Store/');

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 NULL for productive servers

define('DB_SERVER_USERNAME', 'XXXXXXXX');

define('DB_SERVER_PASSWORD', 'XXXXXXX');

define('DB_DATABASE', 'XXDBNAMEXX');

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

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

?>

Link to comment
Share on other sites

first make sure the ssl is the issue, in that file try setting:

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

see if that works; if so would be the secure configuration settings. You want to restore it after testing.

Link to comment
Share on other sites

Try to remove all the shipping items you dont use... I had the same problem with checkout_payment and removed all the items I wasnt using. And worked.

 

aSoso

 

www.lapcra.org / Your boardgame / wargame shop.

 

Hi enigma1,

Thank you SO MUCH for quickly responding!

 

I changed the setting and it still gave a blank checkout_shipping.php page... :-(

 

Any other ideas?

Link to comment
Share on other sites

Try to remove all the shipping items you dont use... I had the same problem with checkout_payment and removed all the items I wasnt using. And worked.

 

aSoso

 

www.lapcra.org / Your boardgame / wargame shop.

 

What exactly do you mean by remove? I only have USPS and In-Store Pickup active.

Link to comment
Share on other sites

start checking the checkout_shipping.php file. It should redirect to the login page but it does not go that far. Have you made changes to that file from the original osc? And check the same for the equivalent language file.

 

The SSL works from what I see so everything points to something specific to the checkout_shipping.php You could also backup the file and restore the original osc ones. see if it works as a test

Link to comment
Share on other sites

first make sure the ssl is the issue, in that file try setting:

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

see if that works; if so would be the secure configuration settings. You want to restore it after testing.

 

This actually solved my problem, i realized that i had a incorrect configure.php on the secure side....you are teh own enimga

Link to comment
Share on other sites

***MARK!!! ENIGMA1!!! ***

 

You are the best!! I replaced the file and it gave me another error on the checkout success file so I replaced that one too and VIOLA!

 

**SINGING THE HALLELUJAH CHORUS!!**

 

Thank you Enigma!

Link to comment
Share on other sites

***MARK!!! ENIGMA1!!! ***

 

You are the best!! I replaced the file and it gave me another error on the checkout success file so I replaced that one too and VIOLA!

 

**SINGING THE HALLELUJAH CHORUS!!**

 

Thank you Enigma!

 

enima for the win.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...