Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've enabled HTMLTidy, it works beautifully. However, I also have CCK enabled. When I go to /admin/content/types/CONTENT_TYPE/fields or Administer -> Content management -> Content Types -> CONTENT_TYPE -> Manage Fields, the page never loads. It's like it's stuck in some kind of infinite loop or something. When I click the stop button on my browser and go to any other page I get something that looks like this:
- Updated field groups.
- Updated group weights.
- Updated field weights.
- Updated field groups.
- Updated group weights.
- Updated field weights.
- Updated field groups.
- Updated group weights.
- Updated field weights.
- Updated field groups.
- Updated group weights.
- Updated field weights.
- Updated field groups.
- Updated group weights.
- Updated field weights.
- Updated field groups.
- Updated group weights.
- Updated field weights.
- Updated field groups.
- Updated group weights.
- Updated field weights.
- Updated field groups.
- Updated group weights.
- Updated field weights.
- Updated field groups.
- Updated group weights.
- Updated field weights.
The longer it tries to load...the more of these update messages I get, which is why I suspect an infinite loop. Any help is greatly appreciated!
Comments
Comment #1
jaydubb181 CreditAttribution: jaydubb181 commentedIt only seems to happen when I have HTMLTidy module enabled AND when my CCK content type has custom values associated with it. E.G. If I go click the Manage Fields tab for a Page content type (the content set up by default), it loads properly and says:
Comment #2
jaydubb181 CreditAttribution: jaydubb181 commentedDoes anyone have any ideas?
Comment #3
jaydubb181 CreditAttribution: jaydubb181 commentedI started commenting out functions in htmltidy.module to see which one was breaking it. The culprit turned out to be htmltidy_nodeapi . So...it turns out that if i comment out lines 302-307:
This problem doesn't happen.
Why is htmltidy being called when I'm not trying to use it?
Comment #4
civicpixel CreditAttribution: civicpixel commentedI had the same problem and commenting out lines 302-307 also worked for me.
Comment #5
michaelfavia CreditAttribution: michaelfavia commentedI dont have time to support this project for D5 but if anone writes a patch ill be happy to commit it and make a release. just reopen and add it as an attachment in unified diff format.