tag:blogger.com,1999:blog-5257555736106762701.post1288647583579385671..comments2024-02-15T05:46:49.798-08:00Comments on Learn Yii: A very simple JSON APINeil McGuiganhttp://www.blogger.com/profile/14122981831780837323noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-5257555736106762701.post-89218083677836493262015-11-23T15:29:50.859-08:002015-11-23T15:29:50.859-08:00worked like charm...yeah in opposite way, how get ...worked like charm...yeah in opposite way, how get it on the form...Anonymoushttps://www.blogger.com/profile/16341768088080353724noreply@blogger.comtag:blogger.com,1999:blog-5257555736106762701.post-80455437435820587812014-03-30T22:07:10.456-07:002014-03-30T22:07:10.456-07:00nice Post ...nice Post ...arjunhttp://www.arjun.net.innoreply@blogger.comtag:blogger.com,1999:blog-5257555736106762701.post-35731353237488434832014-03-06T01:33:50.789-08:002014-03-06T01:33:50.789-08:00awesome ... i am looking for this ...very helpfulawesome ... i am looking for this ...very helpfulAnonymoushttps://www.blogger.com/profile/03378670638734759675noreply@blogger.comtag:blogger.com,1999:blog-5257555736106762701.post-70592391111488525822013-10-17T07:47:05.917-07:002013-10-17T07:47:05.917-07:00You super, this worked like a charm for me.....thn...You super, this worked like a charm for me.....thnx a million <br />Anonymoushttps://www.blogger.com/profile/14563902025993561431noreply@blogger.comtag:blogger.com,1999:blog-5257555736106762701.post-4133909823822753022013-10-17T03:26:30.914-07:002013-10-17T03:26:30.914-07:00change access rules to what Sir??change access rules to what Sir??Anonymoushttps://www.blogger.com/profile/14563902025993561431noreply@blogger.comtag:blogger.com,1999:blog-5257555736106762701.post-71478439249995597882012-11-05T04:29:24.687-08:002012-11-05T04:29:24.687-08:00I had the same problem and the issue was that one ...I had the same problem and the issue was that one of my class had a space just after definition of <?php make sure no space.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5257555736106762701.post-80628453878388493362011-10-03T18:30:14.748-07:002011-10-03T18:30:14.748-07:00I'm waiting for the same.., the problem is the...I'm waiting for the same.., the problem is the entry point information have to be sent to the controller using the _form.php file the Gii produces... so, how can we post information, run the validation and also customize the error handling to return a message in JSON format ???._(***///!k4m1k4z3!\\\***)_.https://www.blogger.com/profile/08933560570657551734noreply@blogger.comtag:blogger.com,1999:blog-5257555736106762701.post-5405485069166285302011-05-31T03:35:12.489-07:002011-05-31T03:35:12.489-07:00What about the other way around? When you want to ...What about the other way around? When you want to "POST" JSON data and map into to Yii objects?Tobyhttp://www.flirtbox.co.uknoreply@blogger.comtag:blogger.com,1999:blog-5257555736106762701.post-44302257941420264482011-01-08T11:05:43.383-08:002011-01-08T11:05:43.383-08:00you should avoid sending content back. this could ...you should avoid sending content back. this could also be from an invisible character in your source code getting sent back. are you developing on windows and running the server on linux?Neil McGuiganhttps://www.blogger.com/profile/14122981831780837323noreply@blogger.comtag:blogger.com,1999:blog-5257555736106762701.post-27851762779806467372010-12-31T02:34:02.435-08:002010-12-31T02:34:02.435-08:00Hi Neil,
The problem is that it always returns a ...Hi Neil,<br /><br />The problem is that it always returns a error on header('Content-type: application/json');<br /><br />Cannot modify header information - headers already sent by.<br /><br />What I'm a doing wrong?Thimhttps://www.blogger.com/profile/10549365561875166374noreply@blogger.com