sailing123 Posted October 13, 2010 Share Posted October 13, 2010 Hi, I am using 4.4.2. Checking the "view stats" function, I came across this fatal error for the daily sales stats. "Fatal error: Call to undefined function cal_days_in_month() in /home/.../public_html/store/admin/sources/stats/sales.month.inc.php on line 70" Here is the code on line 70 : $daysInCurMonth = cal_days_in_month(CAL_GREGORIAN, substr($sqlMonth,2,2), "20".substr($sqlMonth,0,2)); Would somebody be able to help here please ? Many thanks Sandrine Quote Link to comment Share on other sites More sharing options...
sailing123 Posted October 13, 2010 Author Share Posted October 13, 2010 Hi, I am using 4.4.2. Checking the "view stats" function, I came across this fatal error for the daily sales stats. "Fatal error: Call to undefined function cal_days_in_month() in /home/.../public_html/store/admin/sources/stats/sales.month.inc.php on line 70" Here is the code on line 70 : $daysInCurMonth = cal_days_in_month(CAL_GREGORIAN, substr($sqlMonth,2,2), "20".substr($sqlMonth,0,2)); Would somebody be able to help here please ? Many thanks Sandrine will raise a ticket and post the reply for future reference. Quote Link to comment Share on other sites More sharing options...
Guest danyo Posted February 1, 2011 Share Posted February 1, 2011 any news on this? i ahve the same error! 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.