set debug mode to 1. maybe you get "missingAction" error form cake.
On Sep 18, 7:07 pm, mario <[EMAIL PROTECTED]> wrote: > Hello guys, > > I want to generate and excel spreadsheets based from my > database query and I've come across this > tutorialhttp://bakery.cakephp.org/articles/view/generate-excel-spreadsheets-f.... > > I've followed every instructions but I can't get it working. > > I have a "reservations" contoller and it has a view called "report" > and two layouts "default.ctp" and "excel.ctp" > My default.ctp contains my main layout for html display and excel.ctp > contains the layout for rendering the excel file. > > Everytime i visit the linkhttp://localhost/{myproject}/reservations/report, > I get this error > > Error: The requested address '/reservations/report' was not found on > this server. > > I've tried things commenting out the line > $this->render('action','excel'); > in my reservations controller (report function) > > and renaming excel.ctp to default.ctp and everything works fine. > > I think the problem has to do with rendering my layout and I just > can't find the solution for it. > Please help me since I'm already beyond my deadline in my project. > > Thanks, > > Mario --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---