Magento 1.8.1 Product Stock alert emails not sending

The Product Stock Alert emails are not sending.

Other emails such as new membership and password chages are sending

Cron appears to be working – the “catalog_product_alert” job is scheduled and appears to be running every minute. The product_alert_stock table shows who is signed up and shows that they have been notified, but they don’t get an email.

Looking at email reports in cpanel suggests that no emails have been sent – they are not pending or blocked or successful.

Is there anything else I need to check? Thanks very much!

Não consigo usar o Sweet Alert nas minha validações em jQuey

Eu tenho uma função de validação dos meus inputs, só que quando eu coloco um swal para emitir sucesso, ao invés de um alert, dentro do submitHandler, os dados não são cadastrados no banco de dados. Lembrando que sem essa função de validação e só com o alert, está tudo funcionando, o problema é quando tento usar o swal… o swal funciona, mas o programa não cadastra.

Sou iniciante. Se alguém poder me ajudar, ficarei grato!

**** Formulário ****

<form class="formulario" method="POST" action="" name="formulario" id="formCadastro">                    <div class="row">                     <p id="">Nome:</p>                     <input type="text" name="nomeAluno" size="35" placeholder="Fulano da Silva" id="nomeAluno">                 </div>                  <div class="row">                     <p>E-mail:</p>                     <input type="email" name="emailAluno" size="35" placeholder="fulano@email">                 </div>                  <div class="row">                     <p>RM:</p>                     <input type="number" name="rmAluno" size="10"  placeholder= ""  maxlength="10">                 </div>                  <div class="row">                     <p>Modulo:</p>                     <select name="moduloAluno" >                             <option>selecione...</option>                         <option>1°</option>                         <option>2°</option>                         <option>3°</option>                         <option>4°</option>                         <option>5°</option>                         <option>6°</option>                                                  </select>                                            </div>                  <div class="row">                     <p>Periodo:</p>                     <select name="periodoAluno" >                            <option value="">selecione...</option>                                           <option value="etim">ETIM</option>                         <option value="noturno">Noturno</option>                                                     </select>                                </div>                  <div class="row">                     <p>Curso:</p>                     <!-- <input  type="text"  name="cursoAluno"  size="20"  maxlength="45"> -->                     <select name="cursoAluno" >                          <option>selecione...</option>                         <option>Administração </option>                         <option>Cozinha</option>                         <option>Enfermagem</option>                         <option>Informática</option>                         <option>Segurança do Trabalho</option>                                               </select>                         </div>                  <div class="row">                     <p>Telefone:</p>                     <input type="text"  name="telefoneAluno"  id="telefoneAluno"   size="15"  placeholder="ex.: (xx)x xxxx-xxxx">                                            </div>                 <div class="botoes">                                                                     <input type="reset" name="voltar" value="Limpar">                      <input type="submit" name="cadastrar" id="btnEnviar"  value="Cadastrar" onclick="verificaCampo()">                       <button  id="btnVoltar" onclick="desejaVoltar()">Voltar</button>                                                                 </div>                                               </form>  ` 

**** FUNÇÃO ***

$  (document).ready(function(){    $  ("#formCadastro").validate({     rules:{                 // nome do campo do Formulário {                 //  se é requerido, obrigatório (required),                 //  máximo de caracteres (maxlength),                 //  minímo de caracteres (minlength),                 //  minímo de frases (minWords)                 // }                 nomeAluno: {                      required: true,                     maxlength: 150,                     minlength: 10,                     minWords: 2                 },                 emailAluno: {                     required: true,                     email: true,                     maxlength: 250,                     minlength: 10                 },                 rmAluno: {                     required: true,                     min: 3                  },                 moduloAluno: {                     required: true,                     minlength: 1                 },                 periodoAluno: {                     required: true,                     maxlength: 15                 },                 cursoAluno: {                     required: true,                     maxlength: 50                 },                 telefoneAluno: {                     required: true,                                      },                                   },                           submitHandler: function(form){                                   swal({                     title: 'Sucesso!',                     type: 'success',                     text: "Cadastro Efetuado com Sucesso.",                     timer: 2000                 })                               }                        }) }) 

Novice alert: How would I go about creating a website like this?

I'll keep it short and sweet. I just bought a domain through google domains and I'm looking to set up a portfolio that looks similar to this (a photographer named noah kalina who has a lot of amazing work)

http://noahkalina.com/

Again I'm completely new to this world and I have no idea what kind of code is being used but im super interested in diving in. What do I have to do to get a website like this? Thank you!

Macrodroid: I want a repeating alert when battery is less than/over than x%

I want a repeating alert when battery is less than/over than x%.

I have a pair of alerts (Using MacroDroid) that are triggered by a battery level change. One of less than 35%, and one of more than 85%.

It nicely runs a media sound file to alert me. (Ding!)

I want them to repeatedly alert me while they are above/below the limit. Currently it only seems to do it once: at the moment that the percentage level drops or increases past each limit. How could I make it sound every (say 5 minutes) when it is above or below the limits?

I’m becoming obsessed with battery levels ever since I replaced my battery and I found it to be swollen like a rotten grapefruit! 🙂

alert() following display change suspends the change until alert() completes

I can work around this by putting the change to display inside setTimeout(), but can someone explain why this happens? Using either of these 2 lines, the change to display isn’t completed until the alert() goes away. Thanks for your help.

        //$  ('#' + divId).hide();alert('test');         document.getElementById(divId).style.display = 'none'; alert('test'); 

the div here is popup window, below. It is later modified and made visible.

<div id="reportOptsDiv" style="display: none;">   <div class="centerDiv">     <div class="row">       <div class="col-xs-12">         <div id="reportOptsDataDiv">         </div>       </div>     </div>     <div class="row">       <div class="col-xs-12" style="margin-top: 15px; text-align: center">         <div class="btn-group btn-group-sm">            <button type="button" class="btn btn-primary"               onClick="addressBook.saveOptions('rtype',         'reportOptsDiv');">Save</button>           <button type="button" class="btn btn-default" onClick="addressBook.cancelOptions('reportOptsDiv');">Cancel</button>     </div>    </div>   </div>   </div>  </div> <!-- end of reportOptsDiv --> 

Logstash isn’t accepting the self signed certificates and throws a sslv3 alert handshake failure

I have set up an elsatic stack in my laptop and I have configured full stack (filebeat, logstash, elasticsearch and kibana) in it. But now I need to connect filebeat and logstash in a secure manner using SSL. But after using the self signed certificates taht I have created on my own it throws the following error when I try to verify the certificate with following curl request

curl -v –cacert ca.crt https://localhost:5044

The error –>

  • error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure
  • stopped the pause stream!
  • Closing connection 0 curl: (35) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure

It gives the above sslv3 handshake failure.

I have followed the following guideline to create the self signed certificate that can be configured with logstash https://benjaminknofe.com/blog/2018/07/08/logstash-authentication-with-ssl-certificates/ I have followed those steps that suitable to my implementation.

Here is the full handshake output that i have received from the curl request

* Rebuilt URL to: https://localhost:5044/ *   Trying 127.0.0.1... * TCP_NODELAY set * Connected to localhost (127.0.0.1) port 5044 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: *   CAfile: ca.crt   CApath: /etc/ssl/certs * TLSv1.2 (OUT), TLS handshake, Client hello (1): * TLSv1.2 (IN), TLS handshake, Server hello (2): * TLSv1.2 (IN), TLS handshake, Certificate (11): * TLSv1.2 (IN), TLS handshake, Server key exchange (12): * TLSv1.2 (IN), TLS handshake, Request CERT (13): * TLSv1.2 (IN), TLS handshake, Server finished (14): * TLSv1.2 (OUT), TLS handshake, Certificate (11): * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): * TLSv1.2 (OUT), TLS change cipher, Client hello (1): * TLSv1.2 (OUT), TLS handshake, Finished (20): * TLSv1.2 (IN), TLS alert, Server hello (2): * error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake        failure * stopped the pause stream! * Closing connection 0 curl: (35) error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure 

Here is my logstash.config file tha used in openssl key creation. I have given common name as localhost because that’s how I mapped in /etc/hosts 127.0.0.1 localhost

[req] distinguished_name = req_distinguished_name req_extensions = v3_req prompt = no  [req_distinguished_name] countryName                     = XX stateOrProvinceName             = XXXXXX localityName                    = XXXXXX postalCode                      = XXXXXX organizationName                = XXXXXX organizationalUnitName          = XXXXXX commonName                      = localhost emailAddress                    = XXXXXX  [v3_req] keyUsage = keyEncipherment, dataEncipherment extendedKeyUsage = serverAuth subjectAltName = @alt_names  [alt_names] DNS.1 = localhost 

logstash input plugin

input { beats { port => 5044 ssl => true ssl_certificate_authorities => ["/home/ssl/ca.crt"] ssl_certificate => "/home/ssl/logstash.crt" ssl_key => "/home/ssl/logstash.key" #ssl_verify_mode => "force_peer" client_inactivity_timeout => 1000 } }

I expected to have configured ssl certificates that are accepted by logstash. But they are not accepted when I try to verify them with the curl reuqests

Science/Evidence based guidelines on number of character for alert messages?

I’m designing a design system for multiple web-based app to manage customer license and account. I’m trying to set a character limit for these messages.

The company has culture of being verbose, and I’m having a hard time trying to convince on reducing text on alerts. Using the argument of being clean like Apple / Google guidelines, mobile first, doesn’t work. I need to dig deeper and find something more rational like backed by academia or experts in the field.

Alerts would be things like this: https://mailchimp.com/help/about-error-messages/

Is there any study on the maximum length of characters for error or warning messages for an app?