I've found a small problem with the abook_group plugin (abook_group-0.51-1.4.2.tar.gz from the plugin download page) and SquirrelMail 1.4.9a.
The function agroup_check_backends() in plugins/abook_group/abook_group_functions.php calls sqsession_register($ret,'agroup_mixed'). This appears to be there so that the plugin can quickly determine whether to use mixed backends, and most of the time, this causes no problems.
Sadly, when replying to a message (src/compose.php), this function is called when the session is not open, after being closed by session_write_close() on line 871 of src/compose.php, and also after some html output has taken place. Thus, the the implicit session_start fired off by the call to session_register fails because the session cookie header can't be sent, causing a couple of php warning messages.
My workaround is to comment out the sqsession_register call in agroup_check_backends() at the expense of a slight performance hit.
Someone who understands either the abook_group plugin, or the positioning of the call to session_write_close() on line 871 of src/compose.php should be able to come up with a better fix.
This problem occurs on a vanilla SquirrelMail installation with only the abook_group plugin installed.
If you need any further information or any testing doing, just ask.
Thanks
Logged In: YES
user_id=225877
Originator: NO
Could you check latest plugin version from SM Plugins cvs. See http://sourceforge.net/cvs/?group_id=85319. Plugin uses 'plugins/abook_group' module name. Make sure that you are not using outdated cvs. Latest cvs plugin version should report 0.51.1 version.
If you don't want to download latest version, related fixes are in http://sm-plugins.cvs.sourceforge.net/sm-plugins/plugins/abook_group/abook_group_functions.php?r1=1.7&r2=1.8 and http://sm-plugins.cvs.sourceforge.net/sm-plugins/plugins/abook_group/setup.php?r1=1.17&r2=1.18
Logged In: YES
user_id=11015
Originator: YES
Thanks for the prompt fix Tomas.
I've put the new versions of abook_group_functions.php and setup.php into my Squirrelmail setup and the compose.php now works without problems.
Good work!