Lately I frequently see the error message: [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. I updated Apache (to 2.2.4) and PHP (to 5.2.3), but the problem persists. After studying the traffic log and locating traffic at or just before the error date/time, I found that a combination of two pages always produces this error. test.phtml -> HTML file (no PHP in it) that calls a second page with a parameter (added to the URL, e.g. ?subpage=1). test2.phtml -> PHP file with a reference to $subpage (without using $_GET properly). Works fine, until I put in an onload in the BODY tag of index.phtml. From off that moment, whenever I go to test2.phtml and then use the back button, the OS 64 error is added to the log. NOTE: This only happens when the logop.gif is used as a background of the div (http://www.newthesis.com/images/logop.gif) Here are the two files: [file test.phtml] <HTML> <HEAD> <script language="Javascript"> function setcontentpos(startup) { x = Math.round((document.body.clientWidth-800)/2); y = Math.round((document.body.clientHeight-600)/2); if (x<1) {x=1;} if (y<1) {y=1;} document.getElementById('content').style.left=x; document.getElementById('content').style.top=y; if (startup==1) { document.getElementById('content').style.display='inline'; document.getElementById('contenthidden').style.display='none'; } } </script> </HEAD> <body id="body" onload="setcontentpos(1)" onresize="setcontentpos(0)"> <div id="content" style="position : absolute; width : 800px; height : 600px; left : 1px; top : 1px; background-position : center; background-image:url ('images/logop.gif'); background-repeat : no-repeat; display : none;"> <INPUT TYPE="BUTTON" onclick="self.navigate('test2.phtml?subpage=1');" VALUE="go to page 1"> </div> </BODY> </HTML> [/file] [file test2.phtml] <HTML> <HEAD> </HEAD> <BODY> Got news today...<BR><BR> <? $hr="</span></div><BR><HR><BR>\n"; switch ($subpage) { case 1 : echo "Company".$hr; break; case 2 : echo "People".$hr; break; case 3 : echo "Partners".$hr; break; } ?> </BODY> </HTML> [/file]
Created attachment 20490 [details] main HTML page
Created attachment 20491 [details] Second html page
Created attachment 20492 [details] Picture used in example
Note: I've set my browser to check for a newer version of pages at each visit
Appears this had to do with the setting Win32DisableAcceptEx. After adding this to the httpd.conf file the problem was solved. Plus: instead of getting the IP address 0.0.0.0 in my access logs, I started receiving the proper IP's again. *** This bug has been marked as a duplicate of 11997 ***