busyduck Posted April 11, 2005 Share Posted April 11, 2005 i hv these after installed: Parse error: parse error, unexpected ')' in /home/virtual/site24/fst/var/www/html/myshop/admin/includes/boxes/reports.php on line 31 and Fatal error: Failed opening required 'includes/visitors_count.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site24/fst/var/www/html/myshop/admin/includes/footer.php on line 46 pls help Quote Link to comment Share on other sites More sharing options...
boxtel Posted April 11, 2005 Share Posted April 11, 2005 i hv these after installed: Parse error: parse error, unexpected ')' in /home/virtual/site24/fst/var/www/html/myshop/admin/includes/boxes/reports.php on line 31 and Fatal error: Failed opening required 'includes/visitors_count.php' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site24/fst/var/www/html/myshop/admin/includes/footer.php on line 46 pls help <{POST_SNAPBACK}> the second error is a result of the first. you edited the reports.php file and inserted a link. what does it look like now ? the code I mean Quote Treasurer MFC Link to comment Share on other sites More sharing options...
busyduck Posted April 12, 2005 Author Share Posted April 12, 2005 the second error is a result of the first. you edited the reports.php file and inserted a link. what does it look like now ? the code I mean <{POST_SNAPBACK}> my reports.php code: <?php /* $Id: reports.php,v 1.1.1.1 2003/08/14 07:59:00 nickle Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ ?> <!-- reports //--> <tr> <td> <?php $heading = array(); $contents = array(); $heading[] = array('text' => BOX_HEADING_REPORTS, 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_VIEWED, 'selected_box=reports')); if ($selected_box == 'reports') { $contents[] = array('text' => //Admin begin // '<a href="' . tep_href_link(FILENAME_STATS_PRODUCTS_VIEWED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_PRODUCTS_VIEWED . '</a><br>' . // '<a href="' . tep_href_link(FILENAME_STATS_PRODUCTS_PURCHASED, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_PRODUCTS_PURCHASED . '</a><br>' . // '<a href="' . tep_href_link(FILENAME_STATS_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_ORDERS_TOTAL . '</a><br>' . '<a href="' . tep_href_link(FILENAME_VISITORS, '', 'NONSSL') . '" class="menuBoxContentLink"> ' . BOX_VISITORS . '</a>'); tep_admin_files_boxes(FILENAME_STATS_PRODUCTS_VIEWED, BOX_REPORTS_PRODUCTS_VIEWED) . tep_admin_files_boxes(FILENAME_STATS_PRODUCTS_PURCHASED, BOX_REPORTS_PRODUCTS_PURCHASED) . tep_admin_files_boxes(FILENAME_STATS_CUSTOMERS, BOX_REPORTS_ORDERS_TOTAL)); //Admin end } $box = new box; echo $box->menuBox($heading, $contents); ?> </td> </tr> <!-- reports_eof //--> 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.