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 |
Jump to:
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.
| Attachment | Size |
|---|---|
| swfcharts.patch | 598 bytes |

#1
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
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