A standard installation of CakePHP expects the view to be placed in the following path, as taken from your example:
app ... views ...... products ......... index.ctp and NOT as your example, with products being a subdirectory under users! Try to change this and see if your problem goes away! Else try as Xoubaman stated, set the viewPath! Best wishes, John On Mar 26, 6:25 pm, programguru <[email protected]> wrote: > And just to add a note, the error I am obviously receiving is due to the > controller not being found which indeed does carry: > > var $helpers = array('Html'); > > When viewing: > > mysite.com/users/products/ > > Here is the error: > > Notice (8): Undefined variable: html.... > -- > View this message in > context:http://n2.nabble.com/controller-not-being-detected-when-view-index-fi... > Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
