ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  unknown method WebChartViewer.create
Posted by ButuzGOL on Mar-29-2011 16:59
Fatal error: unknown method WebChartViewer.create in /var/www/webui/ChartDirector/lib/phpchartdir.php on line 3287

it's work several days and now I have this problem what it can be ?

  Re: unknown method WebChartViewer.create
Posted by ButuzGOL on Mar-29-2011 17:22
I replace files in folder to version 5

# Description : ChartDirector

# Version : 4.0.1

go to cdinfo and there still written version 4.0.1

what it can be ?

  Re: unknown method WebChartViewer.create
Posted by ButuzGOL on Mar-29-2011 18:10
It was problem with server (((

  Re: unknown method WebChartViewer.create
Posted by Peter Kwan on Mar-30-2011 02:34
Hi ButuzGOL,

If cdinfo.php is reporting ChartDirector Ver 4.0.1, it means:

(a) The "phpchartdir.php" you are using is ChartDirector Ver 4.0.1.

and

(b) The "libchartdir.so" you are using is ChartDirector Ver 4.0.1.


If you are sure you have copied ChartDirector Ver 5 to the server, it may be because:

(i) There are another copy of ChartDirector in your server, and your server is using that copy. Please check your PHP configuration to see if there is another copy of ChartDirector in your PHP extension directory.

(ii) If the PHP you are using is for SAPI (instead of for CGI), the PHP will not load any PHP extension until it is restarted. That means after you have updated the ChartDirector, you would need to restart the Apache web server for the PHP to load the new extension.

If your web server is accessible from the Internet, may be you can inform me of the URL of the sample code or cdinfo.php, so I can go in to have a look.

Regards
Peter Kwan