# |
Dec 11th 2017, 07:21 |
yadav.manu36 |
File uploaded https://cakesf.slack.com/files/U83JZGBTR/F8CHMJHKL/cakephp.png / https://slack-files.com/T053DPNCM-F8CHMJHKL-b74f5f3429 - Today I have faced Fatal error. i am only refresh page then the fatal error auto coming. what the reason of this error. please let me know about this error |
# |
Dec 11th 2017, 06:22 |
ra7bi |
how i can convert `$this->request->data['start_date']` Array to `string` |
# |
Dec 11th 2017, 03:28 |
night_wulfe |
Nevermind. I literally just saw I have to specify it in the scope() statement. |
# |
Dec 11th 2017, 03:26 |
night_wulfe |
No takers? |
# |
Dec 11th 2017, 01:14 |
night_wulfe |
I'm looking for something like $routes->resources('Picklists', [ 'plugin' => 'MyPlugin' ]) |
# |
Dec 11th 2017, 01:14 |
night_wulfe |
The only way I can see to do it is to rebuild all six routes using the map option and specify the plugin name there. |
# |
Dec 11th 2017, 01:14 |
night_wulfe |
Hello. I'm trying to create a route from a plugin. The plugin is meant to provide a JSON REST API to my application. I'm trying to use $route->resources(). Using route shell, I can see the routes get generated, but I can't figure out how to easily tell resources that the routes should be handled by the api plugin. |
# |
Dec 11th 2017, 00:23 |
joopm |
write a small filescan and type by self its could be the same time :) |
# |
Dec 11th 2017, 00:23 |
dereuromark |
Or you can steal the IdeHelpers method to retrieve list of controllers :slightly_smiling_face: |
# |
Dec 11th 2017, 00:23 |
dereuromark |
App class might have some convenience methods here though |
# |
Dec 11th 2017, 00:22 |
dereuromark |
and why not just doing the filescan then? small shell to write. |
# |
Dec 11th 2017, 00:22 |
joopm |
about |
# |
Dec 11th 2017, 00:22 |
joopm |
i need to write a description aver the cakeproject |
# |
Dec 11th 2017, 00:21 |
dereuromark |
why is that relevant? |
# |
Dec 11th 2017, 00:20 |
joopm |
cake console |
# |
Dec 11th 2017, 00:20 |
joopm |
is there a way to listall controllers without making a filescan and additional substr commands |
# |
Dec 11th 2017, 00:18 |
joopm |
hello there |
# |
Dec 10th 2017, 22:56 |
dereuromark |
I guess it is just the search bot after all which made up all kind of things. |
# |
Dec 10th 2017, 22:51 |
dereuromark |
I always wondered why my logs show so much 404s in a 2.x app. Does anyone else have this bug that if someone requests /index.php directly, that all links have some prefix /page/... ? Thus search engines then try to follow those invalid ones? |
# |
Dec 10th 2017, 22:14 |
dereuromark |
If we introduce a new method here it could even be sth for 3.6. Seems like the easiest way |
# |
Dec 10th 2017, 22:06 |
saeideng |
https://github.com/cakephp/cakephp/issues/11524 |
# |
Dec 10th 2017, 22:05 |
saeideng |
can you give me opened issue related to this ? |
# |
Dec 10th 2017, 21:55 |
dereuromark |
Did anyone keep the old syntax via config and had some good or better experience with it? |
# |
Dec 10th 2017, 21:54 |
dereuromark |
Now you have to duplicate some, since a few use sprintf() and others __() inside code |
# |
Dec 10th 2017, 21:54 |
dereuromark |
Does anyone else think it was a bad idea to move from %s to {0...n} placeholders for i18n? |
# |
Dec 10th 2017, 18:59 |
dereuromark |
basic server 1:1 |
# |
Dec 10th 2017, 18:59 |
dereuromark |
guest: you need to also restart php and apache/nginx etc |
# |
Dec 10th 2017, 18:32 |
bravo-kernel |
Has the .env check in bootstrap been turned of for performance reasons? I found it odd .env did not work directly, overlooked the comment. |
# |
Dec 10th 2017, 18:28 |
Guest24244 |
https://pastebin.com/V1KTa10M |
# |
Dec 10th 2017, 18:26 |
Guest24244 |
required ext intl *] |
# |
Dec 10th 2017, 18:26 |
Guest24244 |
but still composer showing me error like |
# |
Dec 10th 2017, 18:26 |
Guest24244 |
i need your help .. i installed php intl extention and also mb string |
# |
Dec 10th 2017, 18:06 |
Guest24244 |
its centos |
# |
Dec 10th 2017, 18:03 |
saeideng |
`sudo apt-get install all-required-package --package=cakephp-app` |
# |
Dec 10th 2017, 18:00 |
dereuromark |
also curl and sqlite is recommended. |
# |
Dec 10th 2017, 18:00 |
dereuromark |
same thing on ubuntu and co: php7.1-mbstring |
# |
Dec 10th 2017, 17:58 |
admad |
it is |
# |
Dec 10th 2017, 17:57 |
Guest24244 |
also command to install php mbstring .. or its not required ? |
# |
Dec 10th 2017, 17:57 |
Guest24244 |
:d you guys rock |
# |
Dec 10th 2017, 17:56 |
admad |
and if you have a choice switch to debian/ubuntu :slightly_smiling_face: |
# |
Dec 10th 2017, 17:56 |
dereuromark |
Google is your friend. I for example only know debian and linux: `sudo apt-get install php7.1-intl` ;) |