<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Are you sure your postgresql.conf is accepting connections throught TCP on localhost ?<DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On 24-Aug-06, at 13:23 , Rajendra Jagad wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Perfect Francois Proulx right on the dog I mean right on the money. That worked. I also was able to download and install MagpieRss and Phickr in the same location. However I have problem connected to the database. Here is my database configuration page in the install.php script.<BR><BR><H1 style="font-style: italic; color: rgb(204, 51, 204);">Database access configuration</H1> <BR style="font-style: italic; color: rgb(204, 51, 204);"> <TABLE style="font-style: italic; color: rgb(204, 51, 204);" border="1">  <TBODY><TR><TD>DB</TD><TD><SELECT name="CONF_DBMS"><OPTION value="DBMS_POSTGRES" selected="selected">POSTGRES</OPTION></SELECT></TD></TR><TR><TD>Host</TD><TD><INPUT name="CONF_DATABASE_HOST" value="localhost" type="text"></TD></TR><TR><TD>DB Name</TD><TD><INPUT name="CONF_DATABASE_NAME" value="wifidog" type="text"></TD></TR><TR><TD>Username</TD><TD><INPUT name="CONF_DATABASE_USER" value="wifidog" type="text"></TD></TR><TR><TD>Password</TD><TD><INPUT name="CONF_DATABASE_PASSWORD" value="wifi4177" type="text"></TD></TR></TBODY></TABLE><P style="font-style: italic; color: rgb(204, 51, 204);">By clicking Next, your configuration will be automaticaly saved </P><P style="font-style: italic; color: rgb(204, 51, 204);"><B>Note</B> : MySQL support is presently experimental and not working</P><P style="font-style: italic; color: rgb(204, 51, 204);"><A href="http://localhost/wifidog/wifidog/install.php#" onclick="document.myform.page.value = 'magpierss'; document.myform.action.value = ''; document.myform.submit();" class="button"> Back</A> </P> <BR style="font-style: italic; color: rgb(204, 51, 204);"><P style="font-style: italic; color: rgb(204, 51, 204);"><A href="http://localhost/wifidog/wifidog/install.php#" onclick="javascript: document.myform.page.value='testdatabase'; submitDatabaseValue(); document.myform.submit();" class="button"> Next</A></P><BR><P>I change the password from wifidogtest to wifi4177 should that matter ??<BR></P><P>When I click on NEXT I get the followsing.<BR></P><H1 style="font-style: italic; color: rgb(204, 102, 204);">Database connection </H1><UL style="font-style: italic; color: rgb(204, 102, 204);"><LI>Postgresql database connection : </LI></UL><BR><BR><DIV><SPAN class="gmail_quote">On 8/24/06, <B class="gmail_sendername">François Proulx</B> &lt;<A href="mailto:fproulx@edito.qc.ca"> fproulx@edito.qc.ca</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="">You have to copy the files so that you have something like <DIV><BR></DIV><DIV>/wifidog/lib/smarty/Smarty.class.php</DIV><DIV>/wifidog/lib/smarty/Smarty_Compiler.class.php</DIV><DIV>....</DIV><DIV><BR></DIV><DIV>I suspect you have the wrong directory structure.</DIV></DIV><DIV><SPAN class="e" id="q_10d3ece8d68657f1_1"> <DIV><BR><DIV><DIV>On 24-Aug-06, at 0:16 , Rajendra Jagad wrote:</DIV><BR><BLOCKQUOTE type="cite">I have smarty problem but of different kind. I install the authtentication server Ran the <A href="http://localhost:localdomain/wifidogpath/install.php" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://localhost:localdomain/wifidogpath/install.php</A><BR><BR>After I click on next button I get <BR><SPAN style="font-style: italic; color: rgb(102, 51, 255);">PHP    OK    5.1.4</SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"> <BR style="font-style: italic; color: rgb(102, 51, 255);"><SPAN style="font-style: italic; color: rgb(102, 51, 255);"> Extention    Status    Note    Message</SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"> <SPAN style="font-style: italic; color: rgb(102, 51, 255);">xml    OK    Required for RSS support     </SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"> <SPAN style="font-style: italic; color: rgb(102, 51, 255);"> pgsql    OK    Required to connect to Postgresql database     </SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"><SPAN style="font-style: italic; color: rgb(102, 51, 255);"> mysql  <SPAN style="color: rgb(255, 0, 0);">   Warning </SPAN>   Required to connect to MySQL database (experimental and not working)    MySQL extention is missing</SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"> <SPAN style="font-style: italic; color: rgb(102, 51, 255);"> dom    OK    Required if you want to export the list of HotSpots as a RSS feed     </SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"><SPAN style="font-style: italic; color: rgb(102, 51, 255);"> gettext    OK    Internationalization support      </SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"><SPAN style="font-style: italic; color: rgb(102, 51, 255);">mbstring    OK    Required for core auth-server and RSS support      </SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"> <SPAN style="font-style: italic; color: rgb(102, 51, 255);">mcrypt    OK    Required for RADIUS support     </SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"> <SPAN style="font-style: italic; color: rgb(102, 51, 255);"> mhash    OK    Required for RADIUS support     </SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"><SPAN style="font-style: italic; color: rgb(102, 51, 255);"> xmlrpc    OK    Required for RADIUS support      </SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"><BR style="font-style: italic; color: rgb(102, 51, 255);"><SPAN style="font-style: italic; color: rgb(102, 51, 255);"> PEAR</SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"> <SPAN style="font-style: italic; color: rgb(102, 51, 255);">Component    Status    Note</SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"> <SPAN style="font-style: italic; color: rgb(102, 51, 255);">radius    <SPAN style="color: rgb(255, 0, 0);">Warning </SPAN>   Try in command line : pear install radius</SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"> <SPAN style="font-style: italic; color: rgb(102, 51, 255);"> Auth_RADIUS   <SPAN style="color: rgb(255, 0, 0);"> Warning    </SPAN>Try in command line : pear install Auth_RADIUS</SPAN><BR style="font-style: italic; color: rgb(102, 51, 255);"> <SPAN style="font-style: italic; color: rgb(102, 51, 255);"> Crypt_CHAP    OK  </SPAN>   <BR><BR>Todo : PostgreSLQ and MySQL version are not validate<BR><BR>Now the 3 warning can be ingnored becuase those are optionals installs so I believe I can Ignore them. when I click on next button <BR> the permission required by wifidog are check and TIP is given That Tip really help me fix the problem quickly, GREAT WORK ON That guys..<BR><BR style="font-style: italic; color: rgb(153, 153, 255);"><SPAN style="font-style: italic; color: rgb(153, 153, 255);"> Home: /var/www/html/wifidog/wifidog</SPAN><BR style="font-style: italic; color: rgb(153, 153, 255);"><BR style="font-style: italic; color: rgb(153, 153, 255);"><SPAN style="font-style: italic; color: rgb(153, 153, 255);"> HTTPD username/group: apache/apache</SPAN><BR style="font-style: italic; color: rgb(153, 153, 255);"><SPAN style="font-style: italic; color: rgb(153, 153, 255);">Directory    Owner    Writable</SPAN><BR style="font-style: italic; color: rgb(153, 153, 255);"> <SPAN style="font-style: italic; color: rgb(153, 153, 255);">tmp    apache    YES</SPAN><BR style="font-style: italic; color: rgb(153, 153, 255);"><SPAN style="font-style: italic; color: rgb(153, 153, 255);">tmp/magpie_cache    apache    YES </SPAN><BR style="font-style: italic; color: rgb(153, 153, 255);"><SPAN style="font-style: italic; color: rgb(153, 153, 255);">lib/smarty    apache    YES</SPAN><BR style="font-style: italic; color: rgb(153, 153, 255);"><SPAN style="font-style: italic; color: rgb(153, 153, 255);"> tmp/smarty/templates_c    apache    YES</SPAN><BR style="font-style: italic; color: rgb(153, 153, 255);"><SPAN style="font-style: italic; color: rgb(153, 153, 255);">lib/magpie    apache    YES</SPAN><BR style="font-style: italic; color: rgb(153, 153, 255);"> <SPAN style="font-style: italic; color: rgb(153, 153, 255);">lib/Phlickr    apache    YES</SPAN><BR style="font-style: italic; color: rgb(153, 153, 255);"><SPAN style="font-style: italic; color: rgb(153, 153, 255);">config.php     apache    YES</SPAN><BR> Here is where I run into problem. when I click next<BR><SPAN style="font-style: italic; color: rgb(102, 102, 204);">Smarty installation</SPAN><BR style="font-style: italic; color: rgb(102, 102, 204);"> <BR style="font-style: italic; color: rgb(102, 102, 204);"><SPAN style="font-style: italic; color: rgb(102, 102, 204);">Smarty is known as a "Template Engine". Wifidog s internal fonctionnality needs it.</SPAN> <BR style="font-style: italic; color: rgb(102, 102, 204);"> <SPAN style="font-style: italic; color: rgb(102, 102, 204);">Download source code (Smarty-2.6.7.tar.gz) : Error</SPAN><BR style="font-style: italic; color: rgb(102, 102, 204);"> <BR style="font-style: italic; color: rgb(102, 102, 204);"> <SPAN style="font-style: italic; color: rgb(102, 102, 204);">Current working directory : /var/www/html/wifidog/wifidog/tmp/smarty</SPAN><BR style="font-style: italic; color: rgb(102, 102, 204);"> <BR style="font-style: italic; color: rgb(102, 102, 204);"> <SPAN style="font-style: italic; color: rgb(102, 102, 204);">wget "<A href="http://smarty.php.net/do_download.php?download_file=Smarty-2.6.7.tar.gz" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://smarty.php.net/do_download.php?download_file=Smarty-2.6.7.tar.gz </A>"</SPAN><BR style="font-style: italic; color: rgb(102, 102, 204);"><SPAN style="font-style: italic; color: rgb(102, 102, 204);">--00:22:13--  <A href="http://smarty.php.net/do_download.php?download_file=Smarty-2.6.7.tar.gz" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://smarty.php.net/do_download.php?download_file=Smarty-2.6.7.tar.gz </A></SPAN><BR style="font-style: italic; color: rgb(102, 102, 204);"><SPAN style="font-style: italic; color: rgb(102, 102, 204);">           =&gt; `do_download.php?download_file= Smarty-2.6.7.tar.gz'</SPAN><BR style="font-style: italic; color: rgb(102, 102, 204);"> <SPAN style="font-style: italic; color: rgb(102, 102, 204);">Resolving smarty.php.net... failed: Temporary failure in name resolution.</SPAN> <BR><BR>I check the download path it is still good. But this scripts want to <BR> untar this smarty-2.6.7.. And  its not happening nor the download.<BR>So I manully downloaded smarty 2.6.7 and not 2.6.14 an<BR>copied the files form the libs directory to the php include path so these class and includes files are aviable when the smarty that came with Authenication server runs. <BR><BR>How do I fix the problem so the smarty installation problem disappear.. ?? or does the script needs to be changed. ?<BR><BR>Raj<BR><BR><DIV><SPAN class="gmail_quote">On 8/23/06, <B class="gmail_sendername">François Proulx </B> &lt;<A href="mailto:fproulx@edito.qc.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">fproulx@edito.qc.ca</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>Hi everyone,<DIV><BR></DIV><DIV>Today, I have finally solved the problem we've been having for many months regarding translation of strings with variables in our Smarty templates.</DIV><DIV><BR></DIV><DIV>All we needed is to know the awkward Smarty syntax. So here is how to use it, if you are playing with the templates. </DIV><DIV><BR></DIV><DIV>ex.</DIV><DIV><FONT color="#800056" face="Monaco" size="3"><SPAN style="font-size: 11px;">{</SPAN></FONT><FONT color="#800080" face="Monaco" size="3"><SPAN style="font-size: 11px;">"The %s network currently has %d valid users." </SPAN></FONT><FONT color="#800056" face="Monaco" size="3"><SPAN style="font-size: 11px;">|_|sprintf:$networkName:$networkNumValidUsers}</SPAN></FONT></DIV><DIV><FONT face="Arial"><FONT color="#000000"><BR></FONT></FONT></DIV> <DIV><FONT face="Arial"><FONT color="#000000">It is basically piping the sprintf-formatted string to Gettext for i18n, then filtering it through the sprintf for spot replacements. I updated the scripts to match the new regexp and fully updated the French translations, this will be committed along with other stuff before I leave for Boston next week. </FONT></FONT></DIV><DIV><FONT face="Arial"><FONT color="#000000"><BR></FONT></FONT></DIV><DIV><FONT face="Arial"><FONT color="#000000">See ya !</FONT></FONT></DIV><DIV><FONT face="Arial"><FONT color="#000000">François</FONT> </FONT></DIV><DIV><FONT color="#800056" face="Monaco" size="3"><SPAN style="font-size: 11px;"><BR></SPAN></FONT></DIV><DIV><FONT color="#800056" face="Monaco" size="3"><SPAN style="font-size: 11px;"><BR></SPAN></FONT></DIV> </DIV> </DIV><BR>_______________________________________________<BR>WiFiDog mailing list<BR><A href="mailto:WiFiDog@listes.ilesansfil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">WiFiDog@listes.ilesansfil.org </A> <BR><A href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</A><BR> <BR></BLOCKQUOTE> </DIV><BR><DIV style="margin: 0px;">_______________________________________________</DIV><DIV style="margin: 0px;">WiFiDog mailing list</DIV><DIV style="margin: 0px;"><A href="mailto:WiFiDog@listes.ilesansfil.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> WiFiDog@listes.ilesansfil.org</A></DIV><DIV style="margin: 0px;"><A href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog </A></DIV> </BLOCKQUOTE></DIV><BR></DIV></SPAN></DIV><DIV></DIV> </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><BR></BLOCKQUOTE> </DIV><BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">WiFiDog mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:WiFiDog@listes.ilesansfil.org">WiFiDog@listes.ilesansfil.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>