I had subdomain running the way it should.

Then after a while (maybe some extra modules or updates, i dont know) i ran into the following errors:

1.warning: file_get_contents(http://subdomain-test.mysite.com/subdomain/test) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 503 Service unavailable in /home/mysite/domains/mysite.com/public_html/sites/all/modules/subdomain/subdomain_debug.inc on line 57.

2.

Web server - show/hide details	Not working yet

HTTP request to http://subdomain-test.mysite.com/subdomain/test returned the following result:HTTP_HOST:	
QUERY_STRING:	
REQUEST_URI:	
SCRIPT_FILENAME:	
drupal_get_normal_path:	

Your web server is not routing subdomains to your Drupal directory.

3.

Drupal's inbound URL rewriting - show/hide details	Not working yet
HTTP request to http://subdomain-test.voordezebuurt.nl/subdomain/test resulted in an internal Drupal path of . It should have been ~subdomain-test/subdomain/test

I contacted my host to see if changes on the webserver where made.
He assured me there where not any changes made.
To test i reinstalled a database & drupal backup (from a few months ago).
With the same webserver settings the reinstalled backup worked just fine,
showing all the subdomain prerequisites marked green.

Now after setting back my most recent database and drupal files, i switched of all my modules, however i'm still getting the same errors.

Used modules:
gmap
location
cck
views
signup
notification
og
pathauto
panels
date
calendar
message
imagepicker
adminmenu
ctools

How can i get rid of the errors described above?

Thanks

Comments

held69’s picture

After one evening of debugging i have some new results.

As mentioned above i have a backup of my database and drupal install of two months ago.
All the subdomain prerequisites in this backup are green and no warnings are shown.

It appeared that this backup is taken just before a CCK 2.4 to 2.5 update.
The backup made just after the CCK update has the warnings and errors mentioned above.

So after reinstalling the backup before the cck update i started doing the cck update 2.4 to 2.5 again,
trying to find out under which conditions the error came through.

After 4 updates the following conditions pointed out to the errors.

-Doing the update* with subdomain enabled didn't give me any subdomain errors afterwards.

-However doing the update with subdomain disabled, gave after enabling it, the exact errors as mentioned above.

*update: in both cases i updated under the following conditions:
-site offline
-leave cck enabled
-deleted all the files in the CCK 2.4 directory
-copied all the files in the 2.5 directory to the (empty) CCK dir.

As i dont want to work upwards from my backup of two months ago i'm still looking for a solution to get rid of the errors.
A simple CCK downgrade to 2.4 didn't do the trick.

more to come.....

held69’s picture

Title: Subdomain used to work fine, however now i'm getting 3 types of errors. » Subdomain gives errors after cck 2.4 to 2.5 update
held69’s picture

Status: Active » Closed (fixed)

Warning only shows up when the site is 'offline'