I just installed the 1/26/2012 version of the Monthly Sales report and while I can see the link in my Report Box area, clicking on the link results in:
Fatal error: Cannot redeclare mirror_out() (previously declared in /path_to_admin_folder/stats_monthly_sales.php:624) in /path_to_admin_folder/includes/functions/general.php on line 1345
contributed by Nick Getzendanner <nick@getzwebhosting.com>
Has anyone else installed this yet and possibly have a solution to get this working? The reference to the general.php file was never updated for this, so not clear why it mentions it.
I've attached the installation instructions. The difference in what I did compared to the instructions is how step 4 was done. Mine is different, but I believe it should work the same.
if ($selected_box == 'reports') {
$contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_STATS_PRODUCTS_VIEWED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_PRODUCTS_VIEWED . '</a>
' .
'<a href="' . tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_PRODUCTS_PURCHASED . '</a>
' .
'<a href="' . tep_href_link(FILENAME_ALL_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_ALL_CUSTOMERS . '</a>
' .
'<a href="' . tep_href_link(FILENAME_STATS_MONTHLY_SALES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_MONTHLY_SALES . '</a>
' .
'<a href="' . tep_href_link(FILENAME_STATS_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_ORDERS_TOTAL . '</a>
'
);
}
Thanks!
Steve</nick@getzwebhosting.com>
Attached Files
Edited by Jan Zonjee, 07 February 2012, 16:01.















