After upgrade to Drupal 5.8, DHTML Menu no longer works

GoofyX - July 10, 2008 - 19:40
Project:DHTML Menu
Version:5.x-1.5
Component:Javascript code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

As the title says. I upgraded two sites from 5.7 to 5.8 and now DHTML Menu no longer works.

#1

hedroom - July 10, 2008 - 20:32

For the record: I'm having the same problem as I noted here http://drupal.org/node/280964

Cheers,

Wade

#2

twowheeler - July 10, 2008 - 23:03

Same here, subscribing.

#3

rkr - July 11, 2008 - 01:34

Same for me.
jquery.js - has been restored as it is delivered by jquery update.
It is jquery update dev-version but not the actual one. (Jquery 1.1.2)

#4

rkr - July 11, 2008 - 11:35

Additional Info:

Classes are set, like
<ul class="menu dhtml_menu">
Menus are showing up, but without Javascript Effect.

I am completey missing the following line in source code:
<script type="text/javascript" src="/sites/all/modules/dhtml_menu/dhtml_menu.js"></script>

Maybe this helps fixing it.

#5

twowheeler - July 11, 2008 - 12:39

There is a temporary workaround hack in this thread: http://drupal.org/node/281026

#6

rkr - July 11, 2008 - 13:08

Thanks for this hint. The workaround described in #281026: block module from 5.8 breaks css and js (reverting to 5.7 block.module fixes problem) solves both issues for me with gmap and dhtml_menu.

#7

Arancaytar - July 12, 2008 - 12:21

I cannot reproduce this on my production sites using core DRUPAL-5 (Currently 5.9-dev) and DHTML Menu 5.x-1.5. It seems that this is a fairly wide-spread problem, however, so I'll try a new installation.

#8

Arancaytar - July 12, 2008 - 12:29

Downloaded 5.8 and 5.x-1.5, and installed both from scratch. No problem.

Will now install 5.7, then upgrade.

#9

keylope - July 13, 2008 - 00:56

I'm having the same problem after upgrading from 5.7 - 5.8.

Subscribing.

#10

Arancaytar - July 13, 2008 - 09:28

I have now installed a 5.7 site, upgraded it to 5.8 (no database changes necessary), and still experienced no problem. What the hell is going on here?

#11

Arancaytar - July 13, 2008 - 11:16

I'm sorry, but I'm unable to fix this issue. I cannot reproduce it, so I cannot find out what causes it nor can I test a fix. Someone else will have to work on this.

#12

rkr - July 13, 2008 - 12:56

#13

myersca - July 14, 2008 - 01:48

Same thing here.

#14

GoofyX - July 14, 2008 - 04:41

Manually applying the patches in comment #4 and in comment #7 of #281042: regression in 5.8 from 5.7 theme('blocks','all') broken - so no header alteration possible did the trick for me. These two patches all apply to phpengine.template.

So, this must be a Drupal core bug and not DHTML Menu's. It's weird though, that Arancaytar has not been able to reproduce it.

#15

robertjtownsend - July 14, 2008 - 12:30

Subscribe.

#16

trevorlee_nc - July 14, 2008 - 22:30

I encountered this as well...plus it's also probably the cause of a broken tabbed block I ran into this morning when I went through and did a bunch of upgrades....I'm glad I found this thread...

copying the blocks module from 5.7 into my 5.8 system fixed it all right up...

subscribing...I'd love to see where this goes :)

#17

Arancaytar - July 14, 2008 - 22:42

From the description, it seems that the problem is DHTML Menu adding a JS file while printing a block, when it is too late to do so?

If the bug is not fixed in core, perhaps a workaround would be to add the JS file in dhtml_menu_init, thus making sure it is added every time?

#18

dhestlund - July 15, 2008 - 16:45

Same problem here - subscribing. Has anyone else installed the 5.7 blocks module without problem?

#19

Arancaytar - July 16, 2008 - 21:10
Status:active» duplicate

The issue you *should* be subscribing to is #281042: regression in 5.8 from 5.7 theme('blocks','all') broken - so no header alteration possible (which has been fixed, yay!)

I just hope that this solves the mysterious problem.

#20

wolfflow - August 2, 2008 - 01:21

subscribe. same problem

#21

GoofyX - August 2, 2008 - 05:22

Upgrade to Drupal 5.9, as the problem was in the core and 5.9 has fixed it.

#22

wolfflow - August 2, 2008 - 13:19

thanks

#23

iamwhoiam - August 22, 2008 - 11:46
Status:duplicate» active (needs more info)

I'm pretty sure this isn't working in 5.10 either? Not on my localhost or online dev site

#24

GoofyX - August 22, 2008 - 16:32

I have two 5.10 sites with DHTML Menu and they both work fine.

#25

wolfflow - August 22, 2008 - 21:05

5 Subdomain 5.10 sites with DHTML Menu and they work smoothly.

#26

Arancaytar - August 23, 2008 - 20:30
Status:active (needs more info)» fixed

In that case, it's pretty clear this problem is no longer an issue.

#27

Anonymous (not verified) - September 6, 2008 - 20:33
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.