Problem with MS SQL Server (created and modified fields)

2013-01-08 Thread carlos . marcosr
Hi, i'm new at cakephp, and i've a problem with MSSQL and created/modified fields I did the blog example in mysql without problems. Now, i try to do the same in mssql server and it doesn't work properly. I created the table: CREATE TABLE [enqDocencia].[posts]( [id] [int] IDENTITY(1,1

created and modified fields with microsoft sql server

2013-01-08 Thread carlos . marcosr
Hi, i'm new at cakephp, and i've a problem with MSSQL and created/modified fields I did the blog example in mysql without problems. Now, i try to do the same in mssql server and it doesn't work properly. I created the table: CREATE TABLE [enqDocencia].[posts]( [id] [int] IDENTITY(1,1

Re: created and modified fields with microsoft sql server

2013-01-08 Thread OJ Tibi - @ojtibi
Can you kindly paste your CakePHP code that does the insert? :) On Tuesday, January 8, 2013 11:51:15 PM UTC+8, carlos@gmail.com wrote: Hi, i'm new at cakephp, and i've a problem with MSSQL and created/modified fields I did the blog example in mysql without problems. Now, i try to do

Re: Problem in save Data into DB and with Created and modified fields.

2010-08-10 Thread Jeremy Burns | Class Outfit
$this-ModelName-create() [[NB NOT created ]] does exactly what it says it will; it creates a new record. In any event, your two blocks of code are different; one has a create statement, the other does not. What you should check is whether there is an id element in your data array. If there is

Re: Problem in save Data into DB and with Created and modified fields.

2010-08-10 Thread Techinfocomp.com
sorry that was $this-User-create(); You are right if my data array contain ID then it will update. i checked i never pass any id i am creating new user but with $this- ModelName-save($this-data); upade my 1st record. in cakePHP 1.3.3 version :( why is this happening ? On Aug 10, 11:09 am,

Problem in save Data into DB and with Created and modified fields.

2010-08-09 Thread Techinfocomp.com
Hi, i am using 1.3.3 stable version. i am heaving problem with this version. let take an example:- if i do this $this-ModelName-save($this-data); this link will update my 1st row every time i run this. but if i do this $this-ModelName-created(); $this-ModelName-save($this-data); this

modify created and modified fields in scaffold views

2009-06-11 Thread JuergenRiemer
Is there an elegant way to make the two fields created and modified visible/editable in scaffold views? thx sorry for a repost but the first one seemed to have vanished somehow. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: modify created and modified fields in scaffold views

2009-06-11 Thread brian
On Thu, Jun 11, 2009 at 9:46 AM, JuergenRiemerjuergen.rie...@gmail.com wrote: Is there an elegant way to make the two fields created and modified visible/editable in scaffold views? thx sorry for a repost but the first one seemed to have vanished somehow. You can change the templates Cake

modify created and modified fields in scaffold views

2009-06-09 Thread JuergenRiemer
Is there a quick way to make the two fields created and modified visible/editable in scaffold views? thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php

Translate Behavior should handle a created and modified fields

2009-03-28 Thread esezako
Translate Behavior should make the creation and modification dates of the translations automatically, as is done in a model without this behavior. I expected this feature only writing this in the model: var $actsAs = array('Translate' = array ('translate_field','created','modified'));

created and modified fields with SQL Server 2000

2007-02-21 Thread fire
Hi all! In reply to an old thread that I found (couldn´t answer there, just send it to the author?). I think this could help others running CakePHP against SQL Server 2000: I know that this thread is quite old, but I just had the same problem on Windows Server 2003 and SQL Server 2000. Create

Re: created and modified fields

2006-05-02 Thread saavedrajj
nothing... even with the new cake release, created es a DATETIME type and there no files at tmp/cache/models, it's weird becuase it only happens with my database, i made the blog tutorial and created and modified fields works fine. --~--~-~--~~~---~--~~ You

Re: created and modified fields

2006-05-02 Thread saavedrajj
nothing... even with the new cake release, created es a DATETIME type and there no files at tmp/cache/models, it's weird becuase it only happens with my database, i made the blog tutorial and created and modified fields works fine. --~--~-~--~~~---~--~~ You

created and modified fields

2006-05-01 Thread saavedrajj
Hi, according to the CakePHP manual, when we add these fields on our database tables, we add some extra cakePHP funcionality in order to update the values of these fields with our intervention, I added these fields in my tables but CakePHP only update correctly the modified field, the created