Jump to content

no funciona modulo contact form en prestashop 8.0.4


dostoyevski

Recommended Posts

hola, no me funciona el modulo "contact form" en prestashop 8.0.4. Le doy a enviar mensaje despues de cubrir todos los campos y pasa a una pantalla en blanco y de ahi no sale. Y no llega ningun tipo de mensaje ni al servicio de atencion al cliente ni al cliente que lo envia.

Un saludo.

Link to comment
Share on other sites

en modo debug me devuelve este error:

Fatal error: Uncaught Error: Call to undefined function proc_open() in /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:291 Stack trace: #0 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(54): Swift_Transport_StreamBuffer->establishProcessConnection() #1 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(143): Swift_Transport_StreamBuffer->initialize(Array) #2 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SendmailTransport.php(50): Swift_Transport_AbstractSmtpTransport->start() #3 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php(65): Swift_Transport_SendmailTransport->start() #4 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/classes/Mail.php(627): Swift_Mailer->send(Object(Swift_Message)) #5 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/modules/contactform/contactform.php(607): MailCore::send(1, 'contact', '[ZapateriaFashi...', Array, 'luilli.guillan@...', 'Servicio al cli...', 'luilli.guillan@...', 'ZapateriaFashio...', NULL, NULL, '/var/www/vhosts...', false, 1, NULL, 'luilli.guillan....') #6 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/modules/contactform/contactform.php(254): Contactform->sendMessage() #7 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/modules/contactform/contactform.php(241): Contactform->getWidgetVariables(NULL, Array) #8 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/classes/Hook.php(994): Contactform->renderWidget(NULL, Array) #9 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/config/smartyfront.config.inc.php(84): HookCore::coreRenderWidget(Object(Contactform), NULL, Array) #10 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/config/smartyfront.config.inc.php(78): {closure}(Object(Contactform), Array) #11 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/config/smartyfront.config.inc.php(83): withWidget(Array, Object(Closure)) #12 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/classes/Smarty/SmartyLazyRegister.php(81): smartyWidget(Array, Object(SmartyDevTemplate)) #13 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/var/cache/dev/smarty/compile/pandalayouts_layout_full_width_tpl/f7/8c/33/f78c33b8b52c87d236aebb1c1de4cd1e705f750d_2.file.contact.tpl.php(69): SmartyLazyRegister->__call('smartyWidget', Array) #14 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_989117322649098d83bf8c5_52595203->callBlock(Object(SmartyDevTemplate)) #15 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_989117322649098d83bf8c5_52595203), Object(SmartyDevTemplate)) #16 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_989117322649098d83bf8c5_52595203), Object(Block_1316960196649098d2733de1_87531704)) #17 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_1316960196649098d2733de1_87531704)) #18 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/var/cache/dev/smarty/compile/pandalayouts_layout_full_width_tpl/cd/1f/82/cd1f82534566953c82acaa247fa812e4de78bedf_2.file.page.tpl.php(97): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_131696019...', 'page_content', 1) #19 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_449727731649098d27339b9_83113270->callBlock(Object(SmartyDevTemplate)) #20 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_449727731649098d27339b9_83113270), Object(SmartyDevTemplate)) #21 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_449727731649098d27339b9_83113270)) #22 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/var/cache/dev/smarty/compile/pandalayouts_layout_full_width_tpl/cd/1f/82/cd1f82534566953c82acaa247fa812e4de78bedf_2.file.page.tpl.php(180): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_449727731...', 'page_content_co...', 1) #23 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_1245040879649098d2731a89_36903977->callBlock(Object(SmartyDevTemplate)) #24 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_1245040879649098d2731a89_36903977), Object(SmartyDevTemplate)) #25 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_1245040879649098d2731a89_36903977), Object(Block_623168381649098d273ad31_32024264)) #26 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_623168381649098d273ad31_32024264)) #27 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/var/cache/dev/smarty/compile/pandalayouts_layout_full_width_tpl/dc/8c/b6/dc8cb62af53fed79c5230ca3018933113b6ea86e_2.file.layout-full-width.tpl.php(133): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_623168381...', 'content', 2) #28 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_808197951649098d273abb6_26853476->callBlock(Object(SmartyDevTemplate)) #29 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_808197951649098d273abb6_26853476), Object(SmartyDevTemplate)) #30 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_808197951649098d273abb6_26853476), Object(Block_1842132048649098d2751783_35277629)) #31 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_1842132048649098d2751783_35277629)) #32 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/var/cache/dev/smarty/compile/pandalayouts_layout_full_width_tpl/6c/7f/f8/6c7ff88081dbe9f8a829c237c9231fabb6192a8b_2.file.layout-both-columns.tpl.php(123): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_184213204...', 'content_wrapper') #33 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_649098d2757ce2_76291336(Object(SmartyDevTemplate)) #34 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate)) #35 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate)) #36 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #37 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'pandalayouts/la...', 0, 31536000, Array, 2, false, NULL, NULL) #38 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/var/cache/dev/smarty/compile/pandalayouts_layout_full_width_tpl/dc/8c/b6/dc8cb62af53fed79c5230ca3018933113b6ea86e_2.file.layout-full-width.tpl.php(50): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...') #39 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_649098d273b0c5_47123166(Object(SmartyDevTemplate)) #40 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate)) #41 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate)) #42 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #43 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'pandalayouts/la...', 0, 31536000, Array, 2, false, NULL, NULL) #44 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/var/cache/dev/smarty/compile/pandalayouts_layout_full_width_tpl/cd/1f/82/cd1f82534566953c82acaa247fa812e4de78bedf_2.file.page.tpl.php(33): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...') #45 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_649098d2734759_82887105(Object(SmartyDevTemplate)) #46 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate)) #47 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate)) #48 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #49 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender('page.tpl', NULL, 'pandalayouts/la...', 0, 31536000, Array, 2, false, NULL, NULL) #50 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/var/cache/dev/smarty/compile/pandalayouts_layout_full_width_tpl/f7/8c/33/f78c33b8b52c87d236aebb1c1de4cd1e705f750d_2.file.contact.tpl.php(38): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'page.tpl') #51 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_649098d83c1ab6_75479901(Object(SmartyDevTemplate)) #52 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate)) #53 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate)) #54 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0) #55 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, 'pandalayouts/la...', NULL, 0) #56 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch('contact.tpl', NULL, 'pandalayouts/la...', NULL) #57 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/classes/controller/FrontController.php(701): SmartyDev->fetch('contact.tpl', NULL, 'pandalayouts/la...') #58 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/classes/controller/FrontController.php(683): FrontControllerCore->smartyOutputContent('contact.tpl') #59 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/classes/controller/Controller.php(339): FrontControllerCore->display() #60 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/classes/Dispatcher.php(510): ControllerCore->run() #61 /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/index.php(28): DispatcherCore->dispatch() #62 {main} thrown in /var/www/vhosts/tiendaonlinedegorras.com/zapateriafashion.com/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php on line 291

Link to comment
Share on other sites

58 minutes ago, Nickz said:

tienes configurado el mailserver? Tienes hospedaje compartido a VPS u otra forma de hospedaje?

mailserver no, tengo configurado mailalerts. No tengo vps, tengo hosting compartido. Y he comprobado que tampoco me llegan los mails de confirmacion de los pedidos, que deberian llegar. En todas las otras tiendas que tengo me llegan pero es con otro hosting diferente. De todos modos la funcion mail() de php funciona perfectamente, ya que tengo un modulo hecho por mi que utiliza esa funcion y recibo los mails que manda dicho modulo.

Edited by dostoyevski (see edit history)
Link to comment
Share on other sites

El error dice que proviene de la libreria que usa PS para el envio de emails, especificamente al llamar a la funcion proc_open. Es  probable que haya alguna libreria de PHP que es requerida para dicha version de PS que no está activa. Has verificado los requisitos del hosting para tu version de PS. Te dejo tutorial de como hacerlo: https://youtu.be/gsaAhdzhMoULa funcion mail() quedo obsoleta hace años atras debido a problemas de seguridad.

 

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...