mdjnelson / moodle-mod_customcert

Enables the creation of dynamically generated certificates with complete customisation via the web browser.
https://moodle.org/plugins/mod_customcert
GNU General Public License v3.0
91 stars 158 forks source link

Blank PDF only one course of all #464

Open romendiondo opened 2 years ago

romendiondo commented 2 years ago

When i download the PDF is blank, totally empty. I have a lot of courses in moodle, but just one have this issue. Can anyone help me? All config and set params are the same. Best Regards. Robert.

mdjnelson commented 2 years ago

Can you please turn on debugging (see https://docs.moodle.org/311/en/Debugging) and tell me if there is a stack trace error?

romendiondo commented 2 years ago

I turn on debugging mode but i dont see error message. Only appear in footer the next:

Esta página es: General type: incourse. Context Certificado personalizado: Descargar Certificado (context id 37772). Page type mod-customcert-view.

Regards

El lun, 11 oct 2021 a las 21:38, Mark Nelson @.***>) escribió:

Can you please turn on debugging (see https://docs.moodle.org/311/en/Debugging) and tell me if there is a stack trace error?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mdjnelson/moodle-mod_customcert/issues/464#issuecomment-940561855, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDCBCV3MB2UJM5CHWIS3FTUGN7RZANCNFSM5FZJNMNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mdjnelson commented 2 years ago

When you log in as a teacher and edit the certificate settings and click 'Save changes and preview` is it blank then? Also what elements do you have displayed on the certificate?

romendiondo commented 2 years ago

Thanks Mark for your time and responding to my messages. When I edit the template, and Save changes and preview, I see the certificate is perfect. The elements i have in certificate are:

[image: image.png]

Regards,

El lun, 11 oct 2021 a las 23:22, Mark Nelson @.***>) escribió:

When you log in as a teacher and edit the certificate settings and click 'Save changes and preview` is it blank then? Also what elements do you have displayed on the certificate?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mdjnelson/moodle-mod_customcert/issues/464#issuecomment-940598633, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDCBCS4SHUFZCIOJ76FUZLUGOLYFANCNFSM5FZJNMNA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

romendiondo commented 2 years ago

Hi Mark, I hope you are well. Can you see my last message? The elements in certificate are: Student Name, Background, Date, Course Name.

Regards! Robert.

mdjnelson commented 2 years ago

Hi @romendiondo the picture you attempted to add does not display correctly.

I can't understand why it would be blank with an element like a 'Student Name' since that is a necessity for any Moodle user. Do you have access to your error logs to see if there is an error being generated when you attempt to download the PDF?