From: Ted H. <te...@io...> - 2011-08-23 15:44:55
|
On Mon, 22 Aug 2011, Paul Lesniewski wrote: >>>> I recently updated to the new version of Squirrelmail Version 1.4.22 and >>>> this warning appeared on the Autoresponder / Mail Forwarding page. >>>> >>>> Warning: Cannot modify header information - headers already sent in >>>> /usr/local/www/squirrelmail-1.4.22/functions/page_header.php on line 31 >>> >>> We need to see the entire message, which should look like: >>> >>> Warning: Cannot modify header information - headers already sent by >>> (output started at /usr/local/squirrelmail/blah/blah.php:100) in >>> /usr/local/squirrelmail/blah/blah.php on line 200 >>> >>> Please always provide the full error message. >>> >> >> The message I provided is the full message. >> >> Warning: Cannot modify header information - headers already sent in >> /usr/local/www/squirrelmail-1.4.22/functions/page_header.php on line 31 >> >> >>> You're also running several plugins that are a little bit dated. You >>> should test with only the plugin in question activated. You can do >>> that without changing your configuration file by adding something like >>> this to config/config_local.php: >>> >>> $temporary_plugins = array('local_autorespond_forward'); >> >> >> I took your advice and applied the above statement to >> config/config_local.php >> >> $temporary_plugins = array('local_autorespond_forward'); >> >> and I received the same error message as before. >> >> Warning: Cannot modify header information - headers already sent in >> /usr/local/www/squirrelmail-1.4.22/functions/page_header.php on line 31 > > Then your version of PHP is unusual or unusually configured. Please > show all relevant server information per the mailing list posting > guidelines. We need to know where this error is occurring, else there > is little that can be done about it. I have tested this plugin and > cannot reproduce the issue. > >>>> According to the comments in the page_header.php file they added this >>>> line to prevent clickjack attempts. >>>> >>>> header('X-Frame-Options: SAMEORIGIN'); >>>> >>>> I solved my issue by commenting out line 31 in fuctions/page_header.php >>>> and setting my apache configuration to "Header always append >>>> X-Frame-Options SAMEORIGIN". >>>> >>>> In case this is helpful here are my squirrelmail particulars. >>>> Here is my configuration. >>>> >>>> Squirrelmail 1.4.22 >>>> Installed Plugins >>>> 1. virtusertable >>>> 2. compatibility >>>> 3. message_details >>>> 4. msg_flags >>>> 5. delete_move_next >>>> 6. select_range >>>> 7. add_address >>>> 8. abook_group_pagination >>>> 9. abook_import_export >>>> 10. calendar >>>> 11. forced_prefs >>>> 12. squirrelspell >>>> 13. mail_fetch >>>> 14. translate >>>> 15. check_quota >>>> 16. squirrel_logger >>>> 17. unsafe_image_rules >>>> 18. bounce >>>> 19. view_as_html >>>> 20. html_mail >>>> 21. auto_cc >>>> 22. archive_mail >>>> 23. local_autorespond_forward >>>> 24. change_pass >>>> 25. listcommands >>>> >>>> Please let me know if you require further information from me regarding >>>> this bug. >>>> >> As I mentioned above I've resolved my issue until a permanent resolution can >> be found. >> >> Let me know if I can be of further assistance or if you require further >> information about my particular setup. > > -- > Paul Lesniewski > SquirrelMail Team > Please support Open Source Software by donating to SquirrelMail! > http://squirrelmail.org/donate_paul_lesniewski.php > > ------------------------------------------------------------------------------ > uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > ----- > squirrelmail-plugins mailing list > Posting guidelines: http://squirrelmail.org/postingguidelines > List address: squ...@li... > List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins > List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins > > Paul, Thanks for taking the time to help me resolve this issue. I'll setup a test site on my server, load a new copy of squirrelmail 1.4.22 and local_autorespond_forward-3.0.1 and I'll see if I can track down the problem. I'll keep you informed as to my progress. Sincerely, Ted Hatfield |