This mean that your apache installation is having problems getting in touch with your progresql database. If it only happen sometime, you might have problem with the speed of the answer or the number of accepted connection to your db. Check on postgresql config / log side. 
<br><br>(Might also be your server load)<br><br>Pascal<br> <br><div><span class="gmail_quote">On 2/7/07, <b class="gmail_sendername">Docfear Docfear</b> &lt;<a href="mailto:docfear@hotmail.com">docfear@hotmail.com</a>&gt; 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><div style="text-align: left;">hello<br><br>my server was doing ok and now i started getting this error( sometimes only )<br>but when i refresh the page, it works ok again<br>can someone tell what could this be<br><br>
thanks<br><br>Juan<br><b><br>Fatal error</b>: Uncaught exception &#39;Exception&#39; with message &#39;Unable
to connect to database on localhost&#39; in
/home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php:96
Stack trace:
#0
/home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php(321):
AbstractDb-&gt;connect(NULL)
#1
/home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/Server.php(227):
AbstractDb-&gt;execSqlUniqueRes(&#39;SELECT server_i...&#39;, NULL, false,
true)
#2
/home/lavals/public_html/auth1/wifidog-auth/wifidog/include/common.php(107):
Server::getCurrentServer(true)
#3 /home/lavals/public_html/auth1/wifidog-auth/wifidog/index.php(52):
require_once(&#39;/home/lavals/pu...&#39;)
#4 {main} thrown in <b>/home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php</b> on line <b>96</b></div><br><hr>Stay up-to-date with your friends through the Windows LiveT Spaces friends list.  <a href="http://spaces.live.com/spacesapi.aspx?wx_action=create&amp;wx_url=/friends.aspx&amp;mkt=en-us" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Check it out!</a></div>
<br>_______________________________________________<br>WiFiDog mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:WiFiDog@listes.ilesansfil.org">WiFiDog@listes.ilesansfil.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog" target="_blank">
http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</a><br></blockquote></div><br><br clear="all"><br>-- <br>Pascal Charest, OpenSource Consultant.<br><a href="http://blog.pacharest.com">http://blog.pacharest.com
</a>