Just upgraded from a version which was working fine - it's now throwing errors (as I don't have JPGraph installed and it isn't listed as an absolute requirement to run the module)..
2.
3. Run updates
4. Review log
Drupal database update
* warning: include_once(./sites/all/modules/trackfield/jpgraph/src/jpgraph_ttf.inc.php) [function.include-once.html]: failed to open stream: No such file or directory in D:\mysite\sites\all\modules\trackfield\trackfield_graph.module on line 296.
* warning: include_once() [function.include.html]: Failed opening './sites/all/modules/trackfield/jpgraph/src/jpgraph_ttf.inc.php' for inclusion (include_path='.;C:\Program Files\Zend\Core\ZendFramework-0.8.0') in D:\mysite\sites\all\modules\trackfield\trackfield_graph.module on line 296.
Not quite sure if this is a bug in that it should check and degrade gracefully or a documentation issue that JPGraph is mandatory now?
Comments
Comment #1
raintonr commentedIf you don't have JPGraph installed then it's pointless having the trackfield_graph module enabled.
I assume if you disable trackfield_graph this error will go away. Could you please do that and confirm?
Comment #2
ldheyn commentedTrack Graph disabled gives no errors
Enabling Track Graph gives 2 errors (jgraph not installed):
* warning: include_once(./sites/all/modules/trackfield/jpgraph/src/jpgraph_ttf.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/xxx/domains/xxx.be/public_html/sites/all/modules/trackfield/trackfield_graph.module on line 296.
* warning: include_once() [function.include]: Failed opening './sites/all/modules/trackfield/jpgraph/src/jpgraph_ttf.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/xxx/domains/xxx.be/public_html/sites/all/modules/trackfield/trackfield_graph.module on line 296.
It should be noted that the following event occured:
Track Graph disabled will show the admin part of your site in AdministrationTheme (in my case Garland)
Track Graph enabled will show the admin part in the default Theme (in my case Twilight)... I have no explanation for this...
Putting the map /jpgraph/ (and not /jpgraph-x.x.x/ !) in the TrackField module fixes the errors and the theme problem.
Comment #3
raintonr commentedThe idea is that one should place a symlink in the trackfield module directory to the specific version of jpgraph. This is stated here:
http://drupal.org/node/274101
I guess some error checking/reporting is required on this as what happens now is not very friendly is it?
Comment #4
raintonr commentedComment #5
raintonr commentedActually, no... this should get fixed with a status warning.