# |
Jan 30th 2014, 00:48 |
Fatalnix |
thanks todds ! |
# |
Jan 30th 2014, 00:48 |
BackEndCoder |
yo |
# |
Jan 30th 2014, 00:47 |
Starcraftmazter |
BackEndCoder: yo you there |
# |
Jan 30th 2014, 00:47 |
Fatalnix |
Ah |
# |
Jan 30th 2014, 00:47 |
todds |
fatalnix: Check out app/Config/core.php -- there's a line commented out "date_default_timezone_set()" uncomment it and specify a default timezone. |
# |
Jan 30th 2014, 00:44 |
charnel |
Hi I am trying to use the ACL component in my application. But my problem is when I define permissions in the db for my local they are not active in the remote when I deploy. What is the best practice for managing permissions ? |
# |
Jan 30th 2014, 00:42 |
Fatalnix |
I just extracted cakephp somewhere to do some testing and I'm getting the following message: http://pastie.org/8680374 .. The thing is, I went there and saw nothing interesting. I guess I'm not quite sure what it's asking since I haven't used PHP in a long time, and I'm a Perl programmer now XD |
# |
Jan 30th 2014, 00:15 |
Starcraftmazter |
in cake2 i think |
# |
Jan 30th 2014, 00:15 |
Starcraftmazter |
i think now its crashing |
# |
Jan 30th 2014, 00:15 |
Starcraftmazter |
and/or specifiers |
# |
Jan 30th 2014, 00:15 |
Starcraftmazter |
how do i use prepared queries |
# |
Jan 30th 2014, 00:15 |
Starcraftmazter |
if im doing $this->query() from a model |
# |
Jan 30th 2014, 00:15 |
Starcraftmazter |
hi |
# |
Jan 29th 2014, 23:48 |
daVinciWanaB |
is there a trick to being able to use Configure::read within a component? |
# |
Jan 29th 2014, 23:36 |
daVinciWanaB |
is there a trick to being able to use Configure::read within a component? |
# |
Jan 29th 2014, 22:35 |
Hippo |
thanks, same to you :) |
# |
Jan 29th 2014, 22:25 |
m0dmd |
Hope you're all doing spectacular! |
# |
Jan 29th 2014, 22:25 |
Hippo |
) |
# |
Jan 29th 2014, 22:25 |
m0dmd |
hi Hippo!!! |
# |
Jan 29th 2014, 22:25 |
Hippo |
hello m0dmd |
# |
Jan 29th 2014, 22:24 |
m0dmd |
hello everyone. |
# |
Jan 29th 2014, 22:21 |
jks |
it seems to be the check for the Crud.Crud component in invokeAction() that fails |
# |
Jan 29th 2014, 22:20 |
jks |
trying to use the friendsofcake/crud plugin and followed their installation guide for PHP <= 5.3, but I'm ending up with "Missing Method" for for example the index action.. anyone can lend a hint? |
# |
Jan 29th 2014, 21:51 |
todds |
such a bossy bot |
# |
Jan 29th 2014, 21:50 |
lukasstr |
!bin |
# |
Jan 29th 2014, 21:46 |
star_prone |
<?php echo $this->Form->checkbox('CityJob.city_id', array('value' => $city_id, 'hiddenField' => false, 'label'=>'test'), array('legend' => $city))?> |
# |
Jan 29th 2014, 21:46 |
FreefallGeek |
Will do. |
# |
Jan 29th 2014, 21:45 |
ten1 |
but before we talk, you might want to read the chapter of the cake book on relations |
# |
Jan 29th 2014, 21:45 |
ten1 |
let's talk foreign keys and relations |
# |
Jan 29th 2014, 21:45 |
ten1 |
'dependencies' is loose terminology |
# |
Jan 29th 2014, 21:44 |
FreefallGeek |
The problem I see there is that you then have to update dependancies in both models anytime an association is changed |
# |
Jan 29th 2014, 21:43 |
ten1 |
FreefallGeek: both would be preferred |
# |
Jan 29th 2014, 21:42 |
FreefallGeek |
Or do you define them both ways, so that User has a collection of associated Players? |
# |
Jan 29th 2014, 21:41 |
FreefallGeek |
Do you define dependancies just in the child object? For instance, Player object contains UserID field with corresponding User ID |
# |
Jan 29th 2014, 21:41 |
todds |
optimator: i think it should be ('phpgrcode', 'Lib') -- i'm not 100% on that though. |
# |
Jan 29th 2014, 21:41 |
FreefallGeek |
If you have two objects which are dependant on one another, for instance a User objet and a Player object |
# |
Jan 29th 2014, 21:40 |
BackEndCoder |
afternoon |
# |
Jan 29th 2014, 21:40 |
FreefallGeek |
Afternoon all. |
# |
Jan 29th 2014, 21:39 |
optimator |
humm, it's not because if I fubar the file name I don't get an error |
# |
Jan 29th 2014, 21:39 |
BackEndCoder |
you can always enter a label manually and disable the default label |
# |
Jan 29th 2014, 21:39 |
BackEndCoder |
show me some code star_prone |