Results 1 to 2 of 2

Thread: Formgenerator error message

  1. #1
    New user
    Join Date
    03-05-14.
    Posts
    1

    Default Formgenerator error message

    Hello all,

    I've got an problem with the formgenerator.
    When filling out the form and clicking submit i get an error message (see underneath).

    Wondering i anyone can point me out to the solution?

    Code:
    Warning: stream_socket_client(): unable to connect to localhost:25 (No connection could be made because the target machine actively refused it. ) in E:\HostingSpaces\Vermande\gyma.be\wwwroot\plugins\swiftmailer\classes\Swift\Transport\StreamBuffer.php on line 263 
    #0 [internal function]: __error(2, 'stream_socket_c...', 'E:\HostingSpace...', 263, Array)
    #1 E:\HostingSpaces\Vermande\gyma.be\wwwroot\plugins\swiftmailer\classes\Swift\Transport\StreamBuffer.php(263): stream_socket_client('localhost:25', 0, '', 30, 4, Resource id #254)
    #2 E:\HostingSpaces\Vermande\gyma.be\wwwroot\plugins\swiftmailer\classes\Swift\Transport\StreamBuffer.php(66): Swift_Transport_StreamBuffer->_establishSocketConnection()
    #3 E:\HostingSpaces\Vermande\gyma.be\wwwroot\plugins\swiftmailer\classes\Swift\Transport\AbstractSmtpTransport.php(117): Swift_Transport_StreamBuffer->initialize(Array)
    #4 E:\HostingSpaces\Vermande\gyma.be\wwwroot\plugins\swiftmailer\classes\Swift\Mailer.php(79): Swift_Transport_AbstractSmtpTransport->start()
    #5 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\libraries\Email.php(485): Swift_Mailer->send(Object(Swift_Message), Array)
    #6 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\Form.php(397): Email->sendTo(Array)
    #7 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\Form.php(214): Form->processFormData(Array, Array)
    #8 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\Hybrid.php(163): Form->compile()
    #9 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\Form.php(74): Hybrid->generate()
    #10 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\libraries\Controller.php(511): Form->generate()
    #11 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\ModuleArticle.php(194): Controller->getContentElement('185')
    #12 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\Module.php(140): ModuleArticle->compile()
    #13 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\ModuleArticle.php(71): Module->generate()
    #14 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\libraries\Controller.php(443): ModuleArticle->generate(false)
    #15 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\libraries\Controller.php(307): Controller->getArticle('42', false, false, 'main')
    #16 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\PageRegular.php(100): Controller->getFrontendModule('0', 'main')
    #17 E:\HostingSpaces\Vermande\gyma.be\wwwroot\index.php(266): PageRegular->generate(Object(DB_Mysql_Result))
    #18 E:\HostingSpaces\Vermande\gyma.be\wwwroot\index.php(401): Index->run()
    #19 {main}
    
    
    Fatal error: Uncaught exception Swift_TransportException with message Connection could not be established with host localhost [No connection could be made because the target machine actively refused it. #10061] thrown in E:\HostingSpaces\Vermande\gyma.be\wwwroot\plugins\swiftmailer\classes\Swift\Transport\StreamBuffer.php on line 265 
    #0 E:\HostingSpaces\Vermande\gyma.be\wwwroot\plugins\swiftmailer\classes\Swift\Transport\StreamBuffer.php(66): Swift_Transport_StreamBuffer->_establishSocketConnection()
    #1 E:\HostingSpaces\Vermande\gyma.be\wwwroot\plugins\swiftmailer\classes\Swift\Transport\AbstractSmtpTransport.php(117): Swift_Transport_StreamBuffer->initialize(Array)
    #2 E:\HostingSpaces\Vermande\gyma.be\wwwroot\plugins\swiftmailer\classes\Swift\Mailer.php(79): Swift_Transport_AbstractSmtpTransport->start()
    #3 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\libraries\Email.php(485): Swift_Mailer->send(Object(Swift_Message), Array)
    #4 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\Form.php(397): Email->sendTo(Array)
    #5 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\Form.php(214): Form->processFormData(Array, Array)
    #6 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\Hybrid.php(163): Form->compile()
    #7 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\Form.php(74): Hybrid->generate()
    #8 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\libraries\Controller.php(511): Form->generate()
    #9 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\ModuleArticle.php(194): Controller->getContentElement('185')
    #10 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\Module.php(140): ModuleArticle->compile()
    #11 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\ModuleArticle.php(71): Module->generate()
    #12 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\libraries\Controller.php(443): ModuleArticle->generate(false)
    #13 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\libraries\Controller.php(307): Controller->getArticle('42', false, false, 'main')
    #14 E:\HostingSpaces\Vermande\gyma.be\wwwroot\system\modules\frontend\PageRegular.php(100): Controller->getFrontendModule('0', 'main')
    #15 E:\HostingSpaces\Vermande\gyma.be\wwwroot\index.php(266): PageRegular->generate(Object(DB_Mysql_Result))
    #16 E:\HostingSpaces\Vermande\gyma.be\wwwroot\index.php(401): Index->run()
    #17 {main}
    Last edited by xchs; 03/05/2014 at 12:09.

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    This is a local installation, isn't it? So, you'll either need a (local) mail server to send messages or you'd have to configure an SMTP server in the system settings.
    Contao Community Moderator
    → Support options

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •