# |
Nov 27th 2017, 06:19 |
admad |
or copy |
# |
Nov 27th 2017, 06:18 |
admad |
you have to rename it to .env |
# |
Nov 27th 2017, 06:09 |
Guest95639 |
Hi guys. I am having problems accessing the variable in my .env.default file through the function env(). How do I get the variable value in .env.default file? |
# |
Nov 26th 2017, 22:12 |
JD-Robbs |
And if HTML, how are you looking at it? Source or rendered? ;D |
# |
Nov 26th 2017, 22:11 |
JD-Robbs |
joopm, what are you rendering - HTML or plain text? |
# |
Nov 26th 2017, 20:43 |
wodzy |
Hi i have this error : Error: Mysql driver is NOT enabled but i have MariaDB in my VirtualBox |
# |
Nov 26th 2017, 20:08 |
joopm |
how can i do that? |
# |
Nov 26th 2017, 20:08 |
joopm |
treeList return the id,but i would like to use the associated Model's name field |
# |
Nov 26th 2017, 20:07 |
joopm |
is anyone who would answer to my question that realted to TreeBehaviour |
# |
Nov 26th 2017, 20:07 |
joopm |
hello all |
# |
Nov 26th 2017, 18:38 |
joopm |
also "\n" either not works |
# |
Nov 26th 2017, 18:38 |
joopm |
is anyone who can tell me echo $var."\r\n" doesn not make a new line |
# |
Nov 26th 2017, 17:02 |
raul338 |
and the tree behaviour requires left, rigth and parent_id (which you already have) |
# |
Nov 26th 2017, 17:02 |
raul338 |
parent_id can be null (first parent) |
# |
Nov 26th 2017, 17:01 |
raul338 |
it has nothing to do |
# |
Nov 26th 2017, 16:43 |
joopm |
and primary key not |
# |
Nov 26th 2017, 16:43 |
joopm |
oh but wait i can not make the key in mysql because parent_id has default null |
# |
Nov 26th 2017, 16:41 |
joopm |
association |
# |
Nov 26th 2017, 16:41 |
joopm |
so make no any mistake if i have the parent_id with self associon |
# |
Nov 26th 2017, 16:41 |
joopm |
for other reasoni need the parent_id,because the user can select the parent |
# |
Nov 26th 2017, 16:39 |
raul338 |
You only have to add the left and right columns |
# |
Nov 26th 2017, 16:38 |
joopm |
will this not make any issue? |
# |
Nov 26th 2017, 16:38 |
joopm |
if i would like to use the treebehaviour? |
# |
Nov 26th 2017, 16:38 |
joopm |
can i have a self association with parent_id |
# |
Nov 26th 2017, 16:37 |
joopm |
is anyone tell me that |
# |
Nov 26th 2017, 16:37 |
joopm |
hello all |
# |
Nov 26th 2017, 12:39 |
Jebrini |
Hi |
# |
Nov 26th 2017, 10:34 |
birdy247 |
Morning |
# |
Nov 25th 2017, 23:22 |
joopm |
Argument 1 passed to Cake\ORM\Table::save() must implement interface Cake\Datasource\EntityInterface, array given |
# |
Nov 25th 2017, 23:22 |
joopm |
but now i get error |
# |
Nov 25th 2017, 23:22 |
joopm |
fileUpload(Entity->AssociationofEntity) |
# |
Nov 25th 2017, 23:21 |
joopm |
the problem is that i want to call this like: |
# |
Nov 25th 2017, 23:21 |
joopm |
fileupload(Entity).. |
# |
Nov 25th 2017, 23:21 |
joopm |
its get an entity as for parameter |
# |
Nov 25th 2017, 23:20 |
joopm |
i wrote a fileupload function in the AppController |
# |
Nov 25th 2017, 23:20 |
joopm |
i faced with the following |
# |
Nov 25th 2017, 23:19 |
joopm |
hello |
# |
Nov 25th 2017, 22:15 |
joopm |
oh i see,thank you for your help |
# |
Nov 25th 2017, 22:04 |
dereuromark |
you would use new if that record is not yet saved |
# |
Nov 25th 2017, 22:04 |
dereuromark |
joopm: patch is about adding sth to an existing entity (e.g. from DB) |
# |
Nov 25th 2017, 22:01 |
joopm |
i am confused becasue newEntity can also have 'associated'=>....... |