Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problem after installed visitor web stats v2.2a


busyduck

Recommended Posts

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

Link to comment
Share on other sites

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

 

 

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

Treasurer MFC

Link to comment
Share on other sites

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

 

 

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 //-->

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...