worked it out.

heres the code i added

Debugger::dump($component);
Debugger::dump($object);
Debugger::dump($parent);

output:

"Session"

UsersController
UsersController::$name = "Users"
UsersController::$helpers = array
UsersController::$components = array
UsersController::$here = "/~ha721/users"
UsersController::$webroot = "/~ha721/"
UsersController::$action = "index"
UsersController::$uses = false
UsersController::$params = array
UsersController::$data = NULL
UsersController::$paginate = array
UsersController::$viewPath = "users"
UsersController::$layoutPath = NULL
UsersController::$viewVars = array
UsersController::$pageTitle = false
UsersController::$modelNames = array
UsersController::$base = "/~ha721"
UsersController::$layout = "default"
UsersController::$autoRender = true
UsersController::$autoLayout = true
UsersController::$Component = Component object
UsersController::$view = "View"
UsersController::$ext = ".ctp"
UsersController::$output = NULL
UsersController::$plugin = NULL
UsersController::$cacheAction = false
UsersController::$persistModel = false
UsersController::$passedArgs = array
UsersController::$scaffold = false
UsersController::$methods = array
UsersController::$modelClass = "User"
UsersController::$modelKey = "user"
UsersController::$validationErrors = NULL
UsersController::$_log = NULL
UsersController::$Session = SessionComponent object

null

"Auth"

UsersController
UsersController::$name = "Users"
UsersController::$helpers = array
UsersController::$components = array
UsersController::$here = "/~ha721/users"
UsersController::$webroot = "/~ha721/"
UsersController::$action = "index"
UsersController::$uses = false
UsersController::$params = array
UsersController::$data = NULL
UsersController::$paginate = array
UsersController::$viewPath = "users"
UsersController::$layoutPath = NULL
UsersController::$viewVars = array
UsersController::$pageTitle = false
UsersController::$modelNames = array
UsersController::$base = "/~ha721"
UsersController::$layout = "default"
UsersController::$autoRender = true
UsersController::$autoLayout = true
UsersController::$Component = Component object
UsersController::$view = "View"
UsersController::$ext = ".ctp"
UsersController::$output = NULL
UsersController::$plugin = NULL
UsersController::$cacheAction = false
UsersController::$persistModel = false
UsersController::$passedArgs = array
UsersController::$scaffold = false
UsersController::$methods = array
UsersController::$modelClass = "User"
UsersController::$modelKey = "user"
UsersController::$validationErrors = NULL
UsersController::$_log = NULL
UsersController::$Session = SessionComponent object
UsersController::$Auth = AuthComponent object

null

thanks, Alex

On Dec 9, 11:00 am, slippy <handle...@gmail.com> wrote:
> hi,
>
> its cake 1.2.5 and Apache/1.3.34 (Unix) PHP/5.0.5 mod_ssl/2.8.25
> OpenSSL/0.9.7e
>
> I tried to dump() but not sure where or what to add ?
>
> Thanks
>
> Alex
>
> On Dec 8, 12:47 pm, Dave <davidcr...@gmail.com> wrote:
>
> > What version of php is on your server and which core are you using.
>
> > On Tue, Dec 8, 2009 at 7:33 AM, Piotr Kilczuk <kilc...@gmail.com> wrote:
> > > Hello,
>
> > > > Thanks for your reply, i have cleared the cache and tired setting
> > > > debug to 0 but the error is still there but not showed because debug
> > > > is set too zero.
>
> > > I haven't seen such a bug yet :)
>
> > > What I'd do, is dig into the Cake core a little.
>
> > >http://api.cakephp.org/view_source/component/#line-248
> > > 248      if (isset($object->{$component}->components) &&
> > > is_array($object->{$component}->components) &&
> > > (!isset($object->{$component}->{$parent}))) {
> > > 249     $this->_loadComponents($object->{$component}, $component);
> > > 250     }
>
> > > It's either $component or $parent that is empty I guess. Try dumping
> > > that as well as $object with var_dump() to get maximum infos possible.
>
> > > Depending on what you can use - FTP only or console and version
> > > control you have to pick best strategy and debug a little.
>
> > > Hope this helps...
>
> > > Regards,
> > > Piotr
>
> > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 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 cake-php@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
> > >  more options, visit this group at
> > >http://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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to