Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to a member function


ogwinilo

Recommended Posts

After installing a contribution, i get a blank checkout success page and the following message in my error log;

Fatal error: Call to a member function loadSessionVars() on a non-object in /home/user/public_html/yebo7.com/checkout_process.php on line 60

 

This code involved I think is here;

One Page Checkout - BEGIN */

if (ONEPAGE_CHECKOUT_ENABLED == 'True'){

$onePageCheckout->loadSessionVars();

$onePageCheckout->fixTaxes();

 

/*

* This error report is due to the fact that we cannot duplicate some errors.

* please forward this email always if you recieve it

*/

if ($order->customer['email_address'] == '' || $order->customer['firstname'] == '' || $order->billing['firstname'] == '' || $order->delivery['firstname'] == ''){

ob_start();

echo 'ONEPAGE::' . serialize($onepage);

echo 'SESSION::' . serialize($_SESSION);

echo 'SERVER::' . serialize($_SERVER);

echo 'ORDER::' . serialize($order);

$content = ob_get_contents();

mail(ONEPAGE_DEBUG_EMAIL_ADDRESS, 'Order Error: Please forward to I.T. Web Experts', $content);

unset($content);

ob_end_clean();

}

}

 

How do I get out of this

 

Thanks in advance

 

Felix

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...