ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Contact Form Mayhem

June 03, 2008 1:21am

Subscribe [3]
  • #1 / Jun 03, 2008 1:21am

    mattbaily

    3 posts

    I set up a contact form (using the freeform module) for a client and it was working perfectly before the site went live (I was testing up on a dev server). It was recording the form submission in the database and sending out an email to a specified address with the form contents. Now we are live all hell has broken loose. When the form is submitted, this is what appears instead of the redirect to a thankyou page:

    Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/green/webapps/htdocs/admin/core/core.email.php on line 1310

    Warning: fsockopen() [function.fsockopen]: unable to connect to smtp5.webfaction.com:25 (Unknown error) in /home/green/webapps/htdocs/admin/core/core.email.php on line 1310

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1455

    Warning: fgets(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1476

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1455

    Warning: fgets(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1476

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1455

    Warning: fgets(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1476

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1455

    Warning: fgets(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1476

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1455

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1455

    Warning: fgets(): supplied argument is not a valid stream resource in /home/green/webapps/htdocs/admin/core/core.email.php on line 1476

    Warning: Cannot modify header information - headers already sent by (output started at /home/green/webapps/htdocs/admin/core/core.email.php:1310) in /home/green/webapps/htdocs/admin/core/core.functions.php on line 296

    It seems like my cp email details are screwed up. The form contents still get submitted to the database and they can be viewed in the control panel (thank god!). I have checked my smtp username and password and I am pretty sure they are correct. I am getting pretty frustrated and I think my client is having a nervous breakdown.

    Please any help would be greatly appreciated.

  • #2 / Jun 03, 2008 2:40am

    Ingmar

    29245 posts

    It’s some kind of network issue. Looks like the DNS lookup fails (“Temporary failure in name resolution”), and then, subsequently, the connection to the SMTP server as well. You might want to talk to your server guy about this one.

  • #3 / Jun 03, 2008 8:06pm

    mattbaily

    3 posts

    Thanks for the help. It was indeed a problem with the hosting company. They were having dns issues.

  • #4 / Jun 03, 2008 9:31pm

    Sue Crocker

    26054 posts

    I’m going to close this, then. Glad you were able to find out what the problem was.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases