Reporting module. "Oh no! error!

Hello everyone.

I've been setting up our school and i have tried to add the reporting module.
Everything went well until I tried to make a report.
Once I hit "Make PDF" all I get is the "Oh no!" error. I was thinking that the next session where I can write the report.
Once I go back from the "Oh no!" I can see that a report has been made and I can download it, however, with no inputs or information, it’s a blank report apart from the Criteria that I pre-set.
I am using Gibbon V18. I’ve reinstalled the reporting module twice, just in case it was an error while installing

Is anyone else having this problem?
Any advice on this problem?

Thank you all.

Comments

  • Can you paste the url you get when it shows "Oh no!"?

    Before you start creating reports you have to finish the configuration, e.g. assign year groups and create the report design.

    Once this is done you need to enter scores and comments. This is normally done by the teachers using "Reports-Pastoral" and "Reports-Subject".
    admin
  • Hello meierrom.
    The link
    /gibbon/index.php?q=/modules//pdf.php&yearGroupID=001&schoolYearID=025&rollGroupID=00013&reportID=1

    I have checked that i have set up the school report, year groups, report design and gone and tested the creation with entering a test data, with marks.
    I still get this Oh no error.
  • Yeah, it's a known bug, which can easily be fixed.

    Can you see the double forward slash in the URL? Instead of "modules//pdf.php" is should be "modules/Reporting/pdf.php".

    Maybe you can try to do the correction yourself? If not, what version of the reporting module are you using?
    adminpaschal
  • Hello Meierrom,
    Thank you for your reply, Now you say it, I can see the error. Its looking for another folder with no name.
    I could try to correct it myself but what file will the error be in so i can try to change the file?
    The version of the reporting module is v2.16 with gibbon v18.

    Many thanks
    Brian
  • Filename: pdf_create.php, line 176

    While you are ad it, comment line 32, which is no longer needed.
    :)
  • Thank you!! ;)
    That did the trick. All is working fine now.

    Thank you so much for your help.

    Brian
  • Your welcome :)
    admin
  • Hi @BrianE and @meierrom glad to hear it's resolved. @andystat just released v2.20, which is now live on our Extend page...but I'm not sure if it fixes this issue or not. Ross.
    meierrom
  • Dear Admin ,meierrom ,

    Its not working on PDF Creation . Please look into it.
  • @andystat any input here?

    @ghulamabbas92 which version are you using, and what error messages are you getting?

    Thanks!
  • Upon clicking Create PDF it remains loading and then stops.No Message appears
    admin
  • In the module menu is there an Archive option? I think the latest version saves the PDF into the Archive, from where you can retrieve it.
  • @ghulamabbas92, which version are you using?
  • It gives error after loading when create PDF is clicked
  • Can you share the PHP error message with us? Thanks!

  • There is no error in error log only this white screen appears and also there is nothing in Archives
  • Is there anything in your error log file? Often errors are set to not display on screen (so as not to upset users), but it should be logged.
  • I have checked the error log file but there is nothing in it. Have you checked it on your own system?
  • I've not tested it, as we use a custom version of Andy's software that pre-dates the open source version. However, if you can tell me what Gibbon version you are using, I'll test v2.20 of the Reporting module with that version and see what I get. Cheers!
  • Respected Admin,

    I am using V18 Latest version development.
  • Hi Ghulam,

    Is this a recent error or has the PDF creation never worked? It's possible your system may be missing a PHP extension, if you check the System Settings > System Check page, are all the extensions listed with checkmarks?
  • In previous version error comes but when we go back the PDFs were present but now there is no PDFs generated.
Sign In or Register to comment.