Hi<br><br>In my personal experience on php/memcached :<br><br>It happen when your memcached server is down or unreachible.<br>
It fail because your memcached object doesn't exist (I guess it's related with Memcache::pconnect()).<br><br>Use try/catch on your code, and tcpdump and telnet on memcached server to debug.<br><br>my 0.02euro<br>
<br><div><span class="gmail_quote">On 9/19/07, <b class="gmail_sendername">Ajinkya Nahar</b> <<a href="mailto:ajinkya@truesparrow.com">ajinkya@truesparrow.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span><font face="Times New Roman" size="3"><span style="background: rgb(255, 255, 204) none repeat scroll 0% 50%; font-size: 12pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
Hi all,</span></font></span></p>
<p><span><font face="Times New Roman" size="3"><span style="background: rgb(255, 255, 204) none repeat scroll 0% 50%; font-size: 12pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
</span></font></span></p>
<p><span><font face="Times New Roman" size="3"><span style="background: rgb(255, 255, 204) none repeat scroll 0% 50%; font-size: 12pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
I
am using memcached for caching purpose. Everything was working fine but suddenly,
I started getting the following error -</span></font></span></p>
<p><span><font face="Times New Roman" size="3"><span style="background: rgb(255, 255, 204) none repeat scroll 0% 50%; font-size: 12pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
</span></font></span></p>
<p><span><font face="Times New Roman" size="3"><span style="background: rgb(255, 255, 204) none repeat scroll 0% 50%; font-size: 12pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
Memcache
keys are not getting deleted properly due to the following error – </span></font></span></p>
<p><span><font face="Times New Roman" size="3"><span style="background: rgb(255, 255, 204) none repeat scroll 0% 50%; font-size: 12pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
</span></font></span></p>
<p><span><b><font face="Times New Roman" size="3"><span style="background: rgb(255, 255, 204) none repeat scroll 0% 50%; font-size: 12pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-weight: bold;">
PHP Warning: Memcache::delete() [<a href="http://whiteboard.updatelog.com/projects/1360384/function.Memcache-delete" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font color="black"><span style="color: windowtext;">
function.Memcache-delete</span></font></a>]:
cannot find connection identifier</span></font></b></span></p>
<p><span><b><font face="Times New Roman" size="3"><span style="background: rgb(255, 255, 204) none repeat scroll 0% 50%; font-size: 12pt; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-weight: bold;">
</span></font></b></span></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">What can be the cause due to which this error occurs?</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Also, please tell me how to fix it.</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks in advance,</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Regards,</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Ajinkya</span></font></p>
</div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Lessaid, Since 1980