Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

checkout_payment shows blank


Guest

Recommended Posts

Posted

OK, I'm have a site that has SSL using 2 seperate directory structures.

I think I have the configure files correct. However when I try to checkout and move from step 1 checkout_shipping to checkout_payment.php I get a blank page. Looking at the code I isolated the first cause down to

require(DIR_WS_CLASSES . 'order.php');

$order = new order;

 

if (!tep_session_is_registered('comments')) tep_session_register('comments');

 

$total_weight = $cart->show_weight();

$total_count = $cart->count_contents();

 

// load all enabled payment modules

require(DIR_WS_CLASSES . 'payment.php');

$payment_modules = new payment;

 

I'm a little rusty on code but shouldn't the above line (and $order ) have the variable quoted?

like this?

$payment_modules = 'new payment';

 

changing that gets me down to

<?php echo $payment_modules->javascript_validation(); ?>

it's here that it stops in the html source

 

What's it trying to validate?

How to I turn debug on?

or check log files?

 

Thanks

John

  • 2 weeks later...
Posted

Interesting enough I moved everything under SSL directory and it is getting past this point in the checkouit process. I believe some of the code doesn't handle SSL in seperate directories/servers correctly.

John

Archived

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

×
×
  • Create New...