[wp-hackers] Thanks MooKitty! (was: Debugging a wp-plugin)

Brett Taylor brett at webfroot.co.nz
Mon Nov 8 20:24:10 UTC 2004


Thanks Owen and Ryan,

And big thanks go out to MooKitty who went out of her way to assist me 
over IM.  Actually, we discovered just putting an echo in the plugin 
outside of a function did the same thing as Owen proposes :)

Thanks again, and cheers :)

Owen Winkler wrote:
> Ryan Boren wrote:
> 
>> Try commenting out the header() redirect in post.php.  Anything you echo
>> after the header redirect has been done won't be seen.
>>  
>>
> Assuming that output buffering isn't enabled when you're posting, you 
> could also try putting an echo at the beginning of the post.php, which 
> would prevent the location header from being written.  I like this 
> method because you don't have to track down the multiple redirects in 
> that file, but moreover because it turns the tables on that old "headers 
> already written" error, and makes it serve you instead of irritating you 
> like it usually does.

-- 
Brett Taylor
- Webmaster
www.webfroot.co.nz

ICQ: 8473626  MSN: weednix at hotmail.com  AIM: webfroot
JABBER: Glutnix at jabber.org.nz   http://inner.geek.nz/



More information about the hackers mailing list