Hi,

1) I'm trying tagging on an existing, up to date install. Tagging UI appears on the node edit form but each time I try to add a term, for example, when I hit a suggested term, the page jump to the homepage and nothing is done on the node I tryed to edit.

2) Using the same install (that is to say all the same modules, themes and drupal) but with a fresh new database, enabling the same modules, tagging UI works like expected. And no way to reproduce the issue in 1).

On the install 1) I have cleaned up the system and variables tables but still can't figure out what is going wrong! The system in 1) has a lot of custom content types with cck fields and a lot of nodes! Hence I don't want to restart it again if possible.

Is there any suggestion where I should look at to fix this issue? Below is the list of the modules installed on the system:

 Addresses                                     6.x-1.08              
 Administration menu                           6.x-3.x-dev             
 Advanced help                                 6.x-1.2                  
 Drupal                                        6.15                     
 Autocomplete Widgets for CCK Text and Number  6.x-1.3                   
 Automated Logout                              6.x-2.4                  
 BackReference                                 6.x-1.0                 
 BUEditor                                      6.x-2.0-rc1             
 CAPTCHA                                       6.x-2.1                   
 CCK Blocks                                    6.x-1.x-dev             
 Computed Field                                6.x-1.0-beta3            
 Conditional Fields                            6.x-1.1                 
 Content Construction Kit (CCK)                6.x-2.6                 
 Chaos tool suite                              6.x-1.3                  
 Date                                          6.x-2.4                  
 Diff                                          6.x-2.x-dev            
 Read More Link (Drupal 6 and earlier)         6.x-5.0-rc7             
 External links filter                         6.x-2.1                  
 Exhibit                                       6.x-1.0-beta1          
 Fasttoggle                                    6.x-1.3                  
 FeedField                                     6.x-1.1               
 FileField                                     6.x-3.2             
 Geo                                           6.x-1.x-dev             
 Geocode                                       6.x-1.0-alpha2          
 Graphviz Filter                               6.x-1.6                 
 ImageAPI                                      6.x-1.6                  
 ImageCache                                    6.x-2.0-beta10          
 ImageField                                    6.x-3.2                 
 Link                                          6.x-2.8                
 Link checker                                  6.x-2.4              
 Link Image Field                              6.x-1.0-beta2           
 Inline and link Drupal objects (Linodef)      6.x-1.x-dev              
 Search Lucene API                             6.x-2.0                 
 Search Lucene CCK                             6.x-1.0-alpha2   
 Search Lucene MoreLikeThis                    6.x-1.0-alpha4         
 Masquerade                                    6.x-1.3                 
 Menu Editor                                   6.x-1.2                   
 Nodewords                                     6.x-1.12-beta2         
 No request new password                       6.x-2.0                  
 Panels                                        6.x-3.3                 
 Quick Tabs                                    6.x-2.0-rc4               
 Skinr                                         6.x-1.3                 
 Tabs (jQuery UI tabs)                         6.x-1.3                 
 Tagadelic                                     6.x-1.x-dev            
 Views Tagadelic                               6.x-1.1                 
 Tagging                                       6.x-1.1                  
 Taxonomy hide                                 6.x-1.02               
 Taxonomy Manager                              6.x-2.2               
 Taxonomy VTN                                  6.x-1.6                 
 Timeline                                      6.x-2.1                
 Token                                         6.x-1.x-dev               
 Transliteration                               6.x-2.1               
 userplus                                      6.x-2.4                 
 Views                                         6.x-2.8                 
 Views attach                                  6.x-2.2                  
 Views Bonus Pack                              6.x-1.0                  
 Views Tabs                                    6.x-1.x-dev             
 Fusion                                        6.x-1.0-beta4     
 Acquia Prosper                                6.x-1.0-beta4

Comments

eugenmayer’s picture

Category: bug » support

Well this sounds like the "on click" events have not been binded, so you hit the href with the default action and that would be "/" -> page reload.

Reasons for that could be:

- Javascript errors ( before )...so the binding never happens
- Some kind of theming which makes the selector which binds the events not work
- Some kind of form alter method kind of rewriting the output in a broken way.

In general, you must compare the html (and ids / classes ) of the broken and not broken system. Please look for the selectors int the tagging.js file ( in the upper ), which could give you a hint.

Actually in my installtion i have more then 14node types + tons of cck fields and ~ 160 modules... also a lot of yours. Please try to switch to the garland theme in the broken one to identify if its a theme method

ec’s picture

Hi, thanks for this first answer, I will follow your tips and try to identifie the issue. Stay tuned. Regards, Eric.

eugenmayer’s picture

Iam gone for 1 week on vacation, dont wonder about me not answering.

Anonymous’s picture

Category: support » bug

Same problem, but I think there's more wrong:

The green + button looks like (with vid=44):

