[wp-hackers] Re: wpblogmail fails when mail contact plugins present

Scot Hacker shacker at birdhouse.org
Mon Jun 26 16:22:01 GMT 2006


On Jun 26, 2006, at 5:01 AM, Sam wrote:

> The Dagon plugin runs session_start() when it's loaded, which tries to
> set a session cookie. It probably shouldn't, but there's nothing you
> can do about it.

But what's calling the Dagon plugin to begin with? Shouldn't it only  
be called when user clicks through to a page that includes a contact  
form? Same deal with PXSMail. Or are all WP plugins called on all  
page requests? (If so, that seems very innefficient - is there any  
way to suppress that behavior?)

>
> You get "headers already sent" warnings because you've echoed
> something in your script before the other plugin tries to send the
> cookie header.
>
> Do you still get them if you don't 'echo $header;' until *after*
> including wp-blog-header.php ?

Yep, tried that - same problem :(

Thanks,
Scot



More information about the wp-hackers mailing list