Juandbbam Posted October 21, 2009 Share Posted October 21, 2009 Hello,I have a problem with the last version of Prestashop.When you buy a product and confirm the payment on the screen this sentence appears (in Spanish):Error: los parámetros del correo electrónico son incorrectosIt means Error: mail parameters are corruptedThe selling is done, the email is sent to the shop administrator but not to the clientAny idea about what may be going on?Thank you in advance Link to comment Share on other sites More sharing options...
kuraga Posted November 17, 2009 Share Posted November 17, 2009 tiene que ver con el manejo de idiomas. la clase Validate no reconoce tildes o caracteres del idioma, en el nombre de la tienda o en el nombre del cliente. yo lo resolví colocando este código en classes/Mail.php después de la línea 29:/*CHANGE*-decode html special characters*/ $fromName = htmlspecialchars_decode($fromName,ENT_QUOTES,'UTF-8'); $toName = htmlspecialchars_decode($toName,ENT_QUOTES,'UTF-8');/*END OF CHANGE*/ Link to comment Share on other sites More sharing options...
Juandbbam Posted November 17, 2009 Author Share Posted November 17, 2009 Muchas gracias!Juan....... Link to comment Share on other sites More sharing options...
Juandbbam Posted November 18, 2009 Author Share Posted November 18, 2009 Hola Kuraga,Al introducir las líneas que me indicas me da un error por las comillas del UTF-8, las cambio por normales. Pero al aceptar la compra me da un error:Warning: htmlspecialchars_decode() expects at most 2 parameters, 3 given in /home/drwebtie/public_html/classes/Mail.php on line 30Warning: htmlspecialchars_decode() expects at most 2 parameters, 3 given in /home/drwebtie/public_html/classes/Mail.php on line 30Warning: htmlspecialchars_decode() expects at most 2 parameters, 3 given in /home/drwebtie/public_html/classes/Mail.php on line 30Warning: htmlspecialchars_decode() expects at most 2 parameters, 3 given in /home/drwebtie/public_html/classes/Mail.php on line 30Error: los parámetros del correo electrónico son incorrectos(Como ves el error original sigue saliendo)Si quito el UTF-8 el error es el de siempre:Error: los parámetros del correo electrónico son incorrectosAlguna idea?GraciasJuan................. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now