<a title="Add" href="#" class="tagging-button-container"><span class="tagging-button tagging-button-44"></span></a>

tagging-button-container is the selector from the tagging module:

function theme_tagging_widget_button($vid) {
  return '<a class="tagging-button-container" href="#" title="'.t('Add').'"><span class="tagging-button tagging-button-'.$vid.'"></span></a>';
}

If I do an alert(button_sel) in tagging.plugin.js, it says in my case (vid=44): ".tagging-button-4" - not 44, but 4!

Also the css class "tagging-button-container" does not occur even once in tagging.plugin.js.

How is the jQuery ever going to know what button was clicked at all?

I get the impression that the tagging module is broken...

Anonymous’s picture

Version: 6.x-1.1 » 6.x-2.0
eugenmayer’s picture

#5: your the only one having problems right now as you see, its the only open issue. So i would rather tend its a problem on your side.

Please try tagging in a stable drupal 6.16 without any modules. If you cant reproduce it, enable modules you installed in the other system one by one until you find the issue. Alternativly try to debug. I cant do anyhting about this issue as iam not able to reproduce it at all, neither iam willing to install all those plugins and do all the work :)

I would please you to try to point on what is wrong, what is incompatible or similar. But aslong as you are the only person with the "its all broken" problem, well i rather tend to a quiet "broken other module".

eugenmayer’s picture

Status: Active » Postponed (maintainer needs more info)
sistro’s picture

Hi've the same problem!

The UI seems to not work...
Even if I try to insert a new term, even if i click on "+" on a suggested term!
Same think when I try to edit a node and try to remove on existing term associated with it.

I've tried yo uninstall Hierachical Select that seems to be with "active tags" a simile module, but nothings happens, still don't work.

All link on the tags (to add new or to remove an existing one) refers to home page

sistro’s picture

I just uprgraded from drupal 6.16 from 6.15... still have this problem! :-(

eugenmayer’s picture

which version of jquery_update do you guys have`

sistro’s picture

I haven't installed jquery_update becouse it not seems to be required.

Altrought I've tried to install it:
- with version 6.x-1.1 I've the same problem
- with version 6.x-2.x-dev all the link on the site are broken (not only that one refereed to tagging) and appears a lightbox (I've lightbox2 installed)

sistro’s picture

Last uptades

I've tried to upgrade jquery_ui and latest jquery libraries but nothing happens. I downgraded to last stable version of module and libraries.

I also discovered that I was using tagging 6.x-1.1 version that the status report as incompatible, removed it, uninstalled it and the install the 6.x.2.0 version: I always have the same problem! :-(

eugenmayer’s picture

- with version 6.x-2.x-dev all the link on the site are broken (not only that one refereed to tagging) and appears a lightbox (I've lightbox2 installed)
That bug is know, that lightbox has problems with jquery_update 6.2 (what is jquery 1.3 instead of 1.2).

I have tried jquery_update and 6.1 and 6.2 and both are working with tagging.

Well then we have to go the step by step way. Please install a fresh drupal 6.16 and install tagging and its deps. Try to configure and run it, if that works, try to install modules of your productions systems one by one (start with the critical one like CCK and CCK fields, hierarchical select, lightbox etc ). And have a look when it breaks into peaces. Also dont forget to try your theme.

Iam running Tagging with ~ 120 Drupal Plugins, including a lot of CCK plugins, hierarchical_select, upload, insert, wysiwyg_imageupload, tinymce, link, email .... so well, i did not run into issues yet. I cant help you until you did not identify the cause of the problem (as it must be some other plugins, due it works in my case and a lot of other cases, also in clean drupal installations).

AgaPe’s picture

i have two vocabularies set for Institution content type, for the first it does work perfectly, for the second one the page jumps to the top
and the assigned tag, which was assigned when tagging turned off, shows up in the textfield

i thought i could enable it for a cck field but it doesnt work

AgaPe’s picture

alerted button_sel as morningtime in #4,the 6 shows up as 6 but 11 as 1...

eugenmayer’s picture

Status: Postponed (maintainer needs more info) » Needs work

Hmm, now i get it, its the number of digits. Its my regexpression only looking for (\d) instead for (\d)+. I will fix this ASAP

eugenmayer’s picture

Status: Needs work » Fixed

fixed and relased in 6--2.1

AgaPe’s picture

thanks! its better but tags from this one do not get saved when i save the node...

eugenmayer’s picture

Title: Tagging UI doesn't work » Tags are not saved if it the vocab id has 2 digits
Status: Fixed » Active
eugenmayer’s picture

Status: Active » Postponed (maintainer needs more info)

In my test enviroment (vocab id 11) tags are saved, so i cant reproduce it. What vocab ID do you have? Please describe it more detailed

sistro’s picture

Upgraded to latest version: it works!

Thanks very much ;-)

eugenmayer’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Great