not displaying theme and getting error message

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Bandon
Regular
Posts: 6
Joined: Fri Jul 01, 2005 11:10 pm

not displaying theme and getting error message

Post by Bandon »

serendipity_db_query($q); // Set current plugin as last plugin in queue. $q = "UPDATE {$serendipity['dbPrefix']}plugins SET sort_order = " . intval($rs[0]) . " WHERE name = '" . $this->instance . "'"; serendipity_db_query($q); return true; break; default: return false; break; } } else { return false; } } } /* vim: set sts=4 ts=4 expandtab : */ ?>
Warning: Cannot modify header information - headers already sent by (output started at /home/bandon1/public_html/nintendogal/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php:491) in /home/bandon1/public_html/nintendogal/serendipity_admin.php on line 9

Please, help!

-Bandon
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: not displaying theme and getting error message

Post by garvinhicking »

You need to be more verbose. What is that code piece you posted? Where does that happen?

The error tells me that you have either edited serendipity files or did not upload them properly, that's where the error comes from. After the last "?>" charcter of files, no other whitespace or break characters may appear. You must delete all linebreaks, and make sure to upload files in ASCII mode so that windows linebreaks to not get inserted.

Check the file /home/bandon1/public_html/nintendogal/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php that is mentioned in the error message, go to the last lines and delete the extra whitespace, then you'll get rid of that error!

I saw you coming to IRC today - we european developers usually are not online before 10 am at our local time, and you came at around 5 am. Please be patient there, as the topic suggest, and instead (like you did) come to the forums if no one replies. Here you'll get help :)

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