Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create a default host #2

Open
ehaselwanter opened this issue Aug 27, 2010 · 0 comments
Open

create a default host #2

ehaselwanter opened this issue Aug 27, 2010 · 0 comments

Comments

@ehaselwanter
Copy link
Collaborator

after running install on a site there is no default hostname created which leads to:

Processing SiteController#show_page (for 127.0.0.1 at 2010-08-27 10:12:08) [GET]
Parameters: {"action"=>"show_page", "url"=>"/", "controller"=>"site"}
Hostname Load (2.6ms) SELECT * FROM hostnames WHERE (hostnames.domain = 'localhost') LIMIT 1
Hostname Load (1.8ms) SELECT * FROM hostnames WHERE (hostnames.domain = '*') LIMIT 1
Hostname Load (0.0ms) Mysql2::Error: Unknown column 'hostname' in 'where clause': SELECT * FROM hostnames WHERE (hostname LIKE '%localhost%') LIMIT 1

RuntimeError (No site found to match localhost.):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant