[isf-wifidog] help with postgres+wifidog auth server

Gavin Rogers gavin.m.rogers at gmail.com
Mer 26 Oct 16:01:03 EDT 2005


Hey guys,

I'm trying to install wifidog auth server, and everything goes will
(with the exception of not being able to install radius support in pear)
until i try to connect to my postres server in the php installation
procedure.
The error that the PHP pipes back to me is:


Database initialisation

Warning:
file(/usr/local/apache2/htdocs/wifidog/../sql/wifidog-postgres-schema.sql) [function.file]: failed to open stream: No such file or directory in /usr/local/apache2/htdocs/wifidog/install.php on line 863

Warning: implode() [function.implode]: Bad arguments.
in /usr/local/apache2/htdocs/wifidog/install.php on line 864

Warning:
file(/usr/local/apache2/htdocs/wifidog/../sql/wifidog-postgres-initial-data.sql) [function.file]: failed to open stream: No such file or directory in /usr/local/apache2/htdocs/wifidog/install.php on line 865

Warning: implode() [function.implode]: Bad arguments.
in /usr/local/apache2/htdocs/wifidog/install.php on line 866
      * Creating wifidog database schema : 
        Warning: pg_query() [function.pg-query]: Query failed:
        in /usr/local/apache2/htdocs/wifidog/install.php on line 909
        <=
        
        


As far as I'm seeing it, line 863 says:
$content_schema_array =
file("$basepath/../sql/wifidog-postgres-schema.sql");       # Read SQL
schema file

So it seems to me like the schema file is not being installed! What is
going on here?

gavin





More information about the WiFiDog mailing list