I think I've got wildcard DNS and apache set up correctly but on the subdomain page of url aliases I get:

* user warning: Table 'table_table.watchdog' doesn't exist query: SELECT max(wid) FROM watchdog in /mysite/sites/all/modules/subdomain/subdomain_debug.inc on line 38.
* warning: file_get_contents(http://subdomain-test.site.com/subdomain/test) [function.file-get-contents]: failed to open stream: Redirection limit reached, aborting in /mysite/sites/all/modules/subdomain/subdomain_debug.inc on line 57.
* user warning: Table 'table_table.watchdog' doesn't exist query: SELECT max(wid) FROM watchdog in /mysite/sites/all/modules/subdomain/subdomain_debug.inc on line 38.

Comments

johnTEN’s picture

Im getting similar problems on my main domain

setvik’s picture

Status: Active » Postponed (maintainer needs more info)

I'm not certain why it's saying the "watchdog" table doesn't exist... The watchdog table is part of Drupal core and should be there. Can you check and let me know if the watchdog table is in your database?

But the 2nd "failed to open stream: Redirection limit reached" means that your webserver gets into an infinite redirect loop when viewing http://subdomain-test.site.com/subdomain/test (and most likely any other subdomain page).

  • Web server (Apache) tries to serve http://subdomain-test.site.com/subdomain/test
  • Either the web server (.conf, .htaccess, or a Drupal module like Global Redirect) redirects that to another page which redirects to another page, and so on forever...

Do you have the Global Redirect module installed? or something similar which could be causing the redirect loops?

setvik’s picture

Title: watchdog table doesn't exist? » Missing watchdog table & "Redirection limit reached"

renaming issue two include both problems

setvik’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)