Hi,
My problem is when i'm navigating to any link that contains subdomain admin menu just dissapears but its place remains still.
Here is an example:
http://example.com -> working!
http://sub.example.com -> not working
http://www.example.com -> not working

is this a bug or am i missing a configuration to set?
also i set my $base_url variable to http://www.example.local

Thanks,
Volkan.

CommentFileSizeAuthor
#13 admin_menu-menu-subdomains-726236-13.patch865 bytesmigrad
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vbilici’s picture

Edit:
.com -> .local

sun’s picture

Status: Active » Postponed (maintainer needs more info)

How are those subdomains related to each other?
Are any multisite/multidomain modules installed?
What is your cookie domain?
Is your user authenticated after switching to the subdomains?

sun’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Sorry, without further information this issue can only be marked as won't fix.

Feel free to re-open this issue if you want to provide further information. Thanks.

Nitebreed’s picture

Version: 6.x-3.x-dev » 6.x-3.0-alpha4
Status: Closed (won't fix) » Active

Reopening this issue.

I have the same problem. I have the following modules installed:

Administration Menu 6.x-3.0-alpha4
Subdomain 6.x-1.7

With Subdomain I configured my website to use the domain example.com and use subdomains like tax.example.com and expats.example.com (depending on taxonomy term)

The admin menu is configured to show up for authenticated users, but does the following:

example.com -> showing
tax.example.com -> not showing
expats.example.com -> not showing

My cookie-domain is example.com, i'm working on localhost with Xampp. I just configured my Windows host-file to redirect example.com (and it subdomains) to 127.0.0.1

Nitebreed’s picture

Any new thoughts?

zazinteractive’s picture

I have the same problem but I'm using ".example.com" as my cookie domain

sun’s picture

Status: Active » Closed (won't fix)

This should work properly in 7.x-3.x.

In 6.x-3.x, the module still has much larger problems (caused by Drupal core's menu system) compared to this one, which is also why 6.x-3.x won't get out of alpha.

Please re-open this issue if you have a patch to fix it.

iTiZZiMO’s picture

Issue summary: View changes

Hello Community,

we have the same error with the latest 7.x stable version and domain modul.

the primary domain works perfect, other domains not - the menu disappears after you logged in and goto admin -> configuration.

We use 3 domains and a barracuda setup (nginx, aegir)

Thanks for help.

iTiZZiMO’s picture

Version: 6.x-3.0-alpha4 » 7.x-3.0-rc4
Status: Closed (won't fix) » Needs work

Hello Community,

we have the same error with the latest 7.x stable version and domain modul.

the primary domain works perfect, other domains not - the menu disappears after you logged in and goto admin -> configuration.

We use 3 domains and a barracuda setup (nginx, aegir)

Thanks for help.

any.site.n.site@gmail.com’s picture

Getting the same problem; menu is not showing on subdomains.
The source problem is trying to load AJAX from different subdomain. If you would look on dev console, you should see message similar to this:
"XMLHttpRequest cannot load http://store.yosi.local/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://yosi.local' is therefore not allowed access. "

But The problem is in my code, so maybe others' as well: my code make redirect from main to subdomain on condition. The result was the XHR redirects to subdomain and rejected because of Access-Control-Allow-Origin.

So if you get this problem - check your redirects. hope it would help someone.

vahid.k’s picture

Just disable Cache menu in client-side browser in administrator menu config page

Sinan Erdem’s picture

I also have the exact same problem. I listened to vahid.k's advice and now it works. but it has a performance effect. Any other solution to this?

I tried with 3.x -beta5 and also with dev

migrad’s picture

Status: Needs work » Patch (to be ported)
FileSize
865 bytes

Hi!

I hope this patch will be useful.

mozh92’s picture

Thanks #11 comment. I go /admin/config/administration/admin_menu and click on tab Perfomance and uncheck Cache menu

truls1502’s picture

Status: Patch (to be ported) » Postponed (maintainer needs more info)

Does it still an issue with the latest 7.x-3.x-dev?

truls1502’s picture

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

Ok, I am going to close this one. So if you or anyone is still facing the same issue, please to re-open the issue, provide with more information and a screenshot that might help us to troubleshoot it. :)