Guest Posted August 15, 2006 Share Posted August 15, 2006 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 Quote Link to comment Share on other sites More sharing options...
safoo Posted August 15, 2006 Share Posted August 15, 2006 (edited) 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 August 15, 2006 by safoo Quote Link to comment Share on other sites More sharing options...
Guest Posted August 16, 2006 Share Posted August 16, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.