Hello guys, I want to generate and excel spreadsheets based from my database query and I've come across this tutorial http://bakery.cakephp.org/articles/view/generate-excel-spreadsheets-from-your-database.
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 link http://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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
