Re: weird production mode error

2007-05-01 Thread monty

thanks old fart, that works a treat.
I've been doing cake for a while and I still havn't come across the
cache thing.

On May 2, 2:25 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> Have you tried clearing your caches?  and make sure that the whole of
> the tmp directory is writable and has the right layout.  In particular
> you might clear out
>
> tmp/caches/models
>
> in your apps folder
>
> Sam D
>
> On 5/1/07, monty <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > I'm getting a strange problem where if I'm in production mode, a
> > postgresql column called 'keywords' is not getting updated using the
> > $this->Model->save() function. When i'm in debug mode, it works fine.
>
> > A similar problem also happens when I query a certain postgres table
> > called 'offers' with the function $this->Model->findAll();. When in
> > debug mode it works fine, however in production mode it returns false
> > which indicates there must be an error in the findAll function.
>
> > What is the essential difference between debug and production modes
> > (besides error messages) that could help me track down this problem.
>
> > Much appreciated, Simon.
>
> > ps. I have run sql queries directly on the table and works fine. I may
> > have also dropped and recreated the column with the same name but
> > can't remember.
>
> --
> (the old fart) the advice is free, the lack of crankiness will cost you
>
> - its a fine line between a real question and an idiot
>
> http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: weird production mode error

2007-05-01 Thread Samuel DeVore

it should be 'cache' not 'caches'  (working on another project in
another language today and it uses the plural)

Sorry

On 5/1/07, Samuel DeVore <[EMAIL PROTECTED]> wrote:
> Have you tried clearing your caches?  and make sure that the whole of
> the tmp directory is writable and has the right layout.  In particular
> you might clear out
>
> tmp/caches/models
>
> in your apps folder
>
> Sam D
>
> On 5/1/07, monty <[EMAIL PROTECTED]> wrote:
> >
> > I'm getting a strange problem where if I'm in production mode, a
> > postgresql column called 'keywords' is not getting updated using the
> > $this->Model->save() function. When i'm in debug mode, it works fine.
> >
> > A similar problem also happens when I query a certain postgres table
> > called 'offers' with the function $this->Model->findAll();. When in
> > debug mode it works fine, however in production mode it returns false
> > which indicates there must be an error in the findAll function.
> >
> > What is the essential difference between debug and production modes
> > (besides error messages) that could help me track down this problem.
> >
> > Much appreciated, Simon.
> >
> > ps. I have run sql queries directly on the table and works fine. I may
> > have also dropped and recreated the column with the same name but
> > can't remember.
> >
> >
> > > >
> >
>
>
> --
> (the old fart) the advice is free, the lack of crankiness will cost you
>
> - its a fine line between a real question and an idiot
>
> http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>


-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



RE: weird production mode error

2007-05-01 Thread Mariano Iglesias

Did you change the table after you set DEBUG to 0? If so, try deleting the
app/tmp/cache/models files.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de monty
Enviado el: Martes, 01 de Mayo de 2007 01:22 p.m.
Para: Cake PHP
Asunto: weird production mode error

I'm getting a strange problem where if I'm in production mode, a
postgresql column called 'keywords' is not getting updated using the
$this->Model->save() function. When i'm in debug mode, it works fine.


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: weird production mode error

2007-05-01 Thread Samuel DeVore

Have you tried clearing your caches?  and make sure that the whole of
the tmp directory is writable and has the right layout.  In particular
you might clear out

tmp/caches/models

in your apps folder

Sam D

On 5/1/07, monty <[EMAIL PROTECTED]> wrote:
>
> I'm getting a strange problem where if I'm in production mode, a
> postgresql column called 'keywords' is not getting updated using the
> $this->Model->save() function. When i'm in debug mode, it works fine.
>
> A similar problem also happens when I query a certain postgres table
> called 'offers' with the function $this->Model->findAll();. When in
> debug mode it works fine, however in production mode it returns false
> which indicates there must be an error in the findAll function.
>
> What is the essential difference between debug and production modes
> (besides error messages) that could help me track down this problem.
>
> Much appreciated, Simon.
>
> ps. I have run sql queries directly on the table and works fine. I may
> have also dropped and recreated the column with the same name but
> can't remember.
>
>
> >
>


-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



weird production mode error

2007-05-01 Thread monty

I'm getting a strange problem where if I'm in production mode, a
postgresql column called 'keywords' is not getting updated using the
$this->Model->save() function. When i'm in debug mode, it works fine.

A similar problem also happens when I query a certain postgres table
called 'offers' with the function $this->Model->findAll();. When in
debug mode it works fine, however in production mode it returns false
which indicates there must be an error in the findAll function.

What is the essential difference between debug and production modes
(besides error messages) that could help me track down this problem.

Much appreciated, Simon.

ps. I have run sql queries directly on the table and works fine. I may
have also dropped and recreated the column with the same name but
can't remember.


--~--~-~--~~~---~--~~
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 from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---