Current location: Hot Scripts Forums » Programming Languages » PHP » Error in my_thread_global_end(): 1 threads didn't exit


Error in my_thread_global_end(): 1 threads didn't exit

Reply
  #1 (permalink)  
Old 11-10-09, 07:43 AM
rsmahaa rsmahaa is offline
Newbie Coder
 
Join Date: Nov 2009
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Error in my_thread_global_end(): 1 threads didn't exit

can any one suggest me to rectify this error...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 11-10-09, 12:49 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
Please post your code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 11-11-09, 12:14 AM
rsmahaa rsmahaa is offline
Newbie Coder
 
Join Date: Nov 2009
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
PHP Code:

<?php

session_start
();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML lang=en dir=ltr><HEAD>
<TITLE>xxx</TITLE>
<META name="author" content="xxx">
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<LINK href="http://www.hotscripts.com/forums/images/new_shop/stylesheet.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3157" name=GENERATOR>
<style type="text/css">
div#tipDiv {
  position:absolute; visibility:hidden; left:0; top:0; z-index:10000;
  background-color:#dee7f7; border:1px solid #337;
  width:175px; padding:4px;
  color:#000; font-size:11px; line-height:1.2;
}
span.tip { background-color:#eef0f4 }
div.tp1 { font-size:12px; color:#336; font-style:italic }
div.tp2 { font-weight:bolder; color:#336; padding-top:4px }
</style>
<style type="text/css">
.navtext {text-align:left; width:235px; height:20px; font: 9pt sans-serif; border-width:5px; border-style:outset; border-color:white; background-color:#ffffff; layer-background-color:tan; color:#2e61a1; }
</style>
<style type="text/css">
body{
    margin-left:0;
    margin-right:0;
    margin-top:0;
    margin-bottom:0;
}
.popup
{
    position:absolute;
    border:solid 1px black;
    background-color:white;
    padding:4px;
}
.style33 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}
.style34 {
    font-size: 11px;
    color: #000000;
}
.style42 {font-family: Arial, Helvetica, sans-serif; color: #666666; font-size: 12px; font-weight: bold; }
.style43 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #333333;
}
.style45 {
    font-size: 14px;
    color: #1A7BAA;
}
.style47 {
    font-size: 13px;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}
</style>
</HEAD>
<BODY>
<div align="center">
  <?php include("top.php");?>
</div>
<CENTER>
  <table width="780" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td bgcolor="#FFFFFF"><TABLE cellSpacing=0 cellPadding=0 width=771 border=0 valign="top">
        <TBODY>
          <TR>
            <TD align=middle><table width="95%" border="0" align="center" cellpadding="2" cellspacing="2">
              <tr>
                <td height="355" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="1%"><img src="http://www.hotscripts.com/forums/images/sh1_01.gif" alt="" height="24" width="9" /></td>
                            <td width="98%" background="http://www.hotscripts.com/forums/images/sh1_22.gif"><table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="36%" align="center" class="boxText style33 style34"><div align="left" class="style42">Contact Us </div></td>
                                  <td width="64%"><div align="right" class="style42"><a href="customer_temp.php">Customer Support </a></div></td>
                                </tr>
                            </table></td>
                            <td width="1%"><img src="http://www.hotscripts.com/forums/images/sh1_03.gif" alt="" height="24" width="10" /></td>
                          </tr>
                          <tr>
                            <td background="http://www.hotscripts.com/forums/images/sh1_04.gif"><img src="http://www.hotscripts.com/forums/images/sh1_04.gif" alt="" height="220" width="9" /></td>
                            <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="100%"><table width="100%" height="100%" border="0" align="center" cellpadding="2" cellspacing="0" >
                                    <tr >
                                      <td height="271"><table width="65%" height="182" border="0" align="center" cellpadding="0" cellspacing="0">
                                        <tr>
                                          <td width="48%" style="line-height:20px" ><table width="177" height="132" border="1" cellpadding="0" cellspacing="0" bordercolor="#D7D7D7">
                                            <tr>
                                              <td><img src="http://www.hotscripts.com/forums/images/contact_img.jpg" width="177" height="132" border="0"></td>
                                            </tr>
                                          </table></td>
                                         <td width="52%" height="142" style="line-height:20px" ><div align="left">
                                           <p class="style43">xxx</p>
                                         </div></td>
                                        </tr>
                                      </table></td>
                                    </tr>
                                  </table></td>
                                </tr>
                              </table>
                                </td>
                            <td background="http://www.hotscripts.com/forums/images/sh1_06.gif"><img src="http://www.hotscripts.com/forums/images/sh1_06.gif" alt="" height="220" width="10" /></td>
                          </tr>
                          <tr>
                            <td><img src="http://www.hotscripts.com/forums/images/sh1_07.gif" alt="" height="13" width="9" /></td>
                            <td background="http://www.hotscripts.com/forums/images/sh1_08.gif"><img src="http://www.hotscripts.com/forums/images/sh1_08.gif" alt="" height="13" width="424" /></td>
                            <td><img src="http://www.hotscripts.com/forums/images/sh1_09.gif" alt="" height="13" width="10" /></td>
                          </tr>
                      </table></td>
                    </tr>
                </table></td>
              </tr>
            </table></TD>
          </TR>
        </TBODY>
      </TABLE>
      </td>
    </tr>
  </table>
  <?php include("bottom.php");?>
</CENTER>
<map name="Map"><area shape="rect" coords="108,136,215,166" href="xxx">
</map></BODY></HTML>

Last edited by wirehopper; 11-13-09 at 09:52 PM. Reason: PHP tags
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 11-13-09, 08:54 PM
Jcbones Jcbones is offline
Aspiring Coder
 
Join Date: Mar 2009
Location: North Carolina, USA
Posts: 516
Thanks: 5
Thanked 47 Times in 44 Posts
This is a MySQL bug, and should be fixed in all recent versions of PHP. What version are you running?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 11-13-09, 11:00 PM
rsmahaa rsmahaa is offline
Newbie Coder
 
Join Date: Nov 2009
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
php 5.2.5 ( This is Server config),.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 11-16-09, 06:42 PM
Jcbones Jcbones is offline
Aspiring Coder
 
Join Date: Mar 2009
Location: North Carolina, USA
Posts: 516
Thanks: 5
Thanked 47 Times in 44 Posts
If this is a public server that you don't control, file a ticket and tell them to update PHP or copy a new libmysql.dll file.

Otherwise follow this man's advice (different forum)
Quote:
Rock
Quote:
Error in my_thread_global_end 1 threads didn't exit

This error is actually a bug in the latter PHP/MySQL release, which is generated when the MySQL's InnoDB database storage engine's connection handlers while exiting properly did not decrement the server's thread count. It can be fixed easily by changing/switching the PHP Server API from CGI/FastCGI to ISAPI.

Or if you want to use CGI/FastCGI PHP Server API, you can do the following to get this sorted out permanently :
Quote:
1) Go to the directory where PHP is installed.. [C:\PHP on Plain & X:\Parallels\Plesk\Additional\PleskPHP5 on Plesk control panel servers]
2) Rename libmysql.dll to libmysql.bad
3) Download the PHP 5.2.1 binary from here & extract it to a folder.
4) Copy the libmysql.dll from this folder to the PHP installation directory ( check point 1 & 2 ).
5) Finally restart the web server to reflect the changes..
You'd be all good now
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Forum Pinned Threads -NM- PHP 6 05-15-08 10:59 AM
will die exit? FiRe PHP 5 03-29-05 09:16 AM
Please Help me Get rid of this parse error gmjan6 PHP 5 06-19-04 01:48 AM


All times are GMT -5. The time now is 01:39 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.