Blogger Talk blogging forums Blogging Fusion Blog Directory 
Blogger Talk
Blogger Talk
View topic - Warning: Cannot modify header information - headers already



 Forum FAQ  •  Search  •   Statistics   •   Memberlist   •   Usergroups   •  Register  •  Profile  •  Log in to check your private messages   

BloggerTalk.net Forum Index » WordPress Help » Warning: Cannot modify header information - headers already

Post new topic  Reply to topic
 Warning: Cannot modify header information - headers already « View previous topic :: View next topic » 
Author Message
AldianP
PostPosted: Wed Jan 31, 2007 10:05 am    Post subject: Warning: Cannot modify header information - headers already Reply with quote

Primary member
Primary member

Joined: Jan 25, 2007
Posts: 30

I got this error message every time I submit comment in my WordPress 2.1 Please help me to fix this problem. Thank a lot.

The funny thing, if I refresh my browser, the comment is submitted and posted on the page.


Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/wildfir4/public_html/aldian/wp-content/plugins/subscribe-to-comments.php on line 438

Warning: Cannot modify header information - headers already sent by (output started at /home/wildfir4/public_html/aldian/wp-content/plugins/subscribe-to-comments.php:438) in /home/wildfir4/public_html/aldian/wp-includes/pluggable.php on line 275
_________________
AldianPrakoso.com
Blog Monetization Strategist
Back to top
View user's profile Send private message Visit poster's website
Sponsored Ads
Shawn
PostPosted: Wed Jan 31, 2007 1:04 pm    Post subject: Reply with quote

Site Developer
Site Developer

Joined: Sep 06, 2006
Posts: 327
Location: Canada

AldianP

When you edited the wp-config.php file did you do it in a Word Document editor?

The error is usally caused by a space or hidden character just before the <?php or any other line, always use a plain text editor or an ASCII editor to ensure there are no hidden characters...

Also try disabling the subscribe-to-comments.php from the plugins section to see if the error still occurs, to disable it go in to the WordPress Admin Panel and select plugins and then scroll down and deactivate it.

If the problem only occurs with the plugin enabled then post the content of the file here so I may take a look!

But like I said before its normally caused by space or hidden charcter in the wp-config.php file so inspect the file using notepad or an ASCII editor and remove and spaces ..

Put your cursor at the end of each line, hit the delete key until the bottom line moves to the same line ensuring there are no spaces or hidden characters!

Rose uses this plugin on her WordPress 2.1 and has no errors, so I still think it may be one of the files you edited using a Word editor instead of an ASCII or plaintext editor!

Let me know

Shawn icon_biggrin.gif
_________________
| Affordable Web-Hosting | FREE Blog Directory |
PC Windows Tips |
Ultra Game Play
Back to top
View user's profile Send private message Visit poster's website
Shawn
PostPosted: Wed Jan 31, 2007 1:22 pm    Post subject: Re: Warning: Cannot modify header information - headers alre Reply with quote

Site Developer
Site Developer

Joined: Sep 06, 2006
Posts: 327
Location: Canada

AldianP wrote:

Warning: Cannot modify header information - headers already sent by (output started at /home/wildfir4/public_html/aldian/wp-content/plugins/subscribe-to-comments.php:438) in /home/wildfir4/public_html/aldian/wp-includes/pluggable.php on line 275


Now like I mentioned before, this is caused by hidden characters or whitespaces, its telling you what line is effecting it by reading the error output..

The error is coming from subscribe-to-comments.php on line 438, there is a whitespace or hidden character, be sure to inspect this file and make sure there or no hidden / whitespace characters..

Using Notepad, open the file and select edit and scroll down to Go To...enter the line number 438 and hit ok!

Now use your cursor at the end of a line or at the begining and hit your delete key to ensure you remove all whitespaces.

Hope this helps

Shawn icon_biggrin.gif
_________________
| Affordable Web-Hosting | FREE Blog Directory |
PC Windows Tips |
Ultra Game Play
Back to top
View user's profile Send private message Visit poster's website
Shawn
PostPosted: Wed Jan 31, 2007 1:34 pm    Post subject: Reply with quote

