Log message #114518

# At Username Text
# Aug 9th 2008, 21:01 markstory App::import is just for loading class files. If you app::import a file you still need to construct the object :)
# Aug 9th 2008, 21:01 JD__ ok I must have not read carefull yenough :P
# Aug 9th 2008, 21:00 markstory use of loadModel() and loadComponent() is depricated and removed.
# Aug 9th 2008, 21:00 markstory whoever said that was smoking bad stuff. :)
# Aug 9th 2008, 21:00 markstory what uses and $components?
# Aug 9th 2008, 20:59 JD__ ok, I saw that was going to be depricated
# Aug 9th 2008, 20:59 markstory and models you can get to via relationships or use var $uses = array('UserProfile') in your controller.
# Aug 9th 2008, 20:59 markstory for components do var $components = array('Email');
# Aug 9th 2008, 20:59 JD__ ooohhh
# Aug 9th 2008, 20:59 markstory that won't work at all.
# Aug 9th 2008, 20:58 JD__ well im starting a REALLY big project, so I dont want to use stuff that is depricated
# Aug 9th 2008, 20:58 markstory app::import doesn't build objects just loads classes.
# Aug 9th 2008, 20:58 JD__ for example: http://bin.cakephp.org/view/1336178153
# Aug 9th 2008, 20:58 markstory JD__: what are you trying to do?
# Aug 9th 2008, 20:55 JD__ is it not working verywhere or am i using it wrong?
# Aug 9th 2008, 20:55 JD__ Ok, what is the deal with App::import()? from what I have read, its how we are supposed to include compoents, models etc, but none of the articles i have found really explain where to use it. I have made beforeFilter() in my app_controller.php, and in Parent::beforeFilter() in other controllers where i need things liek email.
# Aug 9th 2008, 20:51 Spoom heading out, cyas
# Aug 9th 2008, 20:51 Spoom anyway
# Aug 9th 2008, 20:51 Spoom maybe i'll try moving it to my personal server with the db and see
# Aug 9th 2008, 20:50 Spoom it could be the server somewhere, unfortunately i can't mess with it too much as i don't have root
# Aug 9th 2008, 20:50 kalileo )
# Aug 9th 2008, 20:50 Spoom i really appreciate the help
# Aug 9th 2008, 20:50 kalileo may be mod rewrite or router.php messed up
# Aug 9th 2008, 20:50 Spoom i'll likely be back later tonight to try to fix this
# Aug 9th 2008, 20:50 Spoom thanks very much for your help folks :^)
# Aug 9th 2008, 20:50 Spoom anyway, i have to go
# Aug 9th 2008, 20:49 Spoom this is what i've been referring to
# Aug 9th 2008, 20:48 Spoom yes
# Aug 9th 2008, 20:48 kalileo "You don't have permission to access /questionnaire/questionnaire/questions/index/page:2 on this server."
# Aug 9th 2008, 20:47 kalileo in the cake page layout a cake generated error message
# Aug 9th 2008, 20:47 Spoom ?
# Aug 9th 2008, 20:47 kalileo nice cake error
# Aug 9th 2008, 20:46 Spoom ajax*
# Aug 9th 2008, 20:46 kalileo oh I see
# Aug 9th 2008, 20:46 Spoom obviously the non-ajas links work :^)
# Aug 9th 2008, 20:46 Spoom like 2 or next
# Aug 9th 2008, 20:46 kalileo works
# Aug 9th 2008, 20:46 Spoom a page link
# Aug 9th 2008, 20:46 Spoom no
# Aug 9th 2008, 20:46 kalileo such as "view"?
# Aug 9th 2008, 20:45 Spoom and then click a link in the pages