Re: shared host setup

2009-12-11 Thread Piotr Kilczuk
Hello,

> No such luck!
>
> Any ideas ?

As for me, no...

What I'd do is track which exact case causes that empty var. It might
be some buggy component for instance. But no idea why that component
works on you test environment...

If you have totally no idea what is going on, feel free to drop me an
e-mail with your packed application. Unless it's too secret, of course
:)

Regards,
Piotr

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


Re: shared host setup

2009-12-10 Thread slippy
No such luck!

Any ideas ?

Thanks

Alex

On Dec 9, 10:00 pm, Piotr Kilczuk  wrote:
> Hi,
>
> > worked it out.
>
> > heres the code i added
>
> > Debugger::dump($component);
> > Debugger::dump($object);
> > Debugger::dump($parent);
>
> So is your project working now?
>
> Regards,
> Piotr

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


Re: shared host setup

2009-12-09 Thread Piotr Kilczuk
Hi,

> worked it out.
>
> heres the code i added
>
> Debugger::dump($component);
> Debugger::dump($object);
> Debugger::dump($parent);

So is your project working now?

Regards,
Piotr

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


Re: shared host setup

2009-12-09 Thread slippy
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  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  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  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.comFor
> > >  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


Re: shared host setup

2009-12-09 Thread slippy
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  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  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.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 cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.comFor
> >  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


Re: shared host setup

2009-12-08 Thread Dave
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  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 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.comFor
>  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


Re: shared host setup

2009-12-08 Thread Piotr Kilczuk
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 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


Re: shared host setup

2009-12-06 Thread slippy
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.

Any other ideas ?

thanks

On Dec 5, 5:38 pm, Piotr Kilczuk  wrote:
> Hello,
>
> > I am trying to put a site on a shared host. after copying the code on
> > the server and editing the htaccess files the default cake page says
> > everything is ok.
>
> > but as soon as i try to access my controllers i get
>
> > Fatal error: Cannot access empty property in public_html/cake/libs/
> > controller/component.php on line 248
>
> > any ideas ?
>
> Are you sure the cache is cleared so that the paths get updated?
>
> It is essential when the debug mode is set to 0 and you are migrating
> from one environment to another...
>
> Regards,
> Piotr

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


Re: shared host setup

2009-12-05 Thread Piotr Kilczuk
Hello,

> I am trying to put a site on a shared host. after copying the code on
> the server and editing the htaccess files the default cake page says
> everything is ok.
>
> but as soon as i try to access my controllers i get
>
>
> Fatal error: Cannot access empty property in public_html/cake/libs/
> controller/component.php on line 248
>
> any ideas ?

Are you sure the cache is cleared so that the paths get updated?

It is essential when the debug mode is set to 0 and you are migrating
from one environment to another...

Regards,
Piotr

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