Jump to content
Sign in to follow this  
style

CometChat - Error when editing header.php to update the sections

Recommended Posts

style

Hello, I'm trying to install CometChat on my site. I've been trying to edit the header.php file to include some additional data in between the <head> tags:

<link type="text/css" href="/cometchat/cometchatcss.php" rel="stylesheet" charset="utf-8">
	<script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>

However I keep receiving the following error: Warning: Cannot modify header information - headers already sent by (output started at /var/www/wordpress/wp-content/themes/platformbase/functions.php:1) in /var/www/wordpress/wp-admin/theme-editor.php on line 89 Any thoughts?

Share this post


Link to post
Share on other sites
style

Hmm, looks like CometChat tried to update a file on its own. I reinstalled the theme, updated header.php and all is well :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×