the error message should give you an indication of where it is expecting the view for that url
however, if you don't want it run through cake at all, you can put it in your webroot folder and call it like a normal script i'm sure there would be ways to get it working through cake as well, you just may need to optimise the database calls, etc, i don't recommend putting database calls in your view. cheers. adam On Oct 14, 10:24 am, Dianne van Dulken <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I have a problem in which we have some php code, outside of cake, > which generates an excel spreadsheet for us, directly from the > database. > > I am trying to work out where I could put it within the cake structure > so that it is still available for use. We found that the equivalent > query within the cake structure took too many resources, and usually > ended up in a timeout. > > I know if it was a normal view, I would put it in pages/reports/ > excelreport.ctg. > > When I try putting it in that location, however, I get the following > erro > > You are seeing this error because the view for > PagesController::display(), could not be found. > > Notice: If you want to customize this error message, create \views > \errors\missing_view.ctp > > Fatal: Confirm you have created the file: \views\pages\reports > \excelreport.php.ctp > > Would anyone be able to hint where I should be putting this so it is > callable? > > Thankyou > > Dianne --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
