Recent Topics

1 Dec 04, 2005 21:34    

Hi,

I was running version 0.9.0.11 which was set up by my hosting service (dayanahost.com) but I was having so much trouble with spammers that I've upgraded to 1.6-Alpha. Dayana didn't have an upgrade script to 1.6 so I'm doing it by myself and hitting one problem after another.

Now when I log in as admin, I get these errors:

Warning: Cannot modify header information - headers already sent by (output started at /home/cchris/public_html/weblog/evocore/_request.class.php:1277) in /home/cchris/public_html/weblog/evocore/_session.class.php on line 393

Warning: Cannot modify header information - headers already sent by (output started at /home/cchris/public_html/weblog/evocore/_request.class.php:1277) in /home/cchris/public_html/weblog/evocore/_misc.funcs.php on line 4325

Warning: Cannot modify header information - headers already sent by (output started at /home/cchris/public_html/weblog/evocore/_request.class.php:1277) in /home/cchris/public_html/weblog/evocore/_misc.funcs.php on line 4327

Warning: Cannot modify header information - headers already sent by (output started at /home/cchris/public_html/weblog/evocore/_request.class.php:1277) in /home/cchris/public_html/weblog/evocore/_misc.funcs.php on line 4329

Warning: Cannot modify header information - headers already sent by (output started at /home/cchris/public_html/weblog/evocore/_request.class.php:1277) in /home/cchris/public_html/weblog/evocore/_misc.funcs.php on line 4331

Warning: Cannot modify header information - headers already sent by (output started at /home/cchris/public_html/weblog/evocore/_request.class.php:1277) in /home/cchris/public_html/weblog/evocore/_main.inc.php on line 811

Warning: Cannot modify header information - headers already sent by (output started at /home/cchris/public_html/weblog/evocore/_request.class.php:1277) in /home/cchris/public_html/weblog/evocore/_main.inc.php on line 813

I've only edited the _config.php and I made sure there was no extra space after the ?>

Can someone please explain how to fix this problem?

Thanks in advance,
Chris

[UPDATE] This is what is on line 393 of the _session_class.php file:
setcookie( $cookie_session, $this->ID.'_'.$this->key, time()+315360000, $cookie_path, $cookie_domain );

There is no line 4325, 4327, 4329, or 4331 in the _misc.funcs.php file.

I haven't been able to find anything on _request.class.php:1277 that each error mentions.

2 Dec 04, 2005 23:29

I'd say you have whitespace at the end of _request.class.php and somehow have line endings messed up, so it (PHP) counts every line as two.

This might also be the issue with the end of Request class.

3 Dec 06, 2005 14:03

Thanks for your help, blueyed! It turned out that several files had whitespace at the bottom even though I've never opened them before!

4 Dec 06, 2005 21:28

This is probably a line ending problem.. \r\n (windows) vs \n (unix) vs \r (mac).

The files probably got messed up when uploading them.


Form is loading...