Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
redndahead CreditAttribution: redndahead commentedAre 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
Comment #2
grub3 CreditAttribution: grub3 commentedThanks 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
Comment #3
redndahead CreditAttribution: redndahead commentedYes 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
Comment #4
redndahead CreditAttribution: redndahead commentedComment #5
redndahead CreditAttribution: redndahead commentedClosing issue from lack of response