Jump to content

Ayuda urgente error 500 al hacer checkout


eridamega

Recommended Posts

Al intentar hacer una compra y seleccionar el medio de pago y hacer checkout me arroja el error 500 y me muestra esta info

Que podrá ser, sucedió después de actualizar la version 

Versión de PrestaShop: 1.7.5.0

(1/1) ContextErrorException

Notice: Use of undefined constant INTL_IDNA_VARIANT_UTS46 - assumed 'INTL_IDNA_VARIANT_UTS46'

in Mail.php line 878
at MailCore::toPunycode('[email protected]')in Mail.php line 317
at MailCore::send(2, 'new_order', 'Pedido {order_name} ....... '/home2/eridamega/public_html/modules/ps_emailalerts/mails/', null, 1)in ps_emailalerts.php line 471
at Ps_EmailAlerts->hookActionValidateOrder(array('cart' => object(Cart), 'order' => object(Order), 'customer' => object(Customer), 'currency' =>object(Currency), 'orderStatus' => object(OrderState), 'cookie' => object(Cookie), 'altern' => 2))in Hook.php line 966
at HookCore::coreCallHook(object(Ps_EmailAlerts), 'hookactionValidateOrder', array('cart' => object(Cart), 'order' => object(Order), 'customer' =>object(Customer), 'currency' => object(Currency), 'orderStatus' => object(OrderState), 'cookie' => object(Cookie), 'altern' => 2))in Hook.php line 351
at HookCore::callHookOn(object(Ps_EmailAlerts), 'actionValidateOrder', array('cart' => object(Cart), 'order' => object(Order), 'customer' => object(Customer), 'currency' => object(Currency), 'orderStatus' => object(OrderState), 'cookie' => object(Cookie), 'altern' => 2))in Hook.php line 903
at HookCore::exec('actionValidateOrder', array('cart' => object(Cart), 'order' => object(Order), 'customer' => object(Customer), 'currency' => object(Currency), 'orderStatus' => object(OrderState), 'cookie' => object(Cookie), 'altern' => 2))in PaymentModule.php line 730
at PaymentModuleCore->validateOrder(712, '10', 315000.0, 'Pagos por transferencia bancaria', null, array('{bankwire_owner}' => '--------------------')in validation.php line 64
at Ps_WirepaymentValidationModuleFrontController->postProcess()in Controller.php line 270
at ControllerCore->run()in Dispatcher.php line 509
at DispatcherCore->dispatch()in index.php line 28
Edited by eridamega (see edit history)
Link to comment
Share on other sites

hace 31 minutos, Pedro dijo:

Yo probaría a reinstalar el módulo de transferencia bancaria y el de "emailalerts".

 

Y cuidado porque has pegado código en el que se ven datos personales

Lo hice pero nada. el error sale cual cualquier metodo de pago que elija 

Link to comment
Share on other sites

hace 56 minutos, Eduardo Gomez dijo:

Pudiste resolverlo?, me pasa lo mismo. 

No he podido resolverlo, investigando era porque la versión del IDU es muy antigua pero realmente  no creo que sea eso. 

Si encuentras la solución por fa me avisas tengo la tienda sin funcionar 

Link to comment
Share on other sites

Se soluciona con la modificación del archivo mail.php de la carpeta "clases" , (/clases/mail.php). Hay que introducir 16 líneas adicionales y eliminar 1). El error se produce tanto en la confirmación de pedidos, como crear cuentas y no se envía correo electrónico en la página de contacto. Aunque esto es un arreglo momentáneo, parece ser, que igual se corrige en actualizaciones siguientes.

Os dejo el link donde podéis copiar las lineas a modificar:

https://github.com/PrestaShop/PrestaShop/pull/11995/files

Advertencia: es conveniente hacer las modificaciones sobre un clon de la tienda.

 

Edited by legazpirojo (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
On 1/25/2019 at 2:22 AM, legazpirojo said:

Se soluciona con la modificación del archivo mail.php de la carpeta "clases" , (/clases/mail.php). Hay que introducir 16 líneas adicionales y eliminar 1). El error se produce tanto en la confirmación de pedidos, como crear cuentas y no se envía correo electrónico en la página de contacto. Aunque esto es un arreglo momentáneo, parece ser, que igual se corrige en actualizaciones siguientes.

Os dejo el link donde podéis copiar las lineas a modificar:

https://github.com/PrestaShop/PrestaShop/pull/11995/files

Advertencia: es conveniente hacer las modificaciones sobre un clon de la tienda.

 

Funciono a la perfección ,  muchas gracias :)

