# |
Jul 25th 2018, 09:46 |
portilloster |
Better explanation: With a `get()` query I can load the variable easy in the view and dig on it using `->`. But with `find()` I´m having troubles because with the results is not that easy. |
# |
Jul 25th 2018, 09:46 |
portilloster |
Morning!! This may be a silly question but. How do you get an entity as a result using `find()` on a query instead of `get()`? |
# |
Jul 25th 2018, 09:31 |
mr.mjsm |
@dereuromark thanks |
# |
Jul 25th 2018, 09:29 |
mr.mjsm |
there is a reason I got 'D' on database course i guess :man-walking: |
# |
Jul 25th 2018, 09:28 |
mr.mjsm |
ooookaaay |
# |
Jul 25th 2018, 09:26 |
dereuromark |
from etc are sure reserved keywords in myql |
# |
Jul 25th 2018, 09:26 |
mr.mjsm |
i changed 'quoteIdentifiers' to true, now it is working. may I know the reason? |
# |
Jul 25th 2018, 09:22 |
mr.mjsm |
not working |
# |
Jul 25th 2018, 09:22 |
mr.mjsm |
deleted every cache, even my browser cache |
# |
Jul 25th 2018, 09:19 |
karthikeyan |
delete all the fies and try |
# |
Jul 25th 2018, 09:19 |
karthikeyan |
tmp\cache\models |
# |
Jul 25th 2018, 09:19 |
karthikeyan |
tmp\cache\persistent |
# |
Jul 25th 2018, 09:18 |
karthikeyan |
@mr.mjsm please try to clear the cache and try again |
# |
Jul 25th 2018, 09:15 |
mr.mjsm |
i didn't change anything in the code, i don't know what's went wrong ! |
# |
Jul 25th 2018, 09:15 |
mr.mjsm |
guys, i made a table in the database then baked that table and when I tried to add a record in it I got this message " Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'from, RFQ_id, is_awrded) VALUES ('me@me.me', 1, 1)' at line 1 " |
# |
Jul 25th 2018, 08:55 |
josbeir |
especially gitlab's one |
# |
Jul 25th 2018, 08:55 |
josbeir |
@neon1024 looks like the new dashboard is in line with the 'other' hosted scm tools out there |
# |
Jul 25th 2018, 08:51 |
wyrihaximus |
I' |
# |
Jul 25th 2018, 08:49 |
neon1024 |
So who likes the new Github dashboard? I quite like it, even if the two column layout feels a bit old school |
# |
Jul 25th 2018, 08:48 |
neon1024 |
@dereuromark I thought that only Maria DB 10.x releases were drop-in compatible with MySQL |
# |
Jul 25th 2018, 08:44 |
josbeir |
morning! |
# |
Jul 25th 2018, 08:42 |
neon1024 |
Morning all |
# |
Jul 25th 2018, 08:31 |
dereuromark |
Everyone uses it already :slightly_smiling_face: So it works just fine |
# |
Jul 25th 2018, 08:31 |
dereuromark |
MariaDB is basically MySQL |
# |
Jul 25th 2018, 08:29 |
thuyhyvg |
https://book.cakephp.org/2.0/en/models/datasources.html |
# |
Jul 25th 2018, 08:29 |
thuyhyvg |
Here's nothing about supporting MariaDB in Cakephp 2.x. |
# |
Jul 25th 2018, 08:12 |
karthikeyan |
what about MangoDB or nosql? |
# |
Jul 25th 2018, 08:05 |
karthikeyan |
vendor\cakephp\cakephp\src\Datasource\Paginator.php |
# |
Jul 25th 2018, 08:00 |
admad |
why not? |
# |
Jul 25th 2018, 07:58 |
thuyhyvg |
@admad I can't connect to MariaDB. |
# |
Jul 25th 2018, 07:55 |
turkles |
Thanks, that was a great list - I ruled them all out then deleted the orm_cache and realised I'm a fool :slightly_smiling_face: |
# |
Jul 25th 2018, 07:55 |
admad |
@thuyhyvg you should be able to use the mysql driver for mariadb |
# |
Jul 25th 2018, 07:53 |
karthikeyan |
@admad thank you :slightly_smiling_face: |
# |
Jul 25th 2018, 07:51 |
thuyhyvg |
Does cakephp 2.10 support mariadb? |
# |
Jul 25th 2018, 07:51 |
thuyhyvg |
Hello |
# |
Jul 25th 2018, 06:57 |
admad |
Index action of Crud uses pagination, so either use your own action without pagination or a hackish way would be to set pagination limit to a very high value using Crud.beforePaginate event |
# |
Jul 25th 2018, 06:54 |
karthikeyan |
how can i disable it? |
# |
Jul 25th 2018, 06:54 |
karthikeyan |
The Export happening based on pagination. |
# |
Jul 25th 2018, 06:53 |
karthikeyan |
with Friendsofcake Crud |
# |
Jul 25th 2018, 06:53 |
karthikeyan |
I am using this plugin to export CSV(https://github.com/FriendsOfCake/cakephp-csvview) |
# |
Jul 25th 2018, 06:53 |
karthikeyan |
Dear Friends, |