Recent Topics

1 Aug 27, 2008 18:33    

My b2evolution Version: Not Entered

I edited my /conf/_advanced.php file because I wanted to increase my file upload size. Then I changed the file size limit on my Global Settings in admin.

After doing so, I get these errors on the blog page:
Warning: Cannot modify header information - headers already sent by (output started at /home/slkra2/public_html/mrkoehn/preap/conf/_advanced.php:1211) in /home/slkra2/public_html/mrkoehn/preap/inc/sessions/model/_session.class.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /home/slkra2/public_html/mrkoehn/preap/conf/_advanced.php:1211) in /home/slkra2/public_html/mrkoehn/preap/inc/skins/_skin.funcs.php on line 383

And on the admin side I get the following and it will not allow me to log in:
Warning: Cannot modify header information - headers already sent by (output started at /home/slkra2/public_html/mrkoehn/preap/conf/_advanced.php:1211) in /home/slkra2/public_html/mrkoehn/preap/inc/sessions/model/_session.class.php on line 219

Cannot modify header information - headers already sent by (output started at /home/slkra2/public_html/mrkoehn/preap/conf/_advanced.php:1211) in /home/slkra2/public_html/mrkoehn/preap/inc/_core/_template.funcs.php on line 146

Warning: Cannot modify header information - headers already sent by (output started at /home/slkra2/public_html/mrkoehn/preap/conf/_advanced.php:1211) in /home/slkra2/public_html/mrkoehn/preap/inc/_core/_template.funcs.php on line 147

Warning: Cannot modify header information - headers already sent by (output started at /home/slkra2/public_html/mrkoehn/preap/conf/_advanced.php:1211) in /home/slkra2/public_html/mrkoehn/preap/inc/_core/_template.funcs.php on line 148

Warning: Cannot modify header information - headers already sent by (output started at /home/slkra2/public_html/mrkoehn/preap/conf/_advanced.php:1211) in /home/slkra2/public_html/mrkoehn/preap/inc/_core/_template.funcs.php on line 149

Warning: Cannot modify header information - headers already sent by (output started at /home/slkra2/public_html/mrkoehn/preap/conf/_advanced.php:1211) in /home/slkra2/public_html/mrkoehn/preap/skins_adm/login/_html_header.inc.php on line 29

I set the _advanced.php file back to it's original state, but I'm not sure what I've done or how to fix it since I can't get into admin.

2 Aug 28, 2008 03:10

Hi skoehn,

This can happen if you edit the php files with an HTML editor or an office program. Try a plain text editor like notepad, Notepad++, Crymson editor or an editor specific for PHP files.

The error occurs if there is whitespace (a space or a tab or a linefeed) before the first <?php or after the closing ?> in the file.

Good luck

3 Aug 28, 2008 15:23

Thank you thank you!

There were two extra lines after my closing php, and removing those did the trick!


Form is loading...