Link to comment
Share on other sites

22 hours ago, joane said:

Funciono a la perfección ,  muchas gracias :)

Yo modifiqué el archivo mail.php, de acuerdo a las correcciones brindadas, sin embargo no pude corregirlo, me aparece lo siguiente:

 

Gracias.

 

1/1) Swift_RfcComplianceException

Address in mailbox given [contacto@] does not comply with RFC 2822, 3.6.2.

in MailboxHeader.php line 345at Swift_Mime_Headers_MailboxHeader->_assertValidAddress('contacto@')in MailboxHeader.php line 261at Swift_Mime_Headers_MailboxHeader->normalizeMailboxes(array('contacto@' => 'Servicio a Clientes'))in MailboxHeader.php line 106at Swift_Mime_Headers_MailboxHeader->setNameAddresses(array('contacto@' => 'Servicio a Clientes'))in MailboxHeader.php line 63at Swift_Mime_Headers_MailboxHeader->setFieldBodyModel(array('contacto@' => 'Servicio a Clientes'))in SimpleHeaderFactory.php line 58at Swift_Mime_SimpleHeaderFactory->createMailboxHeader('To', array('contacto@' => 'Servicio a Clientes'))in SimpleHeaderSet.php line 68at Swift_Mime_SimpleHeaderSet->addMailboxHeader('To', array('contacto@' => 'Servicio a Clientes'))in SimpleMessage.php line 329at Swift_Mime_SimpleMessage->setTo(array('contacto@' => 'Servicio a Clientes'))in SimpleMessage.php line 305at Swift_Mime_SimpleMessage->addTo('contacto@', 'Servicio a Clientes')in Mail.php line 317at MailCore::send(2, 'contact', 'Mensaje desde el formulario de contacto [no_sync]', array('{order_name}' => '-', '{attached_file}' => '-', '{message}' => 'ertregfdz', '{email}' => '[email protected]', '{product_name}' => ''), '[email protected]', 'Servicio a Clientes', '[email protected]', 'Mezcal Indígenas Ancestrales', null, null, '/home1/mezcales/public_html/mails/', false, 1, null, '[email protected]')in contactform.php line 626at Contactform->sendMessage()in contactform.php line 291at Contactform->getWidgetVariables(null, array())in contactform.php line 275at Contactform->renderWidget(null, array())in Hook.php line 971at HookCore::coreRenderWidget(object(Contactform), null, array())in smartyfront.config.inc.php line 85at {closure}(object(Contactform), array())in smartyfront.config.inc.php line 76at withWidget(array(), object(Closure))in smartyfront.config.inc.php line 87at smartyWidget(array('name' => 'contactform'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83at SmartyLazyRegister->__call('smartyWidget', array(array('name' => 'contactform'), object(SmartyDevTemplate)))in a4673583f4426b1dee42cf35fc5ab6bf3c891848_2.file.contact.tpl.php line 90at Block_13878862555c6445c3b7cbc7_48523532->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_13878862555c6445c3b7cbc7_48523532), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_13878862555c6445c3b7cbc7_48523532),object(Block_10097536205c6445c3b8a9a8_93491628))in smarty_internal_runtime_inheritance.php line 186at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_10097536205c6445c3b8a9a8_93491628))in smarty_internal_runtime_inheritance.php line 156at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_10097536205c6445c3b8a9a8_93491628', 'page_content', 1)in ab96e2502c65f2b0af48df964da0690f1ba5056f_2.file.page.tpl.php line 97at Block_8479861335c6445c3b89b16_25980951->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_8479861335c6445c3b89b16_25980951), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_8479861335c6445c3b89b16_25980951))in smarty_internal_runtime_inheritance.php line 156at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_8479861335c6445c3b89b16_25980951', 'page_content_container', 1)in ab96e2502c65f2b0af48df964da0690f1ba5056f_2.file.page.tpl.php line 181at Block_15607750105c6445c3b86ea1_07554838->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_15607750105c6445c3b86ea1_07554838), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_15607750105c6445c3b86ea1_07554838),object(Block_1316465c6445c3b923d7_37833491))in smarty_internal_runtime_inheritance.php line 186at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_1316465c6445c3b923d7_37833491))in smarty_internal_runtime_inheritance.php line 156at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_1316465c6445c3b923d7_37833491', 'content', 2)in 7d49e2abc4d0657392b32940ae8344c64e25d9b6_2.file.layout-left-column.tpl.php line 84at Block_5723782035c6445c3b91385_15545673->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_5723782035c6445c3b91385_15545673), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_5723782035c6445c3b91385_15545673),object(Block_15568320575c6445c3bac229_08620982))in smarty_internal_runtime_inheritance.php line 186at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_15568320575c6445c3bac229_08620982))in smarty_internal_runtime_inheritance.php line 156at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_15568320575c6445c3bac229_08620982', 'content_wrapper')in b5c06c08b1f39f89492f853f915514714e0a670b_2.file.layout-both-columns.tpl.php line 87at content_5c6445c3bb5528_76229247(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216at Smarty_Internal_Template->render()in smarty_internal_template.php line 385at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in 7d49e2abc4d0657392b32940ae8344c64e25d9b6_2.file.layout-left-column.tpl.php line 38at content_5c6445c3b937f2_21339433(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216at Smarty_Internal_Template->render()in smarty_internal_template.php line 385at Smarty_Internal_Template->_subTemplateRender('layouts/layout-left-column.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-left-column.tpl')in ab96e2502c65f2b0af48df964da0690f1ba5056f_2.file.page.tpl.php line 33at content_5c6445c3b8cbd3_35256934(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216at Smarty_Internal_Template->render()in smarty_internal_template.php line 385at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in a4673583f4426b1dee42cf35fc5ab6bf3c891848_2.file.contact.tpl.php line 43at content_5c6445c3b7dd56_38383564(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, 'layouts/layout-left-column.tpl', null, 0)in smarty_internal_templatebase.php line 116at Smarty_Internal_TemplateBase->fetch('contact.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false)in SmartyDev.php line 40at SmartyDev->fetch('contact.tpl', null, 'layouts/layout-left-column.tpl')in FrontController.php line 682at FrontControllerCore->smartyOutputContent('contact.tpl')in FrontController.php line 666at FrontControllerCore->display()in Controller.php line 301at ControllerCore->run()in Dispatcher.php line 509at DispatcherCore->dispatch()in index.php line 28

Link to comment
Share on other sites

On 2/13/2019 at 10:31 AM, Eduardo Gomez said:

Yo modifiqué el archivo mail.php, de acuerdo a las correcciones brindadas, sin embargo no pude corregirlo, me aparece lo siguiente:

 

Gracias.

 

1/1) Swift_RfcComplianceException

Address in mailbox given [contacto@] does not comply with RFC 2822, 3.6.2.

in MailboxHeader.php line 345at Swift_Mime_Headers_MailboxHeader->_assertValidAddress('contacto@')in MailboxHeader.php line 261at Swift_Mime_Headers_MailboxHeader->normalizeMailboxes(array('contacto@' => 'Servicio a Clientes'))in MailboxHeader.php line 106at Swift_Mime_Headers_MailboxHeader->setNameAddresses(array('contacto@' => 'Servicio a Clientes'))in MailboxHeader.php line 63at Swift_Mime_Headers_MailboxHeader->setFieldBodyModel(array('contacto@' => 'Servicio a Clientes'))in SimpleHeaderFactory.php line 58at Swift_Mime_SimpleHeaderFactory->createMailboxHeader('To', array('contacto@' => 'Servicio a Clientes'))in SimpleHeaderSet.php line 68at Swift_Mime_SimpleHeaderSet->addMailboxHeader('To', array('contacto@' => 'Servicio a Clientes'))in SimpleMessage.php line 329at Swift_Mime_SimpleMessage->setTo(array('contacto@' => 'Servicio a Clientes'))in SimpleMessage.php line 305at Swift_Mime_SimpleMessage->addTo('contacto@', 'Servicio a Clientes')in Mail.php line 317at MailCore::send(2, 'contact', 'Mensaje desde el formulario de contacto [no_sync]', array('{order_name}' => '-', '{attached_file}' => '-', '{message}' => 'ertregfdz', '{email}' => '[email protected]', '{product_name}' => ''), '[email protected]', 'Servicio a Clientes', '[email protected]', 'Mezcal Indígenas Ancestrales', null, null, '/home1/mezcales/public_html/mails/', false, 1, null, '[email protected]')in contactform.php line 626at Contactform->sendMessage()in contactform.php line 291at Contactform->getWidgetVariables(null, array())in contactform.php line 275at Contactform->renderWidget(null, array())in Hook.php line 971at HookCore::coreRenderWidget(object(Contactform), null, array())in smartyfront.config.inc.php line 85at {closure}(object(Contactform), array())in smartyfront.config.inc.php line 76at withWidget(array(), object(Closure))in smartyfront.config.inc.php line 87at smartyWidget(array('name' => 'contactform'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83at SmartyLazyRegister->__call('smartyWidget', array(array('name' => 'contactform'), object(SmartyDevTemplate)))in a4673583f4426b1dee42cf35fc5ab6bf3c891848_2.file.contact.tpl.php line 90at Block_13878862555c6445c3b7cbc7_48523532->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_13878862555c6445c3b7cbc7_48523532), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_13878862555c6445c3b7cbc7_48523532),object(Block_10097536205c6445c3b8a9a8_93491628))in smarty_internal_runtime_inheritance.php line 186at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_10097536205c6445c3b8a9a8_93491628))in smarty_internal_runtime_inheritance.php line 156at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_10097536205c6445c3b8a9a8_93491628', 'page_content', 1)in ab96e2502c65f2b0af48df964da0690f1ba5056f_2.file.page.tpl.php line 97at Block_8479861335c6445c3b89b16_25980951->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_8479861335c6445c3b89b16_25980951), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_8479861335c6445c3b89b16_25980951))in smarty_internal_runtime_inheritance.php line 156at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_8479861335c6445c3b89b16_25980951', 'page_content_container', 1)in ab96e2502c65f2b0af48df964da0690f1ba5056f_2.file.page.tpl.php line 181at Block_15607750105c6445c3b86ea1_07554838->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_15607750105c6445c3b86ea1_07554838), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_15607750105c6445c3b86ea1_07554838),object(Block_1316465c6445c3b923d7_37833491))in smarty_internal_runtime_inheritance.php line 186at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_1316465c6445c3b923d7_37833491))in smarty_internal_runtime_inheritance.php line 156at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_1316465c6445c3b923d7_37833491', 'content', 2)in 7d49e2abc4d0657392b32940ae8344c64e25d9b6_2.file.layout-left-column.tpl.php line 84at Block_5723782035c6445c3b91385_15545673->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_5723782035c6445c3b91385_15545673), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_5723782035c6445c3b91385_15545673),object(Block_15568320575c6445c3bac229_08620982))in smarty_internal_runtime_inheritance.php line 186at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_15568320575c6445c3bac229_08620982))in smarty_internal_runtime_inheritance.php line 156at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_15568320575c6445c3bac229_08620982', 'content_wrapper')in b5c06c08b1f39f89492f853f915514714e0a670b_2.file.layout-both-columns.tpl.php line 87at content_5c6445c3bb5528_76229247(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216at Smarty_Internal_Template->render()in smarty_internal_template.php line 385at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in 7d49e2abc4d0657392b32940ae8344c64e25d9b6_2.file.layout-left-column.tpl.php line 38at content_5c6445c3b937f2_21339433(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216at Smarty_Internal_Template->render()in smarty_internal_template.php line 385at Smarty_Internal_Template->_subTemplateRender('layouts/layout-left-column.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-left-column.tpl')in ab96e2502c65f2b0af48df964da0690f1ba5056f_2.file.page.tpl.php line 33at content_5c6445c3b8cbd3_35256934(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216at Smarty_Internal_Template->render()in smarty_internal_template.php line 385at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in a4673583f4426b1dee42cf35fc5ab6bf3c891848_2.file.contact.tpl.php line 43at content_5c6445c3b7dd56_38383564(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, 'layouts/layout-left-column.tpl', null, 0)in smarty_internal_templatebase.php line 116at Smarty_Internal_TemplateBase->fetch('contact.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false)in SmartyDev.php line 40at SmartyDev->fetch('contact.tpl', null, 'layouts/layout-left-column.tpl')in FrontController.php line 682at FrontControllerCore->smartyOutputContent('contact.tpl')in FrontController.php line 666at FrontControllerCore->display()in Controller.php line 301at ControllerCore->run()in Dispatcher.php line 509at DispatcherCore->dispatch()in index.php line 28

Quizá , te falta cerrar bien las llaves , revisa lentamente el código ...  a  mi me quedó así :

 

public static function toPunycode($to)
    {
        $address = explode('@', $to);
        if (empty($address[0]) || empty($address[1])) {
            return $to;
        }

        if (defined('INTL_IDNA_VARIANT_UTS46')) {
            return $address[0] . '@' . idn_to_ascii($address[1], 0, INTL_IDNA_VARIANT_UTS46);
        }
         /*
         * INTL_IDNA_VARIANT_2003 const will be removed in PHP 8.
         * See https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003
         */
        if (defined('INTL_IDNA_VARIANT_2003')) {
            return $address[0] . '@' . idn_to_ascii($address[1], 0, INTL_IDNA_VARIANT_2003);
        }
        return $address[0] . '@' . idn_to_ascii($address[1]);
    }

Link to comment
Share on other sites

Gracias por comentar, fijate que revisé con detalle y vienen exactamente igual, sigo con el mismo problema. 

 

1 hour ago, joane said:

Quizá , te falta cerrar bien las llaves , revisa lentamente el código ...  a  mi me quedó así :

 

public static function toPunycode($to)
    {
        $address = explode('@', $to);
        if (empty($address[0]) || empty($address[1])) {
            return $to;
        }

        if (defined('INTL_IDNA_VARIANT_UTS46')) {
            return $address[0] . '@' . idn_to_ascii($address[1], 0, INTL_IDNA_VARIANT_UTS46);
        }
         /*
         * INTL_IDNA_VARIANT_2003 const will be removed in PHP 8.
         * See https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003
         */
        if (defined('INTL_IDNA_VARIANT_2003')) {
            return $address[0] . '@' . idn_to_ascii($address[1], 0, INTL_IDNA_VARIANT_2003);
        }
        return $address[0] . '@' . idn_to_ascii($address[1]);
    }

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
  • 4 months later...

Hola, alguien que me pueda ayudar. recien actualice mi tienda de prestashop 1.6 a 1.7.6

Pero me sale este error cuando genero el pedido

Especificamente al concretar pedido

http://www.viajes.selvacentral.info/module/ps_wirepayment/validation

Error:

(1/1) ContextErrorException

Notice: Undefined index:

in Currency.php line 186

at CurrencyCore->__construct(2, null, 0)in PaymentModule.php line 234

at PaymentModuleCore->validateOrder(null, '10', 0, 'Pagos por transferencia bancaria', null, array('{bankwire_owner}' => 'Prueba', '{bankwire_details}' => 'Prueba', '{bankwire_address}' => 'Prueba'), 2, false, '53a60ea4f73d0c42e346bb1e50a183c4')in validation.php line 64

at Ps_WirepaymentValidationModuleFrontController->postProcess()in Controller.php line 280

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

 

Link to comment
Share on other sites

  • 3 weeks later...
On 1/25/2019 at 2:22 AM, legazpirojo said:

Se soluciona con la modificación del archivo mail.php de la carpeta "clases" , (/clases/mail.php). Hay que introducir 16 líneas adicionales y eliminar 1). El error se produce tanto en la confirmación de pedidos, como crear cuentas y no se envía correo electrónico en la página de contacto. Aunque esto es un arreglo momentáneo, parece ser, que igual se corrige en actualizaciones siguientes.

Os dejo el link donde podéis copiar las lineas a modificar:

https://github.com/PrestaShop/PrestaShop/pull/11995/files

Advertencia: es conveniente hacer las modificaciones sobre un clon de la tienda.

 

....a mi también me funciono PERFECTO!!!! Muchisimas Gracias!!!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...