# |
Apr 29th 2017, 17:10 |
loginews |
users.param_id is equal to 1 for all records |
# |
Apr 29th 2017, 17:10 |
loginews |
there I have one field param.ADDRESS1 which has to be simultaneously updated. |
# |
Apr 29th 2017, 17:09 |
loginews |
If you get in, click on the toolbox icon... it will edit the Users table. |
# |
Apr 29th 2017, 17:07 |
loginews |
the codes are here: https://gist.github.com/loginews/78dbc099fe1689332c299002d361f472 |
# |
Apr 29th 2017, 17:07 |
loginews |
correct: http://erp.loginonline.net/execlub/businessaccounting |
# |
Apr 29th 2017, 17:06 |
chris-andre |
Right. So when you update a record, a record in an associated table is created. |
# |
Apr 29th 2017, 17:01 |
loginews |
otherwise my cakephp app is working. |
# |
Apr 29th 2017, 17:01 |
loginews |
either there is no effect, or a record is added in the associated table. |
# |
Apr 29th 2017, 17:00 |
loginews |
I have spent the day understanding this hasOne ... could not make it work. |
# |
Apr 29th 2017, 16:59 |
loginews |
a record in a table |
# |
Apr 29th 2017, 16:57 |
chris-andre |
Editing a table or editing record in a table? |
# |
Apr 29th 2017, 16:49 |
loginews |
why would editing a table insert a record in an associated table ? |
# |
Apr 29th 2017, 16:41 |
chris-andre |
:$ |
# |
Apr 29th 2017, 16:41 |
loginews |
@chris-andre Bravo. |
# |
Apr 29th 2017, 16:40 |
chris-andre |
Haha, feels so stupid. Added `use DatePeriod; ` before the class, now DatePeriod works. Didn't realize before now that ArrayObject is an php class. |
# |
Apr 29th 2017, 16:35 |
chris-andre |
Is it a Chronos function to create an array of dates between two dates? I didn't find it in the api. I have looked at the php DatePeriod class, but I don't get it to work. |
# |
Apr 29th 2017, 16:00 |
loginews |
Who can help me with the issue I had raised earlier today ? |
# |
Apr 29th 2017, 15:58 |
joop |
okey thank you slackebot1 |
# |
Apr 29th 2017, 15:58 |
loginews |
@joop I saw your question. I don't know the answer. I have questions too! |
# |
Apr 29th 2017, 15:58 |
dereuromark |
be more specific |
# |
Apr 29th 2017, 15:57 |
joop |
how can i acces variable which decalreted in BeforeRender in controller? |
# |
Apr 29th 2017, 15:57 |
joop |
sorry but i still not found answer to my question |
# |
Apr 29th 2017, 15:57 |
joop |
hello |
# |
Apr 29th 2017, 15:45 |
admad |
:+1: |
# |
Apr 29th 2017, 15:13 |
flashios09 |
@admad thanks it works now |
# |
Apr 29th 2017, 15:05 |
admad |
You think? |
# |
Apr 29th 2017, 15:02 |
flashios09 |
> You are missing pdo_mysql extension for php @admad this is for me ? |
# |
Apr 29th 2017, 15:02 |
rudy1976s |
I was trying to understand if it possible to add an event to a model instead of create a class for handling implemented events , as described in the cookbook |
# |
Apr 29th 2017, 15:01 |
rudy1976s |
ah I fixed it |
# |
Apr 29th 2017, 15:01 |
admad |
You are missing pdo_mysql extension for php |
# |
Apr 29th 2017, 14:59 |
loginews |
@flashios09 is it on a live site which I can see ? |
# |
Apr 29th 2017, 14:59 |
flashios09 |
does i have to install something like this **php7.1-mysql** ? |
# |
Apr 29th 2017, 14:58 |
flashios09 |
php7.1 |
# |
Apr 29th 2017, 14:58 |
flashios09 |
i’m using nginx + php + mariadb |
# |
Apr 29th 2017, 14:57 |
loginews |
@flashios09 I haven't used mariadb, but such difficulties are normal. You have to try to test the connection between php and mysql directly first. Then if it works, you have to check the configuration in cake's app.php found in the config folder. |
# |
Apr 29th 2017, 14:55 |
flashios09 |
i installed mysql(mariadb) |
# |
Apr 29th 2017, 14:55 |
flashios09 |
i didn’t test the connection to mysql before |
# |
Apr 29th 2017, 14:55 |
loginews |
@flashios09 and it connects to mysql ? |
# |
Apr 29th 2017, 14:54 |
flashios09 |
yes |
# |
Apr 29th 2017, 14:54 |
loginews |
@flashios09 can you run php scripts directly without using cake? |
# |
Apr 29th 2017, 14:54 |
loginews |
@flashios09 php needs some extensions loaded to use certain options |