Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Visitors Report


chatcat1027

Recommended Posts

Suddenly, or so it appeared, there is an error under the admin Reports, "Visitors"

It was working fine and then one day it was not.

 

Parse error: syntax error, unexpected ';', expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/gallery5/public_html/admin/includes/classes/phplot.php on line 1

 

Can someone advise me what this means and/or how to fix the problem. What on line 1 has to be changed / fixed. I'm at a disadvantage, I don't know the language.

 

bottom line the links to the various graphs and reports no longer work.

 

please help, and thank you in advance.

 

Cathy

Link to comment
Share on other sites

Suddenly, or so it appeared, there is an error under the admin Reports, "Visitors"

It was working fine and then one day it was not.

 

Parse error: syntax error, unexpected ';', expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/gallery5/public_html/admin/includes/classes/phplot.php on line 1

 

posting your code from : /admin/includes/classes/phplot.php would help a lot.

Link to comment
Share on other sites

Is the following information helpful to find the problem.

 

<?php

/*

$Id: phplot.php,v 1.2 2003/06/20 16:23:08 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

 

PHPLOT 4.4.6 Copyright © 1998-2001 Afan Ottenheimer

*/

 

class PHPlot{

 

var $is_inline = 0; //0 = Sends headers, 1 = sends just raw image data

var $browser_cache = '1'; // 0 = Sends headers for browser to not cache the image, (i.e. 0 = don't let browser cache image)

// (only if is_inline = 0 also)

var $session_set = ''; //Do not change

var $scale_is_set = ''; //Do not change

var $draw_plot_area_background = '';

 

var $image_width; //Total Width in Pixels

var $image_height; //Total Height in Pixels

var $image_border_type = ''; //raised, plain, ''

var $x_left_margin;

var $y_top_margin;

var $x_right_margin;

var $y_bot_margin;

var $plot_area = array(5,5,600,400);

var $x_axis_position = 0; //Where to draw the X_axis (world coordinates)

var $y_axis_position = ''; //Leave blank for Y axis at left of plot. (world coord.)

var $xscale_type = 'linear'; //linear or log

var $yscale_type = 'linear';

 

//Use for multiple plots per image

var $print_image = 1; //Used for multiple charts per image.

 

//Fonts

var $use_ttf = 0; //Use TTF fonts (1) or not (0)

var $font_path = './'; //To be added

var $font = './benjamingothic.ttf';

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...