Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Visitor Web Stats


Guest

Recommended Posts

I just installed visitor web stats. I get this Internet Explorer pop up box when I try to use it, but everything seems to be working.

I have viewed other sites that have it and get same error. Is it my browser settings or problems in script?

 

Problems with this web page might prevent it from being displayed properly.

 

Line: 375

Char: 1

Error: 'Graph is undefined

Code: 0

URL: http://localhost/catalog/admin/visitors.php?

 

CODE:

 

$chart10 = 'messageStackSuccess';

break;

case '11':

$title = STATISTICS_TYPE_REPORT_B . ': ' . STATISTICS_TYPE_REPORT_11;

$chart11 = 'messageStackSuccess';

break;

case '12':

$title = STATISTICS_TYPE_REPORT_A . ': ' . STATISTICS_TYPE_REPORT_12;

$chart12 = 'messageStackSuccess';

break;

case '13': //this is line 375

$title = STATISTICS_TYPE_REPORT_A . ': ' . STATISTICS_TYPE_REPORT_13;

$chart13 = 'messageStackSuccess';

break;

case '20':

$title = STATISTICS_TYPE_REPORT_A . ': ' . STATISTICS_TYPE_REPORT_20;

$chart20 = 'messageStackSuccess';

break;

case '21':

$title = STATISTICS_TYPE_REPORT_A . ': ' . STATISTICS_TYPE_REPORT_21;

$chart21 = 'messageStackSuccess';

break;

case '22':

$title = STATISTICS_TYPE_REPORT_A . ': ' . STATISTICS_TYPE_REPORT_22;

$chart22 = 'messageStackSuccess';

break;

case '23':

 

OS: XP PRO

Xampp 1.6.6

mysql 5

php 5

IE 6

 

Thanks in advance,

 

George

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

I did install " VVisitor Web Stats " I am only seeing two charts - Actual and keywords for last 90 days. At the bottom of page I have this bit of text:

 

Sorry, I am unable to draw the other Charts as imagecreate() is not available in your version of php (check to see if you have gd support) or you switched off chart display.

 

I do have GD access on my host server. Also I did change the piece of script in visitors.php near the top...

 

  require('includes/application_top.php');

// Change following settings if you wish
 define('MAX_VISITOR_RESULTS', MIN(MAX_DISPLAY_SEARCH_RESULTS, 40)); // JavaScript chart may push out to right if Table size too big

[color="#0000FF"]  $gd_support = '1'; // Set Switch fro[/color]m '1' to '0' if GD Support or imagecreate() is not available or to simply switch off displaying Charts
 // $use_cookie = '1'; // Set to 0 to disable use of cookie
 $use_cookie = VWS_USE_COOKIES; // Set to 0 to disable use of cookie

// $default_report = '2'; // Initial Chart to show
 $default_report = VWS_DEFAULT_REPORT; // Initial Chart to show

// $trace_days = '30'; // Time in days for Visitors Trace Data to be available
 $trace_days = VWS_TRACE_DAYS; // Time in days for Visitors Trace Data to be available

 $days_data = '60'; // Days data to keep before auto-deleting

 

I wish there was a sample visitors web stats one could see. How many charts is there? Where do I change the color for every other line. At the present it is set for white and black. I like to change the black to something else.

 

Thanks.

 

blr044

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