Errors on Admin Login

Having trouble installing serendipity?
Post Reply
GC

Errors on Admin Login

Post 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
GC

Forgot - Add to above

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Forgot - Add to above

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
GC

Post 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
GC

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
GC

Post by GC »

OK ... Will do Garvin ..... Should get some time to try it out this coming weekend.
Thanks
GC

Post 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
Post Reply