Page 1 of 1

Errors on Admin Login

Posted: Sat Jan 22, 2005 1:18 pm
by GC
Can anyone give me an idea why I get the following error notifications when I log into admin? It only started happening after I uploaded an image to media and attempted to post. I am using the latest CVS snapshot (0.8)

Errors:

Warning: Cannot modify header information - headers already sent by (output started at /home/green2/public_html/sdty/include/functions_config.inc.php:414) in /home/green2/public_html/sdty/serendipity_admin.php on line 9


Warning: Cannot modify header information - headers already sent by (output started at /home/green2/public_html/sdty/include/functions_config.inc.php:414) in /home/green2/public_html/sdty/include/functions_config.inc.php on line 205


My Website is: http://greencanuck.ca/sdty/

Thanks for any help.

GC

Forgot - Add to above

Posted: Sat Jan 22, 2005 1:25 pm
by GC
Also getting the following error under "appearance and options" when going to "configeration" in the admin area.

Fatal error: Call to undefined function: apache_get_modules() in /home/green2/public_html/sdty/include/functions_config.inc.php on line 402

Thanks again.

Re: Forgot - Add to above

Posted: Sat Jan 22, 2005 1:58 pm
by garvinhicking
Edit your file include/functions_config.inc.php and look at line 402: Supposedly this is the end of th efile. Remove any trailing breaks/newline after the "?>" characters.

Regards,
Garvin

Posted: Sat Jan 22, 2005 2:52 pm
by GC
Thanks for the reply Garvin.

This are the lines you are talking about I think:

===================================

<?php
if (!empty($serendipity['extCSS']) && strtolower($serendipity['extCSS']) != 'none') {
?>
<link rel="stylesheet" type="text/css" href="<?php echo $serendipity['extCSS']; ?>" /><?php

}

?>

==============================================

If I remove anything after ?>" then I can't even open the page. Is this the code you were referring to?

TKS ... GC

Posted: Sat Jan 22, 2005 3:39 pm
by GC
Hummmm..... Well, something has changed .... Now I am getting this:

=============================================

Warning: Cannot modify header information - headers already sent by (output started at /home/green2/public_html/sdty/include/functions_config.inc.php:444) in /home/green2/public_html/sdty/serendipity_admin.php on line 9

Posted: Sat Jan 22, 2005 7:30 pm
by garvinhicking
Can you please download the latest Snapshot file and try again? IT seems you modified some files and somewhere introduced blank spaces.

The function you are referring to shouldn't be the cause of that...

Regards,
Garvin

Posted: Sun Jan 23, 2005 1:55 pm
by GC
OK ... Will do Garvin ..... Should get some time to try it out this coming weekend.
Thanks

Posted: Mon Jan 24, 2005 4:12 am
by GC
Well, whatever it was is fine now Garvin. I re-installed the latest snapshot file and everything is working fine. Thanks for your help.
GC