Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to undefined function: display_price()


usvi4me

Recommended Posts

Posted

I messed up something and tried to figure this out over the last two days.

 

I receive the Fatal error: Call to undefined function: display_price() in:

 

/home/xxxxxx/public_html/xxx/includes/modules/product_listing.php on line 115

 

The code on line 115 in product_listing.php:

 

$lc_text = ' ' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . ' ';

 

 

I get the same error:

Fatal error: Call to undefined function: display_price() in /home/xxxxx/public_html/xxxxx/auctions.php on line 302

 

The code on line 302 in auctions.php:

 

<td class="main" align=center><?php echo $currencies->display_price($auctions['auctions_starting_price']); ?></td>

 

Something to do with currencies ????

Please anyone ???

Posted

display_price is defined in the class currencies.php in classes, you must have iether changed that or changed application top, the class is set up around 263 with:

 

// include currencies class and create an instance

require(DIR_WS_CLASSES . 'currencies.php');

$currencies = new currencies();

 

B)

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Archived

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

×
×
  • Create New...