Posted by landike on June 8, 2010 at 3:35pm
5 followers
Jump to:
| Project: | Charts |
| Version: | 7.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | charts, Charts API, fusioncharts, google charts |
Issue Summary
1) I've enabled Charts module. Ok.
2) i've enabled other contributed modules.
And on FusionCharts instalation I have error:
Fatal error: Call to undefined function file_create_path() in /home/landi578/domains/lundiak.in.ua/public_html/sites/all/modules/charts/fusioncharts/fusioncharts.install on line 13
Comments
#1
Confirmed, fatal error still there.
#2
Drupal 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)
#3
The same here. The following patch fixed it for me:
# diff /.../drupal/7/Modules/charts/fusioncharts/fusioncharts.install .13c13,15
< $path = file_create_path() . '/fusioncharts';
---
> $path = 'public://fusioncharts';
> file_prepare_directory($path, FILE_CREATE_DIRECTORY);
> $path = drupal_realpath($path);
#4
Many 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
#5
Okay 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($
#6
#3 for me. Really wish they would fix this in the module.