I am using pathauto and when I go to the administration page I see all of the options but the menus do not expand and are not clickable. I tried this in Firefox and IE with the same results. I attempted to remove and re-install a few times without any luck in fixing the problem. When I create a new node it is not creating an alias so I am assuming that nothing is checked for node types to set aliases to by default and I can not get to the menu to change it.

Attaching screen shot.

Comments

vm’s picture

for purpose of testing, could you please test in another theme ?

I just added path auto to my sandbox, with the garland theme and it worked perfectly well.

bacchus101’s picture

Yes, I tried garland and blue marine. Same issue. I am trying to reproduce it again on another installation at this time. I have a feeling this has to do with the category module but I am not sure how it relates. I have category and pathauto on the other install and they running fine. I am wondering it category pathauto blew something up? I tried removing both and putting them back without any luck.

This is defiantly an issue with module interaction.

Is there a db table that would control this function? I am going to dig a bit.....

vm’s picture

I avoid the category module for reasons of my own. That being said, it would explain why I cannot duplicate your situation.

bacchus101’s picture

I zapped all of pathauto in the mysql db and then did a clean install. Turned off everything but pathauto. Attached another screnshot.

All my other menus work so I am at a total loss as to what variable is causing this issue.

bacchus101’s picture

StatusFileSize
new13.72 KB

Screenshot

bacchus101’s picture

I can see from the page source that the menu sub info exists. It is just the the menu is collapsed. Is there something in pathauto_menu.inc that I can change to force the menus open when the page is rendered?

greggles’s picture

I believe this could be caused by having css/javascript files cached in the browser.

Was this an upgrade from 4.7? Can you try doing a "force refresh" by hitting ctrl+F5 or shift+F5 in your browser?

Thanks.

bacchus101’s picture

This is what I have done recently:

I created a new Drupal installation
Went into the db and cleaned out all the pathauto entries and used the db in the new install.
Installed just the lastest version of path auto
Cleared out browser cashe (in IE and Firefox)

Went to settings/admin/pathauto with it being the only third party module in the modules folder.

Same issue.

I have put 10 hours straight into this one little issue without any traction. I am quite sure it is a database entry and not a file conflict (as the db was the only thing that went from install to install)

Thanks for the help.

ideviate’s picture

i experienced same issue in admin/settings(for 4.7) it appeared to me when my connection was slow. it has never happened to me as a permanent issue.

greggles’s picture

bacchus101 - I'm sorry this problem has caused you so much trouble.

Do you experience it anywhere else in your drupal installation? For example, the admin/build/modules page should have a section for "Core - required" that is a collapsible fieldset which is collapsed by default. Are you able to expand it?

What about on node/add pages - can you expand the collapsible fieldsets there?

Also, did you try to do a "forced refresh" or clear your browser cache?

I can't reproduce the problem you describe, so I'll need you to help me debug it on your end. If you'd like to use IM to debug this send me a message with your contact details via http://drupal.org/user/36762/contact

Thanks!

bacchus101’s picture

Ok....thanks everyone for the help! I have a temporary solution gleaned from another thread: http://drupal.org/node/118697

Basically this issue manifested itself on another module so I went to the Drupal main troubleshooting forum. It is not pathauto specific.

Just so you know, I did clear my cache on both browsers and javascript is enabled. The field sets do open on 99% of other nodes/pages.

The 1%: It seems that with the pathauto module and the send module are the two modules that I am getting this behavior from currently. I followed the advice of another poster (agentrickard) and found in the source of the rendered page that collapse.js was loading twice on both of these administration pages:

<script type="text/javascript" src="/misc/collapse.js"></script>
</head>

<body class="not-front logged-in both-sidebars">

<script type="text/javascript" src="/misc/textarea.js"></script>
<script type="text/javascript" src="/misc/collapse.js"></script>

The "solution" I found was to stop it from collapsing in pathauto.module

