Dear all,

I am using OpenFlash Chart API with great pleasure.
Drupal 6.2 + PostgreSQL 8.3 + Apache 2 + Php 5

When running cron, the error message is:

Fatal error: Call to undefined function open_flash_chart_object() in /home/html/drupal/includes/common.inc(1537) : eval()'d code on line 3

Can you help?
The error started after migration from Drupal 6.1 to Drupal 6.2
This seems to be an incompatibility.

Kind regards,
Jean-Michel

Comments

redndahead’s picture

Are you sure that the open flash chart module files got moved also? There should be no reason that it is undefined unless the module files are not there.

red

grub3’s picture

Thanks for your quick answer.

Here is the module directory structure :
ls -lhR /home/html/drupal/modules/open_flash_chart_api/
/home/html/drupal/modules/open_flash_chart_api/:
total 132K
-rw-r--r-- 1 root www-data 1,6K fév 27 23:03 Changelog.txt
drwxr-xr-x 2 root www-data 4,0K jun 13 12:01 js
-rw-r--r-- 1 root www-data 15K avr 23 2006 LICENSE.txt
-rw-r--r-- 1 root www-data 362 fév 27 23:10 open_flash_chart_api.info
-rw-r--r-- 1 root www-data 30K jun 13 12:37 open_flash_chart_api.module
-rw-r--r-- 1 root www-data 64K jan 28 19:22 open-flash-chart.swf
-rw-r--r-- 1 root www-data 661 nov 19 2007 readme.txt

/home/html/drupal/modules/open_flash_chart_api/js:
total 16K
-rw-r--r-- 1 root www-data 370 aoû 8 2007 README.txt
-rw-r--r-- 1 root www-data 9,4K aoû 20 2007 swfobject.js

Please note that I can draw charts.
Are you using Drupal 6.2?

Kind regards,
JM

redndahead’s picture

Yes I use 6.2. Couple things to try here

1) The main modules directory is not the recommended place to put modules. The recommended place is drupal/sites/all/modules This should not fix your issue though.
2) After you move it there disable open_flash_chart_api in the modules list and enable it again.
3) Can you post the code that you put on your site to display the chart?

red

redndahead’s picture

Status: Active » Postponed (maintainer needs more info)
redndahead’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Closing issue from lack of response