Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Manufacturer's Report Contribution


Guest

Recommended Posts

I installed the most recent English version of the Manufacturers Sales Report. When I try to access it in the admin control panel, I get the following message:

 

 

Fatal error: Call to undefined function: money_format() in .../osc/admin/stats_manufacturers_sales.php on line 99

 

 

Granted, I have yet to go live and wire all this to an account. Might that have anything to do with the error message? If not, is there a correction to the error?

 

Many thanks to anyone in advance...

 

-george

Link to comment
Share on other sites

money_format is a function that is not defined in all systems.

 

Instead of using money_format, you should be able to use number_format function instead. So instead of

money_format($total_sales,2);

 

try

number_format($total_sales,2);

 

just search for money_format in the file and replace with number_format.

Edited by safoo
Link to comment
Share on other sites

You're a total rock star. Problem fixed. Many many thanks!

 

 

money_format is a function that is not defined in all systems.

 

Instead of using money_format, you should be able to use number_format function instead. So instead of

money_format($total_sales,2);

 

try

number_format($total_sales,2);

 

just search for money_format in the file and replace with number_format.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...