Closed (fixed)
Project:
Revisioning
Version:
6.x-1.0
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
23 Mar 2009 at 08:44 UTC
Updated:
22 Jul 2009 at 09:37 UTC
I managed to trigger this by simply editing a node (thus: creating a new revision) and when I tried to publish it, this error was triggered.
Fatal error: Call to undefined function _trigger_get_hook_aids() in /var/lib/www/shared/drupal-6.10/sites/gnome-de.org/modules/revisioning/revisioning_triggers_actions.inc on line 43
Comments
Comment #1
herzi commentedThis was the URL to trigger this: http://web.gnome-ev.de/node/9/revisions/22/publish
Comment #2
rdeboerHi herzi,
One reason this can happen is when on your Drupal installation the Trigger module is disabled or uninstalled. I just managed to get your error when I disabled the Trigger module (Administer >> Site building >> Modules). This is a core module and is switched on by default, so would normally not cause a problem, but if you disable it, it does!
Let me know how you go. I've updated the documentation to make this explicit.
Comment #3
herzi commentedHi, thanks a lot. Enabling trigger was the solution to this issue. So when do you plan to release a 6.x-1.1 which will work w/o trigger (or depend on trigger)?
Comment #4
rdeboerThis is easy to do and I might do this. By this I mean detect whether the Drupal installation has the Trigger module installed and then blaze on accordingly....
But users would miss out on some good features....
One of the reasons why the Revisioning module loves the Trigger module is that you can Trigger (duh!) actions when important events happen. For instance, you can automatically send an email to the author of a piece of content when the moderator decides to accept/decline the author's revision for publication. That may not be useful to you, but I think it will be useful to others....
Why are you so much against enabling the Trigger module? It is part of the (optional) core modules... So the Drupal "inner sanctum" must feel that the Trigger module is a good thing..... and so do I....
Have you found any negative side-effects of activating the Trigger module? If so, I'm sure the community would love to know!
Interested in your thoughts....
Comment #5
rdeboerWill be fixed in 6.x-1.1
Comment #6
rdeboer6.x-1.1 is now available for downloading. It does allow you to disable the Trigger module.
Naturally this means that when you do, you can't use the trigger features built into Revisioning, i.e. sending an email when a revision is published, unpublished or reverted.
Comment #7
herzi commentedI'm by no means against activating it; I just don't need it on my site. Remember, I wrote this:
However, thanks a lot for releasing 1.1. in the future I might come up with some improvements I plan to develop for the site I'm hosting.
Comment #9
FlymastaFlex commentedBecause of the activated trigger i wasnt able to unpublish any of my nodes. took me nearly a day to find out.