Unable to generate chart

yhager - July 2, 2007 - 19:14
Project:SWF Charts
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Harry Slaughter
Status:closed
Description

Right after install & configure, I get the error "Unable to generate chart". In the watchdog, I get "The SWF Charts API does not appear to be installed properly".

This happens cause the it looks for a file named charts.php, which does not exist in the third party download.

The attached patch fixes that.

AttachmentSize
swfcharts.patch598 bytes

#1

Acert93 - August 6, 2007 - 23:04

I am getting the "The SWF Charts API does not appear to be installed properly. Please check the SWF Charts configuration" error as well. I haven't tried the patch yet.

#2

Harry Slaughter - October 6, 2007 - 17:30
Assigned to:Anonymous» Harry Slaughter
Status:needs review» fixed

it seems as though the required charts.php file is not included in all of the downloads listed at http://www.maani.us/xml_charts/index.php?menu=Download

At the moment, it *is* included in the .tgz file and *is not* included in the zip file.

And the result is rather confusing for the module user as you have followed the instructions and it still doesn't work.

In any case, I applied this fix and updated the documentation.

Anyone running across problems will hopefully check the watchdog logs and find the 'not installed properly' message and then read the INSTALL.txt that comes with the module, where I've explained the problem.

#3

Harry Slaughter - October 6, 2007 - 17:32
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.