I haven't been able to get subdomains to work yet (see other issue from me), but i wanted to report another, weirder issue.
When the subdomain module is activated, I am no longer able to enable or disable modules or upload files to nodes. My guess is that the form submission process in general breaks when subdomain is active. What could be causing this?
When I go to enable a module or disable one, after I click the input, I'm taken back to the module list, but the checkbox is still enabled or disabled and the tabs at the top of the index are gone.
When i try to upload a file to a node, I see the animated wait image, but then nothing is actually attached.
As soon as I switch off subdomain (via phpmyadmin, since the admin interface won't work) all these problems stop.
Help?
Comments
Comment #1
setvik commentedhmm... I haven't seen this before.
See my answer to your other issue. We'll start with that one first and see where to go.
Comment #2
setvik commentedAfter working with bflora, we discovered the issue was the compound result of an incorrectly configured apache configuration file and a conflict with the globalredirect module.
Comment #3
bflora commentedYes. Setvik is a hero among humans.
Also, I believe this specific problem was related to a jquery update issue.
Comment #4
igorik commentedsame problem, and another, my users cannot login using default drupal login block.
(weird that login on oursite/user works fine. Probably some problem with cookies...?
I found that after i remove patch from common.inc and disable $cookie_domain, login using default drupal login block works again (subdomain off course not)
thanks
Igorik
http://www.somvprahe.sk
Comment #5
setvik commented1) What's the url for your website?
2) What's the output from the "Subdomain Prerequisites" block on the subdomain settings screen (http://yourwebsite.tld/admin/build/path/subdomain)? Do any of the prerequisite tests fail?
Comment #6
setvik commentedComment #7
igorik commentedWorks for me when after all patches was added I clean all cache tables in drupal (cache, cache_content, cache_page, cache_filter)
Now it works fine
thanks
Igorik
Comment #8
setvik commentedAwesome. Thanks for getting back :-)!
Comment #9
igorik commentedsorry, it was my mistake, I tested it with all patches in, but subdomain module turned off.
Now I enable subdomain and there is impossible to login using drupal login block :(
I have to disable subdomain now on my live www.somvprahe.sk site but I tried to enable on testing copy of my site
subdomain settings - I have a error on webserver option - I wrote about it this bug
http://drupal.org/node/305360
a moment before
thanks for your help and I am sorry for confusing
Igorik
http://www.somvprahe.sk
Comment #10
setvik commentedComment #11
setvik commentedoriginal issue fixed.
moving igorik's issue to following thread
http://drupal.org/node/305360
Comment #12
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #13
bflora commentedI hate to say it. But the problem's back. I moved to another server and it's happening again. When subdomain is enabled, I'm no longer able to activate, disable or uninstall modules.
Before I thought it was some sort of jquery/js issue. And it still could be.....how could the subdomain module be interacting/affecting the javascript environment on a site?
What else could be causing this? It's so weird.
Comment #14
setvik commentedSounds like a URL rewriting issue.
Based on our gmail chat, it sounds like the problem may be a conflict with another module since it disappeared when you disabled some modules.
Comment #15
bflora commentedProblem is also affecting commenting now. Users cannot leave comments while Subdomain module is turned on. When you submit a comment, you're taken to a page with a url like this:
domain.com/comment/reply/comment_id# and it shows some of the node, but not all and no new comment. As with the other symptom of whatever this problem is its causing certain form submissions to die midway through.
I disabled all modules except CCK, Views and panels and the problem persists...
Comment #16
setvik commentedFixed.
The issue was a conflict between apache's configuration and the subdomain module.
Apache was redirecting all example.com urls to www.example.com. Subdomain generates absolute URLs without appending www.
The result: Drupal Forms were submitting to "http://example.com/path", which Apache would then redirect to "http://www.example.com/path", losing the $_POST variable in the process...
If you have this issue, there are two possible fixes:
1) Remove any blanket apache directives that redirect away from your base domain (e.g. from example.com to www.example.com)
2) alter subdomain_url_rewrite to append a "www." to the base domain for all URLs that don't involve a subdomain
Comment #17
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.