Support #5015
Problems ((certificate_barcode)) QR Code - Chamilo 1.8.8.4 / Chamilo 1.9
Description
Hello,
I would like to congratulate the whole team. This is the first time you report a problem with my installation Chamilo.
I'm having trouble with the generation of bar code to validate the certificate. By placing the tag ((certificate_barcode)) my certificate in the barcode does not appear, only the tag mentioned above.
I would like to know how to fix this problem on my installation.
Thank you and congratulations to everyone again.
Files
Associated revisions
History
Updated by Julio Montoya over 8 years ago
- Status changed from New to Needs more info
- Assignee deleted (
Julio Montoya)
Hello Ricel,
It seems to work well for me, can you check if you have something in the apache error logs?
Updated by Yannick Warnier over 8 years ago
Hola Ricel,
Por favor asegúrate que el ((certificate_barcode)) no sea algo transformado en el código, con el icono "Fuente HTML". Debe aparece igual en la fuente HTML que en el visualizador normal.
El código barra solo se cambiará cuando el alumno haya "ganado" el certificado.
Por favor revisa el manual de profesor de Chamilo 1.8.8.4 para estar seguro que no olvidaste algo.
Updated by Yannick Warnier over 8 years ago
- Status changed from Needs more info to Rejected - Abandoned
Updated by Ricel Leite over 8 years ago
Hello,
The following tags work for me:
((user_firstname))
((user_lastname))
((gradebook_institution))
((gradebook_sitename))
((teacher_firstname))
((teacher_lastname))
((official_code))
((date_certificate))
((course_code))
((course_title))
((gradebook_grade))
((certificate_link))
((certificate_link_html))
Only the tag ((certificate_barcode)) does not work for me. See the attached image.
What can I do to test better?
Thank you.
Updated by Ricel Leite over 8 years ago
Hello Yannick and Julius.
I have a test environment. If you can help me, I can pass a username and password so you can test the inclusion of the certificate by using the tag ((certificate_barcode)) therefore need to validate certificates from users.
Thank you!
Updated by Yannick Warnier over 8 years ago
Hi Ricel,
I think the problem is you don't have the libraries required to print the barcode, that's the only thing that pops to mind. Do you have access to a "phpinfo" page for your installation? Basically, it's as simple as putting the attached file in the Chamilo root directory and sending us the URL or the result of the page (save page as HTML and attach it here).
We need it to see which packages are installed on your server.
Updated by Ricel Leite over 8 years ago
- File phpinfo__.pdf phpinfo__.pdf added
Hello Yannick,
File with the following information from my test server
Thank you.
Updated by Yannick Warnier over 8 years ago
- Target version changed from 1.9 Stable to 1.9.2
Hi Ricel,
You seem to have all the required elements to be able to generate a QR code. I don't see why they wouldn't be generated. Is your archive/ directory writeable? (I think QR images are temporarily stored there)
I'll have to move this task to our next stable version (1.9.2) for now. If we manage to find a solution, good, but otherwise I cannot let this individual problem get in the way of releasing 1.9. Sorry about that. That doesn't mean we will forget about it, but we have to get more information somehow. Maybe installing and enabling php5-xdebug would provide more details as to why it is failing...
Ultimately, you can always contact the Chamilo official providers for (commercial) help if this is really urgent.
Updated by Ricel Leite over 8 years ago
Hello Yannick,
Thanks for the help and I'll be waiting for a solution to this problem. I believe this functionality is an important item and super current (QR codes are widely used).
Thank you again.
Updated by Ricel Leite over 8 years ago
Hi Yannick,
It would be possible to create a virtual machine with Chamilo 1.8.8.4 or 1.9.2 to verify and test the functionality? That would be very important so I can more clearly understand the problems as the generation of the certificate among others.
Thank you again.
Updated by Yannick Warnier over 8 years ago
I wasn't referring to the features itself, but rather the fact that, in most cases, it works (and that the case you report is a bug we want to fix, but that we cannot reproduce it until now).
Updated by Yannick Warnier over 8 years ago
Sure, we could do that. You'll have to wait until after the 1.9 stable release though, because right now the agenda is rather intensely filled.
Updated by Ricel Leite over 8 years ago
Hi Yannick,
I am very grateful for the support and care quickly.
Congratulations and I'll be waiting!
Thank you!
Updated by Ricel Leite over 8 years ago
Hi Yannick,
The problem is solved, however, the QR code is generated only to a student. The administrator can not view the certificate with the barcode.
Many thanks and apologies for the delay in responding.
Updated by Julio Montoya over 8 years ago
- Status changed from Needs more info to Assigned
- Assignee set to Julio Montoya
I suppose you mean when you click the preview button? If that's true, I found the bug and I will fix it
Updated by Julio Montoya over 8 years ago
- Status changed from Assigned to Needs testing
- Assignee deleted (
Julio Montoya) - % Done changed from 0 to 50
I sent a fix for that
Updated by Ricel Leite over 8 years ago
Thanks Julio!
You are doing a wonderful job. Congratulations!
Updated by Julio Montoya over 8 years ago
- Status changed from Needs testing to Bug resolved
- % Done changed from 50 to 100
Teacher can preview the qr code see #5015