Jump to content

ContextErrorException in MailTransport.php line 257: Warning: escapeshellcmd() has been disabled for


Recommended Posts

i have one problem i cannot recieve activation email and when the costmer mak registartion or the send email they dont get nothing from prestashop i got evry time this message error :

----------------------------------------------------------------------------------------------------------------------

Whoops, looks like something went wrong. 1/1 ContextErrorException in MailTransport.php line 257: Warning: escapeshellcmd() has been disabled for security reasons
  1. in MailTransport.php line 257
  2. at ErrorHandler->handleError('2', 'escapeshellcmd() has been disabled for security reasons', '/www/htdocs/w013928d/nfe24.com/shop/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/MailTransport.php', '257', array('string' => '[email protected]'))
  3. at escapeshellcmd('[email protected]') in MailTransport.php line 257
  4. at Swift_Transport_MailTransport->_isShellSafe('[email protected]') in MailTransport.php line 286
  5. at Swift_Transport_MailTransport->_formatExtraParams('-f%s', '[email protected]') in MailTransport.php line 174
  6. at Swift_Transport_MailTransport->send(object(Swift_Message), array()) in Mailer.php line 85
  7. at Swift_Mailer->send(object(Swift_Message)) in Mail.php line 409
  8. at MailCore::Send('1', 'contact', 'Nachricht aus dem Kontaktformular [no_sync]', array('{order_name}' => '-', '{attached_file}' => '-', '{message}' => 'ich kann nicht die nicht schicken ', '{email}' => '[email protected]', '{product_name}' => ''), '[email protected]', 'Kundenservice', null, null, null, null, '/www/htdocs/w013928d/nfe24.com/shop/mails/', false, null, null, '[email protected]') in contactform.php line 302
  9. at Contactform->sendMessage() in contactform.php line 68
  10. at Contactform->getWidgetVariables(null, array()) in contactform.php line 60
  11. at Contactform->renderWidget(null, array()) in smartyfront.config.inc.php line 82
  12. at {closure}(object(Contactform), array()) in smartyfront.config.inc.php line 76
  13. at withWidget(array('name' => 'contactform'), object(Closure)) in smartyfront.config.inc.php line 83
  14. at smartyWidget(array('name' => 'contactform'), object(Smarty_Dev_Template))
  15. at call_user_func_array('smartyWidget', array(array('name' => 'contactform'), object(Smarty_Dev_Template))) in SmartyLazyRegister.php line 83
  16. at SmartyLazyRegister->__call('smartyWidget', array(array('name' => 'contactform'), object(Smarty_Dev_Template))) in aa70d8662b74d1152fe673bd1df8e1d3212da221.file.contact.tpl.php line 175
  17. at SmartyLazyRegister->smartyWidget(array('name' => 'contactform'), object(Smarty_Dev_Template)) in aa70d8662b74d1152fe673bd1df8e1d3212da221.file.contact.tpl.php line 175
  18. at content_589c855aeda649_32016440(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188
  19. at Smarty_Internal_TemplateBase->fetch('contact.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false) in SmartyDev.php line 41
  20. at SmartyDev->fetch('contact.tpl', null, 'layouts/layout-left-column.tpl') in FrontController.php line 655
  21. at FrontControllerCore->smartyOutputContent('contact.tpl') in FrontController.php line 639
  22. at FrontControllerCore->display() in Controller.php line 221
  23. at ControllerCore->run() in Dispatcher.php line 366
  24. at DispatcherCore->dispatch() in index.php line 28

 

could somone help me please post-1373787-0-29677200-1487774219_thumb.png

 

Link to comment
Share on other sites

From the error message 'escapeshellcmd() has been disabled for security reasons', it seems you should ask your host to enable escapeshellcmd(). If they're not willing to do that, you'll have to switch to SMTP on the Advanced Parameters > E-mail tab in the Back Office.

Link to comment
Share on other sites

i did asked i say to mak to rename php to phpx or i write this message in the file .htaccess :

AddHandler php70-cgi .php
AddHandler php56-cgi .php
AddHandler php55-cgi .php
AddHandler php5-cgi .php (Version entsprechend der PHP Apache-Modul Version)

 but i got other problem :

Whoops, looks like something went wrong. 1/1 InvalidArgumentException in FileCache.php line 92: The directory "/www/htdocs/w013928d/nfe24.com/shop/app/cache/dev/guzzle" is not writable.
  1. in FileCache.php line 92
  2. at FileCache->__construct('/www/htdocs/w013928d/nfe24.com/shop/app/cache/dev/guzzle', '.doctrinecache.data', '2') in FilesystemCache.php line 37
  3. at FilesystemCache->__construct('/www/htdocs/w013928d/nfe24.com/shop/app/cache/dev/guzzle') in appDevDebugProjectContainer.php line 2103
  4. at appDevDebugProjectContainer->getGuzzle_Cache_ProviderService() in bootstrap.php.cache line 2222
  5. at Container->get('guzzle.cache.provider') in appDevDebugProjectContainer.php line 638
  6. at appDevDebugProjectContainer->getCsaGuzzle_Subscriber_CacheService() in bootstrap.php.cache line 2222
  7. at Container->get('csa_guzzle.subscriber.cache') in appDevDebugProjectContainer.php line 552
  8. at appDevDebugProjectContainer->getCsaGuzzle_Client_AddonsApiService() in bootstrap.php.cache line 2222
  9. at Container->get('csa_guzzle.client.addons_api') in appDevDebugProjectContainer.php line 2839
  10. at appDevDebugProjectContainer->getPrestashop_Addons_ClientApiService() in bootstrap.php.cache line 2222
  11. at Container->get('prestashop.addons.client_api') in appDevDebugProjectContainer.php line 2925
  12. at appDevDebugProjectContainer->getPrestashop_Core_Admin_DataProvider_AddonsInterfaceService() in bootstrap.php.cache line 2222
  13. at Container->get('prestashop.core.admin.data_provider.addons_interface') in appDevDebugProjectContainer.php line 2942
  14. at appDevDebugProjectContainer->getPrestashop_Core_Admin_DataProvider_ModuleInterfaceService() in bootstrap.php.cache line 2222
  15. at Container->get('prestashop.core.admin.data_provider.module_interface') in appDevDebugProjectContainer.php line 3194
  16. at appDevDebugProjectContainer->getPrestashop_Module_ManagerService() in bootstrap.php.cache line 2222
  17. at Container->get('prestashop.module.manager') in ModuleManagerBuilder.php line 86
  18. at ModuleManagerBuilder->build() in AdminDashboardController.php line 301
  19. at AdminDashboardControllerCore->renderView() in AdminController.php line 2046
  20. at AdminControllerCore->initContent() in Controller.php line 201
  21. at ControllerCore->run() in Dispatcher.php line 366
  22. at DispatcherCore->dispatch() in index.php line 95
Link to comment
Share on other sites

  • 2 months later...
  • 4 months later...

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