Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error


ms-signs

Recommended Posts

Posted

Im getting this message

 

Fatal error: Call to undefined function calculate_price() in /hermes/bosweb/web281/b2813/ipw.mssigns/public_html/includes/classes/order.php on line 312

 

here is the line

 

 

 

$shown_price = $currencies->calculate_price($this->products[$index]['final_price'], $this->products[$index]['tax'], $this->products[$index]['qty']);

$this->info['subtotal'] += $shown_price;

 

 

 

need to know where is the error, the only currency i have active is usd.

 

thank you

Posted
Fatal error: Call to undefined function calculate_price() in /hermes/bosweb/web281/b2813/ipw.mssigns/public_html/includes/classes/order.php on line 312

 

here is the line

 

$shown_price=$currencies->calculate_price($this->products[$index]['final_price'],$this->products[$index]['tax'],$this->products[$index]['qty']);

$this->info['subtotal'] += $shown_price;

 

Though the code appears correct I am not sure if you have edited the file to move $this->products[$index]['qty']); to a new line.

 

When was the last time it worked? Have you modified anything? Do you have a backup to restore order.php or currencies.php (where the function is defined) ?

Best Regards,
Gaurav

Archived

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

×
×
  • Create New...