in my localhost is working perfectly, however, when I will use in a URL it gives this message: Reference Error: Sha256 is not defined How do I resolve this?
--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/2a7fc275-1623-4dab-80f3-08160181cbad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
| <html> | |
| <head> | |
| <meta content="text/html;charset=utf-8" http-equiv="Content-Type"> | |
| <title>QZ Tray Sample Page</title> | |
| </head> | |
| <script type="text/javascript" src="js/dependencies/rsvp-3.1.0.min.js"></script> | |
| <script type="text/javascript" src="js/dependencies/sha-256.min.js"></script> | |
| <script type="text/javascript" src="js/qz-tray.js"></script> | |
| <script type="text/javascript" src="js/additional/jquery-1.11.3.min.js"></script> |
This usually means the reference to the sha256 library is missing, or sometimes that UTF 8 isn't configured for that page.
Double check your include for sha256, then UTF8. That should fix it. If you're using a JS framework such as Angular let us know as it may be slightly different.
On Wed, May 8, 2019 at 3:22 PM Leandro Alfredo <pleandr...@gmail.com> wrote:
--in my localhost is working perfectly, however, when I will use in a URL it gives this message: Reference Error: Sha256 is not defined How do I resolve this?
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-p...@googlegroups.com.
Ok, obrigada.Mas estou usando a página de exemplo. sample.htmlabaixo, a cabeça do código:
<html> <cabeça> <meta content = " texto / html; charset = utf-8 " http-equiv = " Tipo de conteúdo "> <title> Página de Amostra da Bandeja QZ </ title> </ head> <script type = " texto / javascript " src = " js / dependências / rsvp-3.1. 0.min.js "> </ script> <script type = " texto / javascript " src = " js / dependências / sha-256. min.js "> </ script> <script type = " texto / javascript " src = " js / qz-tray.js "> </ script> <script type = " texto / javascript " src = " js / adicionais / jquery-1. 11.3.min.js "> </ script>
Em quarta-feira, 8 de maio de 2019 16:25:35 UTC-3, Tres Finocchiaro escreveu:
Isso geralmente significa que a referência à biblioteca sha256 está faltando ou, às vezes, que o UTF 8 não está configurado para essa página.Verifique sua inclusão para sha256 e UTF8. Isso deve consertar isso. Se você estiver usando um framework JS como o Angular, deixe-nos saber como ele pode ser um pouco diferente.Em qua, 8 de maio de 2019 às 15:22 Leandro Alfredo < pleandr ... @ gmail.com > escreveu:-no meu localhost está funcionando perfeitamente, porém, quando vou usar em um URL ele dá essa mensagem: Erro de Referência: Sha256 não está definido Como resolvo isso?
Você recebeu esta mensagem porque está inscrito no grupo "qz-print" dos Grupos do Google.
Para cancelar a inscrição deste grupo e deixar de receber emails, envie um email para qz-p ... @ googlegroups.com .
Para ver esta discussão na Web, visite https://groups.google.com/d/ msgid / qz-print / 2a7fc275-1623- 4dab-80f3-08160181cbad% 40googlegroups.com .
Para obter mais opções, visite https://groups.google.com/d/ optout .
--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/8603e6c0-618b-4bd4-afec-60a331ce2316%40googlegroups.com.