Re: Possible Bug In Plugin Registration on Hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 19, 2009 at 7:25 PM, Tyler <twkav@xxxxxxxxx> wrote:
> Under SquirrelMail 1.5.2 (SVN Head Revision 13722, May 18, 2009), whenever I
> save my config.php file using conf.pl, I get this output:
>
> Data saved in config.php
> Activating plugin "bug_report"...
> registering on hook "template_construct_page_header.tpl"
> registering on hook "optpage_loadhook_display"
> Activating plugin "administrator"...
> registering on hook "optpage_register_block"
> Activating plugin "calendar"...
> registering on hook "template_construct_page_header.tpl"
> Activating plugin "filters"...
> registering on hook "left_main_before"
> registering on hook "right_main_after_header"
> registering on hook "optpage_register_block"
> registering on hook "special_mailbox"
> registering on hook "rename_or_delete_folder"
> registering on hook "template_construct_login_webmail.tpl"
> registering on hook "folder_status"
> Activating plugin "listcommands"...
> registering on hook "template_construct_read_headers.tpl"
> registering on hook "optpage_register_block"
> Activating plugin "mail_fetch"...
> registering on hook "template_construct_page_header.tpl"
> registering on hook "login_verified"
> registering on hook "left_main_before"
> registering on hook "optpage_register_block"
> registering on hook "rename_or_delete_folder"
> Activating plugin "message_details"...
> registering on hook "read_body_header_right"
> Activating plugin "newmail"...
> registering on hook "folder_status"
> registering on hook "template_construct_left_main.tpl"
> registering on hook "optpage_register_block"
> registering on hook "options_save"
> registering on hook "loading_prefs"
> registering on hook "optpage_set_loadinfo"
> Done activating plugins; registration data saved in plugin_hooks.php
> Press enter to continue...
> However, when I run configtest.php, part of its output is the following:
> WARNING: The plugin bug_report is supposed to be registered on the
> template_construct_page_header.tpl hook, but it is not. You need to re-run
> the configuration utility and re-save your configuration file.
>
>     WARNING: The plugin bug_report is supposed to be registered on the
> optpage_loadhook_display hook, but it is not. You need to re-run the
> configuration utility and re-save your configuration file.

I saw this once a little while ago, and it was an issue that was a
side effect of manually changing a plugin or the SquirrelMail
configuration file (I don't remember which or the exact issue), so
it's not entirely your fault, but the easiest fix for now might be to
delete the config/plugin_hooks.php file and delete all lines in
config/config.php that start with $plugins[....

If that doesn't help, we can dig further.

>     WARNING: The plugin administrator is supposed to be registered on the
> optpage_register_block hook, but it is not. You need to re-run the
> configuration utility and re-save your configuration file.
>
>     WARNING: The plugin calendar is supposed to be registered on the
> template_construct_page_header.tpl hook, but it is not. You need to re-run
> the configuration utility and re-save your configuration file.
>
>     WARNING: The plugin filters is supposed to be registered on the
> optpage_register_block hook, but it is not. You need to re-run the
> configuration utility and re-save your configuration file.
>
>     WARNING: The plugin filters is supposed to be registered on the
> left_main_before hook, but it is not. You need to re-run the configuration
> utility and re-save your configuration file.
>
>     WARNING: The plugin filters is supposed to be registered on the
> right_main_after_header hook, but it is not. You need to re-run the
> configuration utility and re-save your configuration file.
>
>     WARNING: The plugin filters is supposed to be registered on the
> special_mailbox hook, but it is not. You need to re-run the configuration
> utility and re-save your configuration file.
>
>     WARNING: The plugin filters is supposed to be registered on the
> rename_or_delete_folder hook, but it is not. You need to re-run the
> configuration utility and re-save your configuration file.
>
>     WARNING: The plugin filters is supposed to be registered on the
> template_construct_login_webmail.tpl hook, but it is not. You need to re-run
> the configuration utility and re-save your configuration file.
>
>     WARNING: The plugin filters is supposed to be registered on the
> folder_status hook, but it is not. You need to re-run the configuration
> utility and re-save your configuration file.
>
>     WARNING: The plugin listcommands is supposed to be registered on the
> optpage_register_block hook, but it is not. You need to re-run the
> configuration utility and re-save your configuration file.
>
>     WARNING: The plugin listcommands is supposed to be registered on the
> template_construct_read_headers.tpl hook, but it is not. You need to re-run
> the configuration utility and re-save your configuration file.
>
>     WARNING: The plugin mail_fetch is supposed to be registered on the
> template_construct_page_header.tpl hook, but it is not. You need to re-run
> the configuration utility and re-save your configuration file.
>
>     WARNING: The plugin mail_fetch is supposed to be registered on the
> optpage_register_block hook, but it is not. You need to re-run the
> configuration utility and re-save your configuration file.
>
>     WARNING: The plugin mail_fetch is supposed to be registered on the
> left_main_before hook, but it is not. You need to re-run the configuration
> utility and re-save your configuration file.
>
>     WARNING: The plugin mail_fetch is supposed to be registered on the
> rename_or_delete_folder hook, but it is not. You need to re-run the
> configuration utility and re-save your configuration file.
>
>     WARNING: The plugin mail_fetch is supposed to be registered on the
> login_verified hook, but it is not. You need to re-run the configuration
> utility and re-save your configuration file.
>
>     WARNING: The plugin message_details is supposed to be registered on the
> read_body_header_right hook, but it is not. You need to re-run the
> configuration utility and re-save your configuration file.
>
>     WARNING: The plugin newmail is supposed to be registered on the
> optpage_register_block hook, but it is not. You need to re-run the
> configuration utility and re-save your configuration file.
>
>     WARNING: The plugin newmail is supposed to be registered on the
> folder_status hook, but it is not. You need to re-run the configuration
> utility and re-save your configuration file.
>
>     WARNING: The plugin newmail is supposed to be registered on the
> template_construct_left_main.tpl hook, but it is not. You need to re-run the
> configuration utility and re-save your configuration file.
>
>     WARNING: The plugin newmail is supposed to be registered on the
> options_save hook, but it is not. You need to re-run the configuration
> utility and re-save your configuration file.
>
>     WARNING: The plugin newmail is supposed to be registered on the
> loading_prefs hook, but it is not. You need to re-run the configuration
> utility and re-save your configuration file.
>
>     WARNING: The plugin newmail is supposed to be registered on the
> optpage_set_loadinfo hook, but it is not. You need to re-run the
> configuration utility and re-save your configuration file.
>
>     Plugin versions...
>         Bug Report (bug_report) CORE
>         administrator ??
>         calendar ??
>         filters ??
>         listcommands ??
>         mail_fetch ??
>         message_details ??
>         New Mail (newmail) CORE
>     Plugins OK.
> Also, none of my plugins load when I login to the SquirrelMail interface.
> Where does this issue lie--is it with me, or with SquirrelMail itself?
>

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux