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
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
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
$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
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,
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
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
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
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 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'));
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
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
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
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
14 matches
Mail list logo