$form["general"] = array('#type' => 'fieldset', '#weight' => $group_weight,
'#title' => t('General settings'), '#collapsible' => TRUE,
'#collapsed' => True);

I just changed '#collapsed' => True); to '#collapsed' => FALSE); and now I can see the settings that I need.

I am not sure what it is about this module that causes collapse.js to load twice. I am yet to patch collapse.js until I get help finding a 5.x solution (There was a 4.7.3 patch posted but not committed to Head.)

Thanks again everyone for helping to troubleshoot. This module is so important to the smooth operation of my website that I thought I was going to lose it ;)

greggles’s picture

bacchus101 - I'm sorry this problem has caused you so much trouble.

Do you experience it anywhere else in your drupal installation? For example, the admin/build/modules page should have a section for "Core - required" that is a collapsible fieldset which is collapsed by default. Are you able to expand it?

What about on node/add pages - can you expand the collapsible fieldsets there?

Also, did you try to do a "forced refresh" or clear your browser cache?

I can't reproduce the problem you describe, so I'll need you to help me debug it on your end. If you'd like to use IM to debug this send me a message with your contact details via http://drupal.org/user/36762/contact

Thanks!

greggles’s picture

whoops - that last comment got posted twice somehow - sorry about that.

You said:

I am not sure what it is about this module that causes collapse.js to load twice. I am yet to patch collapse.js until I get help finding a 5.x solution (There was a 4.7.3 patch posted but not committed to Head.)

Is this the item you were referring to: http://drupal.org/node/87402 ?

bacchus101’s picture

Yes, that is it.

I don't think I fully understand how to implement that patch or if that patch would fix the larger issue.

greggles’s picture

bacchus101 - I got another idea: are you using any other modules that create collapsible fieldsets on the page? Any blocks for example with collapsible field sets?

Can you send a screenshot of your whole page?

The trick to me is that I don't have this problem on my installation (and nobody else has confirmed it) so I'm not sure what's causing it for you.

Thanks!

bacchus101’s picture

StatusFileSize
new123.67 KB

Here is the adsense admin page. As you can see the collapsible menus are in place and work. This is the case with all the other module menus (Besides send/pathauto)

P.s. I also changed in send.inc (send module) to collapsed = FALSE and it fixed it so I could see that admin menu. Those are the only two exhibiting this behavior.

greggles’s picture

bacchus101 - thanks for the input, but I think I miscommunicated. I was hoping for a full screenshot (e.g. pearl cresent page saver) of the admin/settings/pathauto page.

bacchus101’s picture

Ok. I'll change the pathauto.module back to default and then get you a screenshot as soon as I have that set up.

BTW: agentrickard posted on that other thread and maybe you should have a look at it. He said that there needs to be a change in the module (because of an API difference) and that I should pass that info along to you.

http://drupal.org/node/118697

bacchus101’s picture

Here is the pathauto page by default.

bacchus101’s picture

Here is the pathauto page after I change the settings to collapse = False. You will notice that the menus can not be collapsed even though the setting was left at collapsible = TRUE

bacchus101’s picture

I think you should just right this one up as an issue that is related to other modules and close it. I have 5 other drupal installs and will be implementing the same modules across all of them over the next few weeks. Hopefully if this comes up again I will have a better cause and effect for you to debug.

I really appreciate the help!

bacchus101’s picture

BTW: I meant "write" ;)

greggles’s picture

Status: Active » Postponed (maintainer needs more info)

Ok - thanks bacchus101 for your help in finding this problem.

Legendary’s picture

Version: 5.x-1.x-dev » 5.x-2.x-dev
Priority: Normal » Critical

Has this issue been resolved as I to am having it (all collapsed menus on all modules cannot be opened). I'm running Drupal in a sub-directory not sure how much difference that makes. At the moment this makes Drupal simply unusable.

greggles’s picture

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

This is not a pathauto problem - this is a problem with the theme itself. See the thread at http://drupal.org/node/118697 for more details.