On 6/2/10 9:14 AM, Arunoda Susiripala wrote:

> 1. When destroying a status via API (with json)
> 2. and the status is not posted by the current logged in user
> 3. it'll response something like this pasted and I can't catch the error
> because it's destroying the jsop structure

Arunoda,

Instead of posting to this list, it would probably be better to open a
ticket in our bug tracker: http://status.net/trac/report

In any case, I'm not able to reproduce this issue.

> ('{"error":"You may not delete another user's
> status.","request":"\/api\/statuses\/destroy.json"}
> <b>Warning</b>:  Cannot modify header information - headers already sent by
> (output started at /home3/arunodac/public_html/me/lib/apiaction.php:1100) in
> <b>/home3/arunodac/public_html/me/lib/apiaction.php</b> on line
> <b>1025</b><br />
>[....]

I've seen this kind of thing happen when StatusNet is set to output log
messages to a file but doesn't have permission to write to it.

Zach

-- 
Zach Copley
[email protected] - http://identi.ca/zach

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to