Site Developer
Site Developer

Joined: Sep 06, 2006
Posts: 327
Location: Canada

Now the other error - Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/wildfir4/public_html/aldian/wp-content/plugins/subscribe-to-comments.php on line 438

This is because the structure has changed from old version..

The author has already released a fix for 2.1 and it can be downloaded from here!

Subscribe to Comments Fix for WordPress 2.1

Hope this helps!

Shawn icon_biggrin.gif
_________________
| Affordable Web-Hosting | FREE Blog Directory |
PC Windows Tips |
Ultra Game Play
Back to top
View user's profile Send private message Visit poster's website
AldianP
PostPosted: Thu Feb 01, 2007 4:52 am    Post subject: Reply with quote

Primary member
Primary member

Joined: Jan 25, 2007
Posts: 30

Thanks a lot Shawn.
I downloaded the fix but couldn't upload it to my blog yet.
For some strange reason I can't FTP today.
_________________
AldianPrakoso.com
Blog Monetization Strategist
Back to top
View user's profile Send private message Visit poster's website
Shawn
PostPosted: Thu Feb 01, 2007 12:37 pm    Post subject: Reply with quote

Site Developer
Site Developer

Joined: Sep 06, 2006
Posts: 327
Location: Canada

Not a problem, and to use your FTP use the IP for the host address instead of your domain name, that way you can connect...

Shawn icon_biggrin.gif
_________________
| Affordable Web-Hosting | FREE Blog Directory |
PC Windows Tips |
Ultra Game Play
Back to top
View user's profile Send private message Visit poster's website
AldianP
PostPosted: Mon Feb 05, 2007 9:52 am    Post subject: Reply with quote

Primary member
Primary member

Joined: Jan 25, 2007
Posts: 30

It's done Shawn! icon_biggrin.gif
I added some widgets too: such as comment preview.

News flash: I make a photo blog!
The recipe is Wordpress + Gallery icon_cool.gif

Let me know what you think icon_wink.gif
_________________
AldianPrakoso.com
Blog Monetization Strategist
Back to top
View user's profile Send private message Visit poster's website
Shawn
PostPosted: Mon Feb 05, 2007 12:53 pm    Post subject: Reply with quote

Site Developer
Site Developer

Joined: Sep 06, 2006
Posts: 327
Location: Canada

Hello AldianP icon_biggrin.gif

I am glad I was able to help, after all thats why they pay me the big bucks, icon_wink.gif

I like the addon Gallery also, looks pretty cool I have intergrated Gallery2 into a few platforms and its an excellent piece of software..

Have fun & keep up the good work!

Shawn icon_smile.gif
_________________
| Affordable Web-Hosting | FREE Blog Directory |
PC Windows Tips |
Ultra Game Play
Back to top
View user's profile Send private message Visit poster's website
AldianP
PostPosted: Mon Feb 05, 2007 8:54 pm    Post subject: Reply with quote

Primary member
Primary member

Joined: Jan 25, 2007
Posts: 30

Agreed Shawn. I was considering Coppermine, Zen Photo and 4images before finally choosing Gallery. I'm glad that I make the right decision icon_smile.gif

By the way, do you have suggestion what open source application that's good for submitting comment with ticket tracking?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

BloggerTalk.net Forum Index » WordPress Help » Warning: Cannot modify header information - headers already
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Design by Invision-Graphics | Powered by phpBB © 2006 phpBB Group
Watch anime | Problem Mortgage | Mortgages | Star Wars Music | Articles
BloggerTalk.net Statistics
 Today: 10,588  Yesterday: 13,214  Unique Hits: 20268  Total Hits: 7,404,396
Page Rendered in: 0.64s - Total Queries: 0 - MySQL DB: 121 mb's - Pages served in past 5 minutes: 33

BloggerTalk.net All rights reserved.
Unauthorized distribution, transmission or republication strictly prohibited.
Design by Invision-Graphics.com Proudly hosted by VisionThisHosting.com