Hi,

I have a Drupal site where I wanted to display a Flot graph. My original method was by installing the "Ignite Drupal" module, which turned Drupal into a CodeIgniter MVC. Using this module, I created a class that generated the Flot graph. I have now switched to using Drupal's Flot module. With the CodeIgniter Flot graph still on my page, I loaded the Drupal Flot module and was able to successfully see the graph. I then disabled the "Ignite Drupal" module and now the graph no longer loads (just empty whitespace). The error from the log is "File does not exist: /srv/www-ssl/htdocs/sites/all/modules/flot/flot"

I made the following attempts to fix it:

  • Comment out the form api element corresponding to the CodeIgniter Flot graph.
  • Outcome: "File does not exist: /srv/www-ssl/htdocs/sites/all/modules/flot/flot"

  • Copy flot.module to flot inside /srv/www-ssl/htdocs/sites/all/modules/flot (just to see what would happen)
  • Outcome:I then received this error "/srv/www-ssl/htdocs/sites/all/modules/flot/flot/jquery.flot.js"

  • Uninstalled my website's module, Ignite Drupal, and Drupal's Flot. Then installed only Drupal's Flot.
  • Outcome:Same error: "File does not exist: /srv/www-ssl/htdocs/sites/all/modules/flot/flot"

It seems that the Drupal Flot graphs will show only if the Flot graph from CodeIgniter is also displayed (because if I comment out the form element, then the Drupal Flot graph gives an error). Is there some dependency or conflict here?

Comments

longphant’s picture

Status: Active » Closed (fixed)

Someone pointed me to the README in the 6.x release, which was not included in the 7.x dev tar file. I have fixed it.

attiks’s picture

Assigned: Unassigned » jelle_s
Status: Closed (fixed) » Needs work
jelle_s’s picture

Status: Needs work » Fixed

added README.txt to 7.x-1.x-dev

mgifford’s picture

Just to add that adding it to libraries is legit, but not reflected in the README.

3. Extract it as a sub-directory called 'flot' in the flot module folder. For
example:

 /sites/all/modules/flot/flot/

or

 /sites/all/libraries/flot

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.