- David
P.S: Felix is on vacation for the next three weeks. On 04.04.2009, at 20:45, Luis Merino wrote:
Hi Felix, I was writing in the mailing lists about the RSS problem. First off I'm sure you are a very busy person, however I'm really interested in learning php as a pro among PHP. I found myself stuck 4 times, 2 were my own code, a forgotten ; or so and the others chances are that they are tutorial little mistakes. I'm right now with the step of adding the form, I see the form, so executeRead() well, getDefaultViewName is giving me "Input" but posting hence executeWrite who should be giving me Success or Error is not giving me any of those, instead "Internal Server Error". In return and since I plan to redo the tutorial again from zero, I offer to review the writing as well as code and some broken links I've noticed from the tutorial, that'd be my way to helping you back. A fascinated fan of Agavi, Luis M. On Apr 3, 2009, at 3:21 PM, Felix Gilcher wrote:Hi Luis, if you call an URL that does not support RSS (i.e. any other one than you set up in chapter 6) you'll get an exception. The route that handles rss does not set an Action/View but just strips of the '.rss' and sets an output type, the rest of the routing executes as regular. So http://bloggie.dev/sample.rss would get modified to http://bloggie.dev/sample + output rss which then is handled by the rest of the routing, resulting in an error 404, because no route matches. The error view does not know how to handle RSS output and thus an exception is thrown. To do the right thing, the error404 view should handle all output types and just return 404 not fund, but that would complicate matters at that point. I'd probably better state that explicitly, thanks for the pointer. cheers felix On Apr 3, 2009, at 12:50 AM, Luis Merino wrote:http://www.agavi.org/documentation/tutorial/step6/generating-an-rss-feed.html I'm following the tutorial to learn Agavi deeply. Thanks a lot for what you've put together on this release, it's fantastic. I'm willing to do it more than once, to suck all knowledge from it and experiment for a while; I think Agavi has returned me my curiosity for php OO coding (I am a front-ender). So I've stumbled upon this step, when generating the RSS file as in the example. The route set in routing.xml would match any .rss file i.e.: http://bloggie.dev/sample.rss am I wrong? and I'm getting an "Internal Server Error" nothing else, so I'm not sure how to continue or test or do something about it. I've reviewed my files and lines of code, but of course this crash occurs before any actions/view are fired or anything so, any help would be really appreciated. Thanks in advance, Luis M. _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
