When a install the charts module and I try to use it with open flash charts I get "Class 'open_flash_chart_api' not found"
The Open Flash Charts 2 API is installed and working.

Comments

tic2000’s picture

I forgot to say. I get that error when I try to visit Charts configuration page.

Ludovic M.’s picture

Hello,

I got the same issue when trying to visit the Charts configuration page, with OpenFlashCharts 2 API installed and activated.
Then i tried again, with the Google Charts module activated, and it worked.

Regards

EDIT : in fact, i can now access the Charts configuration page as it uses the default google chats module, but i still get the same error message when trying to use OpenFlash Charts.

ionmedia’s picture

same, same problem.
d 6.13
PHP 5.2.6

DerTobi75’s picture

Same error here ;(

timothywisdom’s picture

This is because the 'Charts' module is dependent on the 'Open Flash Charts API' module and you have installed the 'Open Flash Charts 2 API' module. It's an honest mistake as both modules are (foolishly) called 'open_flash_charts_api' in their machine name so 'Charts' thinks it is depending on the right module.

Here's an article I found on the various charting methods in Drupal. It helped me understand this problem:
http://www.lullabot.com/articles/drupal-charting

kenorb’s picture

Priority: Critical » Normal
Status: Active » Closed (works as designed)

As stated in #5