Closed (fixed)
Project:
Subdomain
Version:
5.x-1.5
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2009 at 17:19 UTC
Updated:
28 May 2009 at 05:40 UTC
In the "Administer > Site configuration > Subdomain settings" page there are errors that can be announced to the user. On of them is:
Drupal's URL function - show/hide details Not working yet
Drupal API: url('~subdomain-test/subdomain/test') returned 'http://subdomain-test.hiddencastle.xcom/index.php?q=subdomain/test' but should have returned 'http://subdomain-test.hiddencastle.xcom/subdomain/test'
The custom_url_rewrite_outbound() function in settings.php is rewriting subdomains incorrectly. Did you patch settings.php? See readme.txt for instructions.
But I have found a missing patch is not the only cause for this error. In my case I found that not having Clean URLs enabled can also cause this error. It would have been convenient for me had this error message included this among possible causes. I had to step through execution to find this out.
Comments
Comment #1
setvik commentedGood catch. I'll add it to the Installation procedure in the README.txt file