Re: Strange cakePHP

2009-05-18 Thread Aivaras
Hey, if you want to use Auth info in your views it is very simple. Try this in your view: pr($session->read('Auth.User')); //assuming User is your login model, otherwise try pr($session->read('Auth')); Hope you find this handy, Faifas On Mon, May 18, 2009 at 12:59, Marojahan M.T. Sigiro wrote:

Strange cakePHP

2009-05-18 Thread Marojahan M.T. Sigiro
hi guys... a view days ago as far as i know, my code ran well i try to set a variable in custom app_controller class $this->set('Auth',$this->Auth->user()); i did this because i plan to use that variable in views. mybe like print_r($Auth) now my code display warning that says.. *Notice* (8) :

Re: Strange CakePHP Issue

2007-03-05 Thread mehodgson
Ah...I see now. I'll give that a try. Hopefully it will do the trick. Thanks. On Mar 5, 12:00 pm, "AD7six" <[EMAIL PROTECTED]> wrote: > On Mar 5, 8:57 pm, "mehodgson" <[EMAIL PROTECTED]> wrote: > > > We are only caching Static pages, so none of the dynamic pages are > > cached. Would the mode

Re: Strange CakePHP Issue

2007-03-05 Thread Walker Hamilton
no no nothe models cache. models are cached in the folder xhoch2 gave if the debug level is set to 0. On Mar 5, 1:57 pm, "mehodgson" <[EMAIL PROTECTED]> wrote: > We are only caching Static pages, so none of the dynamic pages are > cached. Would the models be cached regardless? > > On Mar 5,

Re: Strange CakePHP Issue

2007-03-05 Thread AD7six
On Mar 5, 8:57 pm, "mehodgson" <[EMAIL PROTECTED]> wrote: > We are only caching Static pages, so none of the dynamic pages are > cached. Would the models be cached regardless? > > On Mar 5, 11:37 am, "xhoch2" <[EMAIL PROTECTED]> wrote: > > > Have you empty the cache after moving your work (tmp/

Re: Strange CakePHP Issue

2007-03-05 Thread mehodgson
We are only caching Static pages, so none of the dynamic pages are cached. Would the models be cached regardless? On Mar 5, 11:37 am, "xhoch2" <[EMAIL PROTECTED]> wrote: > Have you empty the cache after moving your work (tmp/cache/models)? --~--~-~--~~~---~--~~

Re: Strange CakePHP Issue

2007-03-05 Thread xhoch2
Have you empty the cache after moving your work (tmp/cache/models)? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe fr

Strange CakePHP Issue

2007-03-05 Thread mehodgson
I have a site I've developed that is having some strange problems. I have a development version and a live version running on the same server: dev.(site).com and www.(site).com. When I develop new features for the site I create them on dev and test until they are stable. The problem is when I