# |
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, |
# |
Jul 25th 2018, 06:47 |
lubos |
File uploaded https://cakesf.slack.com/files/UBEC23Z6H/FBW8L7EPN/-.php / https://slack-files.com/T053DPNCM-FBW8L7EPN-4cf08e1815 - Something like this, let's see if it works :slightly_smiling_face: |
# |
Jul 25th 2018, 06:40 |
lubos |
I have got association let's say 'whitelist' and I want to use matching with exp->in, but also I want to ignore this condition when whitelist is empty. any good approach? |
# |
Jul 25th 2018, 06:34 |
milanvanas |
Shouldnt be need to, the binary provided to Composer is fine, it works and sees all my app's commands, calling the binary directory works fine as well, I would just like to run my commands through Composer |
# |
Jul 25th 2018, 06:32 |
milanvanas |
It runs fine, except it always exits with 1 |
# |
Jul 25th 2018, 06:32 |
admad |
have you tried running `./Console/cake` from the `app` folder itself? |
# |
Jul 25th 2018, 06:31 |
admad |
hmm or maybe the composer package for cake 2 does.. dont remember |
# |
Jul 25th 2018, 06:31 |
milanvanas |
Yeah it does actually, installed through Composer, Composer will symlink vendor/bin/cake to vendor/cakephp/cakephp/lib/Cake/Console/cake |
# |
Jul 25th 2018, 06:30 |
admad |
cake 2 doesn't have `vendor/bin/cake` there you need to need to run shell from `./Console/cake` |
# |
Jul 25th 2018, 06:30 |
chrisshick |
interesting.. |
# |
Jul 25th 2018, 06:26 |
milanvanas |
Quick question, running the cake console through Composer always exits with `Script vendor/bin/cake -app app handling the cake event returned with error code 1`, even though the commands I run should be interactive. The moment Cake asks for user input, Composer exits. Running cake 2.10.11 |
# |
Jul 25th 2018, 06:24 |
milanvanas |
Hi folks, never knew there was a Slack Channel for Cake, awesome |
# |
Jul 25th 2018, 06:21 |
admad |
unless you have app with hundreds of routes you can just turn it off which any significant performance impact |
# |
Jul 25th 2018, 06:19 |
admad |
@chrisshick it doesn't :slightly_smiling_face: since it route caching uses serialization whatever you use in routes needs to be serializable |
# |
Jul 25th 2018, 04:28 |
chrisshick |
it appears the routes cache doesn't like callables XD |
# |
Jul 25th 2018, 04:27 |
chrisshick |
anyone familiar with the authentication plugin LDAP? |
# |
Jul 25th 2018, 03:23 |
jslamka5685 |
Do I have to do anything to provide a component access to the /config/.env file variables? |
# |
Jul 24th 2018, 22:15 |
a.francazi |
ok i just thought about it and I realized I can just make a scope only for the action I want to activate the middleware in |
# |
Jul 24th 2018, 22:05 |
a.francazi |
can I apply a middleware only to a specific scope or can I also apply it to a specifig ROUTE? Lets say I want to activate csrf middleware only for my user delete action which is under the router $routes->connect('/delete/:id', ['controller' => 'Users', 'action' => 'delete']) |
# |
Jul 24th 2018, 22:01 |
Slown |
everybody is asleep or what ? |
# |
Jul 24th 2018, 22:01 |
Slown |
guys, anyone ? |
# |
Jul 24th 2018, 21:59 |
Slown |
what can you said about that ? |
# |
Jul 24th 2018, 21:59 |
Slown |
I'm hesitating between cake and symfony ? |
# |
Jul 24th 2018, 21:59 |
Slown |
I need your help |
# |
Jul 24th 2018, 21:59 |
Slown |
Hello guys |
# |
Jul 24th 2018, 21:33 |
ricksaccous |
I'll have to take a look at this later |