Ticket #890 (new Bug report)

Opened 5 years ago

Last modified 5 years ago

Error on installation - cannot create admin user

Reported by: mars Owned by:
Priority: blocker Milestone: WifiDog Auth Server 2.0
Component: Auth server, Install script Version: Auth Server SVN
Keywords: error admin user, virtual host Cc:

Description

Hello,

I have an error with wifidog-auth installation, in the webinterface installation, in the step to create the admin user, the page re come at the user admin creation.

In the error.log from apache i have this (i have replace ip with xx.xx.xx.xx):

[Wed Aug 21 12:04:23 2013] [error] [client xx.xx.xx.xx] PHP Fatal error: Uncaught exception 'Exception' with message 'Server::getDefaultVirtualHost: Fatal error: Unable to find the default virtual host!' in /var/www/wifidog-auth/wifidog/classes/VirtualHost.php:194\nStack trace:\n #0 /var/www/wifidog-auth/wifidog/classes/Network.php(138): VirtualHost::getDefaultVirtualHost()\n #1 /var/www/wifidog-auth/wifidog/install.php(853): Network::getDefaultNetwork()\n #2 {main}\n thrown in /var/www/wifidog-auth/wifidog/classes/VirtualHost.php on line 194, referer:  http://xx.xx.xx.xx/install.php

My configuration: Ubuntu server 12.04 TLS with all package up to date. Apache2 php 5.3.10 postgresql 9.1

I follow the documentation in you website, i cannot find help on you support page.

Thanks to your help

Change History

follow-up: ↓ 2   Changed 5 years ago by zbb820@…

I encounter with the same problem and my configuration is the same with yours.Have you solve the problem,thank you!

in reply to: ↑ 1   Changed 5 years ago by anonymous

We fixed it with the following command.

root@user-vm:/var/www/htdocs/wifidog-auth/sql# psql wifidog wifidog < wifidog-postgres-initial-data.sql

Replying to zbb820@…:

I encounter with the same problem and my configuration is the same with yours.Have you solve the problem,thank you!

  Changed 5 years ago by anonymous

you should use authpuppy, Wifidog server is not supported anymore

  Changed 5 years ago by sceren

And have you a solution for this problem ? Thank.

Note: See TracTickets for help on using tickets.