I am working on a first graph with Forena Reports module. The data table populates from the db. The SVGGraph is in the library folder. Any idea why I am getting "Zero length axis" on the SVG?
Thanks

Comments

Teresa_’s picture

Warning: Illegal string offset 'id' in FrxEditor->setFrxHeader() (line 189 of .../sites/all/modules/forena/FrxEditor.inc).

Could really use some advice on this. Not sure if the database is causing the problem but I am getting these errors as I try and add the field format.

Still can't get a graph from my own data, basically a varchar and a number.

Ajascosoft’s picture

I am getting this error:

Fatal error: Class 'PoopulationPyramid' not found in C:\xampp\htdocs\SITENAME\sites\all\libraries\SVGGraph\SVGGraph.php on line 164

Obviously this is coming from SVGGraph library but why is a misspelt function name breaking my site. I cannot create any new reports nor modify the report.

Anyone facing this issue too?

Ajascosoft’s picture

I found a way round it. Thi is what i did:

  • Delete the affected report
  • Uninstall the SVGGraph library by moving it from the libraries folder
  • Open a couple of reports to ensure Forena is running fine
  • Reinstall SVGGraph by copying it back into the libraries folder
  • Now you can create your Forena reports

I hope this works for you too.