LJ Update Plugin creates immediate Warning

Creating and modifying plugins.
Post Reply
caveman
Posts: 2
Joined: Tue Jan 04, 2005 8:11 am

LJ Update Plugin creates immediate Warning

Post by caveman » Tue Jan 04, 2005 8:16 am

Warning: Cannot add header information - headers already sent by (output started at c:\ibserver\www\serendipity\plugins\serendipity_event_ljupdate\serendipity_event_ljupdate.php:196) in c:\ibserver\www\serendipity\serendipity_admin.php on line 7

.. and this warning appears on every page, and add entry cannot be opened. Should I just chuck it?

Thanks ..Bob

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: LJ Update Plugin creates immediate Warning

Post by garvinhicking » Tue Jan 04, 2005 12:31 pm

It seems that your file has extra spaces at the end of the file. Please edit your serendipity_event_ljupdate.php file and remove extra spaces at the end. They may got introduced by uploading the file as ASCII or with wrong linefeeds of an editor...
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/

caveman
Posts: 2
Joined: Tue Jan 04, 2005 8:11 am

Post by caveman » Tue Jan 04, 2005 6:51 pm

Hey thanks .. this at least put me on the right track.

I had in fact eliminated the blank spaces at the end of the file, but I needed to reinsert the CR at the end of the last line.

This plugin author now has a new version available at his website. I also advised him that he should update your file as well

Thanks

Post Reply