Closed (works as designed)
Project:
SWF Charts
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Jun 2007 at 00:17 UTC
Updated:
6 Oct 2007 at 17:52 UTC
I ran into this when I set up a Drupal site on my dev server w/ this module, and then moved it to production along with the database. The database still cached an incorrect location for the $xmldir. Clearing the Drupal cache fixed this, but for some reason it would not recreate any of the .XML files until I modified this line. (see attached)
I came to the conclusion, and correct me if I'm wrong, that IF the XML file doesn't exist (which it didn't in my case), this function returns FALSE. That sets line 264 up for failure when it tries to file_save_data() to an empty path.
Hope this helps!
| Comment | File | Size | Author |
|---|---|---|---|
| patch_134.txt | 614 bytes | ms2011 |
Comments
Comment #1
harry slaughterthe documentation for file_create_path() is a bit vague. file_create_path() will create the dir you pass to it and return the full relative path name. FALSE if it fails to create the directory.
if you are copying tables, you may have copied the variables table which holds values this module uses. that may have caused your problem. this module does not use cache.