So - I have a site built. I've got my server set up with multiple hosts using a hosts file as well as virtual hosts entries in my conf.vhosts.httpd file. I had another set up using those URLs and it was working.

So - then I go and install the domains module.

Now, I can't get to my site any more... it gives me an endless URL like localhost/jazzfest/localhost/jazzfest/localhost/jazzfest etc...

How do I get around this? I just installed the module - I haven't done anything with it yet.

Cheers,
Adam

Comments

nimzie’s picture

I have http://jazzfest working. As soon as I install domain access, and save the module page so it goes to install things, I get this page after a minute:

Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\xampp\jazzfest\includes\database.mysql.inc on line 153

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 15109920 bytes) in Unknown on line 0

Then, if I just go back to http://jazzfest which worked before I tried installing domain access, I get redirected to this URL:

http://localhost/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/xampp/jazzfest/

and get a message :

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

If I go in to the DB's system table and disable the domain component, I get back to my site.

When I go back in to the site, I get an error:

user warning: Table 'jazzeast_jazzfes.domain' doesn't exist query: SELECT domain_id FROM domain WHERE subdomain = 'jazzfest' in C:\xampp\htdocs\xampp\jazzfest\includes\database.mysql.inc on line 172.
You have followed an incorrect link to this website. Please update your links and bookmarks to http://localhost/xampp/jazzfest/.

So - what does it look like I've done wrong?

Thanks for your help.
Adam

agentrickard’s picture

With 5.x.1.9, you should not be getting any redirects from Domain until after you configure the module, which you have not (?) been able to do.

You only have one settings.php file, right?

And what does this mean?

As soon as I install domain access, and save the module page so it goes to install things
agentrickard’s picture

Status: Active » Postponed (maintainer needs more info)
agentrickard’s picture

Title: Domain module - repeating URL mayhem... » Configuring Domain on localhost with XAMP

Less insulting title.

nimzie’s picture

Title: Configuring Domain on localhost with XAMP » Domain module - repeating URL mayhem...

I went through and you were 100% right.. I had originally tried to do multisite on this install and had a folder at the sites/default level with another settings.php file.
Amazing .. amazing module...

Thank you for it. it's awesome.

Now - can I have one primary menu in each site or is it sharing that?

agentrickard’s picture

Status: Postponed (maintainer needs more info) » Fixed

See the Domain Menu module.

http://drupal.org/project/domain_menu

Without Domain Menu, the sites will share primary links -- though node based menu items only appear on the sites where they are visible.

nimzie’s picture

Thank you. I've got it and have implemented it. What an amazing add on.
Cheers

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.