On Wed, May 20, 2009 at 9:30 AM, Tyler <tw...@kc.rr.com> wrote:
>
>
> -----Original Message-----
> From: "Paul Lesniewski"<p...@squirrelmail.org>
> Sent: 5/20/09 00:45:29
> To: "Squirrelmail User Support Mailing 
> List"<squirrelmail-users@lists.sourceforge.net>
> Subject: Re: [SM-USERS] Possible Bug In Plugin Registration on Hooks
>
> On Tue, May 19, 2009 at 7:25 PM, Tyler <tw...@kc.rr.com> 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[....
>    Wouldn't that delete the entries for the plugins and set them all back to 
> "available" instead     of "installed?"

Yes.  You'd have to reconfigure the installed plugins.  If you don't
want to do that, look to see what your plugin_hooks.php file contains
- compare it with the list of errors you're getting.

> 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@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to