Closed (fixed)
Project:
Charts
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Jun 2010 at 15:35 UTC
Updated:
26 Jul 2013 at 02:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
mlncn commentedConfirmed, fatal error still there.
Comment #2
landike commentedDrupal 7
the same
Fatal error: Call to undefined function file_create_path() in /home/****/public_html/sites/all/modules/charts/fusioncharts/fusioncharts.install on line 13
Just after install (trying to install)
Comment #3
GStegemann commentedThe same here. The following patch fixed it for me:
Comment #4
Road Kill commentedMany thanks to the developers of this module. I have tried Gstegemann patch but no indication has been given to which lines are patched and also my error is coming from line 12 anybody with a solution would be much appreciated.
Fatal error: Call to undefined function file_create_path() in C:\wamp\www\*****\sites\all\modules\charts\fusioncharts\fusioncharts.install on line 12
Comment #5
Road Kill commentedOkay figured it out
# diff /.../drupal/7/Modules/charts/fusioncharts/fusioncharts.install .
-13,+13
-13 $path = file_create_path() . '/fusioncharts';
---
+13 $path = 'public://fusioncharts';
+ file_prepare_directory($path, FILE_CREATE_DIRECTORY);
+ $path = drupal_realpath($
Comment #6
KingSalibah commented#3 for me. Really wish they would fix this in the module.
Comment #7
kenorb commentedPatch based on #3
Please re-test the patch.
Comment #8
GStegemann commentedThe patch works for me.
But the error message, which is displayed when no flash files are found in the created directory is a little bit confusing:
In fact one has to enable the module twice: first that the fusioncharts directory will be created and second when this directory has been populated with a shockwave flash file named MSLine.swf.
Comment #9
GStegemann commentedToday I ran into the same problem after installing the update of the Charts module.
When will the patch from #7 be committed?
Comment #10
quicksketchHi guys. I'll commit this when I get the chance. I just adopted this module last week and I'm working on a comprehensive overhaul (it'll be a 7.x-2.x branch). Support for Fusion Charts is likely to be dropped in the process however, considering our integration is still written against the Flash version of Fusion Charts.
Comment #11
quicksketchI rewrote most of this module in the new 7.x-2.x branch. Although this means you'll need to update your integrations, at least the 7.x-2.x version is fully functional and now works with newer charting libraries.