I am getting a
Cannot modify header information - headers already sent by (output started at /path_to_my_files/application/controllers/Examples.php:322 error whenever I open the password recovery page in the codeigniter community auth system. kindly assist in solving this. The error is as below.
Quote:A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /path_to_my_files/application/controllers/Examples.php:322)
Filename: libraries/Tokens.php
Line Number: 243
Backtrace:
File: /path_to_my_files/application/third_party/community_auth/libraries/Tokens.php
Line: 243
Function: setcookie
File: /path_to_my_files/application/third_party/community_auth/libraries/Tokens.php
Line: 199
Function: save_tokens_cookie
File: /path_to_my_files/application/third_party/community_auth/libraries/Tokens.php
Line: 214
Function: generate_form_token
File: /path_to_my_files/application/third_party/community_auth/helpers/MY_form_helper.php
Line: 68
Function: token
File: /path_to_my_files/application/third_party/community_auth/views/examples/recover_form.php
Line: 96
Function: form_open
File: /path_to_my_files/application/controllers/Examples.php
Line: 324
Function: view
File: /path_to_my_files/index.php
Line: 292