Well you're going to hate Cake 2.0 which is getting rid of the error system in place of exceptions :P
On Nov 16, 12:47 am, Joshua Muheim <[email protected]> wrote: > Thank you for your replies. I was not aware that false is returned, so > I'm taking back my accusation that CakePHP is lazy. Still I'd like to > have an option that CakePHP automatically cries when in development > mode... > > On Sat, Nov 13, 2010 at 5:32 PM, mark_story <[email protected]> wrote: > > Also App::import() returns false when an import fails. If you are > > interested in whether or not things succeed, you could check the > > return value of the method. > > > -Mark > > > On Nov 12, 5:05 am, psybear83 <[email protected]> wrote: > >> Hi all > > >> I don't get it why CakePHP doesn't complain about stuff like when one > >> specifies missing components or fixtures: > > >> var $components = array('SomeNotExistingComponent'); > >> var $fixtures = array('app.this_fixture_does_not_exist'); > >> App::import('Lib', 'TheresNoSuchFileInLib'); > > >> All the three lines do not result in any error, and I guess there's > >> more of that like $uses or stuff, but I didn't investigate this any > >> further. > > >> Can anyone tell me why CakePHP just doesn't care about stuff like > >> that? Seems veeeery unresponsible to me... > > >> Thanks for any hints > >> Josh > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others > > with their CakePHP related questions. > > > 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 > > athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
