The tabs "log in", "register" and "request new password" are missing on my user/login page. Only the username and password form are displayed. All other tabs render well like "View", "Edit", ... After upgrading my 4.6.5 installation to 4.7 those tabs got lost. The site now is currently runing with 4.7.2 but updating didn't solve the problem. I experienced this some time ago, I think it was by a fresh 4.7beta4 installation. At that time I thought they where removed, even when this sounds kinda silly. That test site is although updated to the current drupal version and is still lacking those tabs. It appeard that fresh installing the further beta releases solved the problem at that time but not by updating the site. Now by updating my old 4.6 site to 4.7.* this issue occured again. This does't seem to be a problem by a fresh drupal installation though. I'm kinda lost with this one, as this should be rendered by core with a current code base and I can't imagine how to force them back to render on the page. How can this happen? This is a bug of, I don't really know witch component.

Comments

ak’s picture

Hi there,
it's me again. I'm developing a site for a client now. 4.7.2 codebase and gues what, the tabs on the login page are gone again. What can I do about that? Why does this happen? Why is this just happening to me? I realy have no clue. I've got other sites working fine as well. By my own site where this occurred the first time and since this wasn't that big of deal for me bacause I mostly register new users manualy my self there but for my client it my be necessary for visitors to register. Any response is very appreciated.

ak’s picture

Title: tabs missing on Loginform after upgrade! » tabs missing on login page
dries’s picture

Did you move any menu items around?

Also not that these tabs only show up if you are logged out. You're logged out, right?

dries’s picture

Try executing the following SQL query:
DELETE FROM cache;

ak’s picture

Nope, didn't move any menu items around and at least one site, where they are missing is themed with bluemarine.

Yes, I'm logged out and want to log in. To note, in the markup of the log in page I see a empty tabs div <div class="tabs"></div>.

If I follow the links provided by the log in block I get a page with just two tabs, "register" and "request new password" but no login tab.

Thanks for your query, I was hoping it to be some kind of cache problem but didn't know what to do about it.
I executed your query but it didn't solve the problem.

Three sites of mine are infected with this problem. One was runing through all the beta releases, one was upgraded from 4.6.5 to 4.7.*, and the latest is a fresh 4.7.* installation and lost them I think during development some time, I think I remember seeing them at fist.
I'm just thinking to my selfe could a contrib module lead to this problem?

Just for reference the client test site I'm working on:
http://www.achkomm.com/slawik/en/user/login
http://www.achkomm.com/slawik/en/user/register
and as I said, two other sites with the exact same issue.

Thanks for your help, I realy appreciated it.

ak’s picture

Just to brief on this one. The links above are dead meanwhile as there where only test stetups. I just provided them to prove the missing tabs. I am still trying to investigate when or what causes my problem and yes, problems still not solved. I rebuild the howl site from scratch. Clean drupal installation, no probs. Added image and internationalization module and activated them, checkt immediately my tabs, no probs. Started some basic site configuration and created and translated some content. Looked for my tabs after a while and you'll probably know by now yes there gone again.
I would think it could be the internationalization module messing things up and not translating them or so, but still, that wouldn't explain the missing tabs on my other sites as I don't have that module installed on those.
I'm realy not doing any fancy stuff here, nobody else seems to run in to this problem, my tabs get lost just every f...... time I set something up and start working a bit on it. Is my server eating them? This is just driving me crazy.
Next to come when I got spare time, step by step check for tabs after every setting I make. And this means logout/login every time.
Brief end.

David Lesieur’s picture

I'm having the same bug. Just noticed it, but no idea yet why/when it happened...
Site was 4.7.2 from the start.

ak’s picture

Sorry that you allthough ran in to this one but, I'm kinda glad that this is not just happening to me. Please let me know and report any further investigations about this here. Maybe we can finaly solve this issue some how or narrow what our sites have in common. What modules are installed on your site? Btw. I'm allthough running a multisite. On one instance they are missing on a nother one not.

David Lesieur’s picture

It has something to do with menu.module. Disabling the module makes the tabs reappear...

Investigation to be continued...

David Lesieur’s picture

I found something. I had a connect menu item that pointed to user/login. Apparently, that's wrong... I tried make it point to user instead, which fixed the missing tabs problem, but caused the my account menu item become a child of connect, instead of remaining under its default navigation parent...

So apparently the bug is that we can't have a custom menu item that links to user or user/login.

I could reproduce the problem on the latest cvs.

ak’s picture

Title: tabs missing on login page » tabs missing on login page when custom user/login link is added to menu
Version: 4.7.2 » 4.7.3
Component: user.module » menu system
Priority: Normal » Critical

You're totaly got it. This is what all my sites with missing tabs have in common, a custom user/login link. Thank you so much, I think I'd never stepped behind this one on my own. Well this is still a serious bug. Others will stumble ofer this after time. Are you able to fix it? I'll change the version, component priority and title due to your great research results and to get some more attention to this issue. And once again big thanks.

owahab’s picture

Assigned: Unassigned » owahab
Status: Active » Closed (works as designed)

I think this isn't a bug at all, the "user" page has usually the "login", "register" (in case it's enabled) and "forgot your password" tabs and I think both are placed in the right place.
Can anyone let me know what's the benefit of pointing a login link to user/login instead of user.

owahab’s picture

Status: Closed (works as designed) » Active

I think this isn't a bug at all, the "user" page has usually the "login", "register" (in case it's enabled) and "forgot your password" tabs and I think both are placed in the right place.
Can anyone let me know what's the benefit of pointing a login link to user/login instead of user.

ak’s picture

Still a bug and a evil one, if you ask me! Theres nothing wrong with the initial concept of placement and the entire login, register, ect. ... process . The difference between Pointing a link in a menu to user or user/login (what would be the semantically correct wording indeed) isn't the point. The problem is that neither one will work as expected due to this bug. I just checked it again, making a custom link by adding a new item to a menu that points to user or user/login will break the entire user login page miserably. Under the url user you just get the login form, no "forgot your password" and stuff. Under the url user/login you only see the tabs "register" and "forgot your password" but no login tab.

So the problem is, you can't add a link in a menu that points directly to the login page with out breaking it! The bug can be reproduced easily.

All I want is a login link in my navigation rather then having the clumsy, default login block. This really shouldn't be all that hard you would think. But it surely is a nightmare. I don't know why such a link isn't provided by default in first place and I noticed recently that one came up with a howl new module just to get a login link in the menus. The module can be seen here: http://drupal.org/project/loginmenu. But this is absolutely not the right solution to this serious bug.

I hadn't had the time to test it jet but I think this bug even applies to 5.x or HEAD cause this isn't getting addressed by anyone. And AFASCS theres some Voodo going on with the menu system here. I saw breadcrumbs disappear on my blogs when adding a link item pointing to blogs. In general it seems to be a bad idea to add links in the menu system to pages other than self made nodes.

webernet’s picture

Priority: Critical » Normal

This is not critical, and it's also fixed in 5 (http://drupal.org/node/72674).

ak’s picture

Thank you, great to hear that it finally has been targeted in 5.x, I think I'm carrying this around since 4.6.x so I hope to update soon. For me it felt quite critical not being able to provide certain links, as essential as the login link within a normal menu.

webernet’s picture

Version: 4.7.3 » 4.7.x-dev
Status: Active » Closed (duplicate)