email problem on site..ugh

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   email problem on site..ugh
RobF
CZ Newbie
RobF has been a member for over 20 year's 20 Year Member
usa.gif michigan.gif
Gender: Male
Website:
Status: Offline
Joined: Aug 09, 2004
0.00 posts per day
Posts: 1
Points: 108
   
This is the error we get when you reply back to a person that has notify them in an email after posting to their thread? Any Ideas on this? Also we are using apache2triad.

General Error
 
Could not connect to smtp host : 10035 : A non-blocking socket operation could not be completed immediately.

DEBUG MODE

Line : 150
File : C:\apache2triad\htdocs\includes\smtp.php



we are also using a modified "email hack" so you dont have to have user activation to access the site because our server wasnt sending out emails for sign up....that code is here this is in modules/your account/index.php

function confirmNewUser($username, $user_email, $user_password, $user_password2, $random_num, $gfx_check) {
    global $stop, $EditedMessage, $sitename, $module_name, $minpass;
    include("header.php");
    include("config.php");
    filter_text($username);
    $username = $EditedMessage;
    $user_viewemail = "0";
    userCheck($username, $user_email);
    if (!$stop) {
   $datekey = date("F j");
   $rcode = hexdec(md5($_SERVER[HTTP_USER_AGENT] . $sitekey . $_POST[random_num] . $datekey));
   $code = substr($rcode, 2, 6);
   if (extension_loaded("gd") AND $code != $gfx_check AND ($gfx_chk == 3 OR $gfx_chk == 4 OR $gfx_chk == 6 OR $gfx_chk == 7)) {
       title(""._NEWUSERERROR."");
       OpenTable();
       echo "<center><b>"._SECCODEINCOR."</b><br><br>"
      .""._GOBACK."</center>";
       CloseTable();
       include("footer.php");
       die();
   }
   if ($user_password == "" AND $user_password2 == "") {
       $user_password = makepass();
   } elseif ($user_password != $user_password2) {
       title(""._NEWUSERERROR."");
       OpenTable();
       echo "<center><b>"._PASSDIFFERENT."</b><br><br>"._GOBACK."</center>";
       CloseTable();
       include("footer.php");
       die();
   } elseif ($user_password == $user_password2 AND strlen($user_password) < $minpass) {
       title(""._NEWUSERERROR."");
       OpenTable();
       echo "<center>"._YOUPASSMUSTBE." <b>$minpass</b> "._CHARLONG."<br><br>"._GOBACK."</center>";
       CloseTable();
       include("footer.php");
       die();
   }
   title("$sitename: "._USERREGLOGIN."");
   OpenTable();
   echo "<center><b>"._USERFINALSTEP."</b><br><br>$username, "._USERCHECKDATA."</center><br><br>"
       ."<table align='center' border='0'>"
       ."<tr><td><b>"._UUSERNAME.":</b> $username<br></td></tr>"
       ."<tr><td><b>"._EMAIL.":</b> $user_email</td></tr></table><br><br>"
       ."<center><b>"._NOTE."</b> "._YOUWILLRECEIVE."";
   echo "<form action=\"modules.php?name=$module_name\" method=\"post\">"
       ."<input type=\"hidden\" name=\"random_num\" value=\"$random_num\">"
       ."<input type=\"hidden\" name=\"gfx_check\" value=\"$gfx_check\">"
       ."<input type=\"hidden\" name=\"username\" value=\"$username\">"
       ."<input type=\"hidden\" name=\"user_email\" value=\"$user_email\">"
       ."<input type=\"hidden\" name=\"user_password\" value=\"$user_password\">"
       ."<input type=\"hidden\" name=\"op\" value=\"finish\"><br><br>"
       ."<input type=\"submit\" value=\""._FINISH."\">  ;; ;;"._GOBACK."</form></center>";
   CloseTable();
    } else {
   OpenTable();
   echo "<center><font class=\"title\"><b>Registration Error!</b></font><br><br>";
   echo "<font class=\"content\">$stop<br>"._GOBACK."</font></center>";
   CloseTable();
    }
    include("footer.php");
}

Thanks in advance!
Btw Telli thanks for that great User info v4 block i love it !


Back to top Reply with quote
#2   re: email problem on site..ugh
CStingray78
CZ Super Newbie
usa.gif maryland.gif
Occupation: IT Consultant
Age: 43
Gender: Male
Website:
Status: Offline
Joined: Dec 24, 2003
0.01 posts per day
Posts: 58
Points: 4,878
AIM Address   
I did a little research on google for that error and this is what it said:

The following errors are related to Ethernet communications and returned by WINSOCK. These errors indicate that communication to the device has failed. Your network adminstrator will be able to help you resolve thse problems.

2733 - A non-blocking socket operation could not be completed immediately.

And the "Could not connect to smtp host" leads me to believe your nuke install is not pointed at the right settings for e-mail. Check in the Forum Administration and go to the "Configuration" Section and make sure that the settings at the bottom of that page are set correctly if you use an SMTP server to send the e-mails.

Tom




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#3   re: email problem on site..ugh
nicruisin
CZ Active Member
nicruisin has been a member for over 20 year's 20 Year Member
uk.gif
Age: 44
Gender: Male
Website:
Status: Offline
Joined: Feb 06, 2004
0.02 posts per day
Posts: 119
Points: 6,632
   
icon_eek.gif This is my problem to!

In my case I emailed my host they said they are 100% and to check my settings, I emailed them back saying my settings are 100% also and it worked fine just days ago. They replied with sorry but there's nothing we can do icon_rolleyes.gif

I then installed a new nuke using Fantastico and yep that didn't work either, the hosts are now aware of the bug and plan to have it sorted asap icon_neutral.gif

So to cut a long story short, there may well be a problem, get in touch with your hosts and see what they say icon_wink.gif




_________________


[ Register or login to view links on this board.] [color=red]Cars, babes and cruisin' from the maddest palce of them all... Northern Ireland!
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum