# |
Dec 6th 2019, 09:22 |
neon1024 |
I noted some learning resources in my Cakefest slides |
# |
Dec 6th 2019, 09:16 |
alexdd55976 |
or sample code? |
# |
Dec 6th 2019, 09:16 |
alexdd55976 |
@neon1024 @noel any tutorials on the nodejs, vue, mongodb you can recommend? |
# |
Dec 6th 2019, 09:14 |
birdy247 |
@challgren I ended up just calling the job directly from the test |
# |
Dec 6th 2019, 09:09 |
alexdd55976 |
morning |
# |
Dec 6th 2019, 09:05 |
challgren |
Like the job running? |
# |
Dec 6th 2019, 09:02 |
birdy247 |
Has anyone else done this? |
# |
Dec 6th 2019, 09:01 |
birdy247 |
We are trying to unit test a job |
# |
Dec 6th 2019, 09:01 |
birdy247 |
I am use cake quesadilla in one of our project |
# |
Dec 6th 2019, 08:49 |
slackebot2 |
'logoutRedirect' => [ 'controller' => 'Pages', 'action' => 'display', 'home' ] ]); } public function beforeFilter(Event $event) { $this->Auth->allow(['index', 'view', 'display']); } //... }``` I solved thanks to your advice |
# |
Dec 6th 2019, 08:49 |
gianmarxgagliardi |
```// src/Controller/AppController.php namespace App\Controller; use Cake\Controller\Controller; use Cake\Event\Event; class AppController extends Controller { //... public function initialize() { $this->loadComponent('Flash'); $this->loadComponent('Auth', [ 'loginRedirect' => [ 'controller' => 'Articles', 'action' => 'index' ], |
# |
Dec 6th 2019, 08:47 |
gianmarxgagliardi |
morning |
# |
Dec 6th 2019, 08:06 |
rk.thedigifrog |
solution to get quick result in query builder inner join cakephp3. |
# |
Dec 6th 2019, 02:02 |
cnizzardini |
On Cake 3.7.9 anyone else notice this, perhaps after some recent package updates on ubuntu 18? |
# |
Dec 6th 2019, 02:01 |
cnizzardini |
Just started getting this: Warning (512): Cache engine Cake\Cache\Engine\RedisEngine is not properly configured. [CORE/src/Cache/Cache.php, line 179] |
# |
Dec 6th 2019, 00:24 |
nuzulfikrie |
if i go back to cake default template, it will behave as per configured |
# |
Dec 6th 2019, 00:24 |
nuzulfikrie |
Hi @jotpe. @challgren , that is precisely what i did, but something broke it up. |
# |
Dec 6th 2019, 00:15 |
challgren |
should be `/src/Template/CakeDC/Users/User/action.ctp` for example |
# |
Dec 6th 2019, 00:13 |
jotpe |
@nuzulfikrie If you want to override a Template by a Plugin you need to place the template files in your plugin folder (eg. `plugins/YOURPLUGIN/src/Template/x/x/file.ctp`) |
# |
Dec 6th 2019, 00:03 |
nuzulfikrie |
nothing much on the error log |
# |
Dec 6th 2019, 00:03 |
nuzulfikrie |
can js script ever interfere with cakephp view rendering? |
# |
Dec 6th 2019, 00:02 |
nuzulfikrie |
*Attempted change :* If revert back to default cakephp template, it behaves as expected. |
# |
Dec 6th 2019, 00:02 |
nuzulfikrie |
*What happened :* Cake continues render the file set in default.ctp |
# |
Dec 6th 2019, 00:02 |
nuzulfikrie |
hi support , I am using a custom template, of which i used to override the default 'default.ctp' . *Expected result.* CakePHP should override the view by rendering from /src/Template/Plugin/x/x/file.ctp. |
# |
Dec 5th 2019, 21:53 |
storkovo |
@fhxfhx if this app doesnt use auth then cakephp 1.3 will not return 403 for unprotected page, it could be webserver misconfiguration |
# |
Dec 5th 2019, 21:50 |
fhxfhx |
k tx |
# |
Dec 5th 2019, 21:49 |
storkovo |
there should be something in error.log even with debug 0 |
# |
Dec 5th 2019, 21:48 |
storkovo |
@fhxfhx set debug to 2, and read logs |
# |
Dec 5th 2019, 21:48 |
fhxfhx |
any debug tip ? |
# |
Dec 5th 2019, 21:47 |
storkovo |
if so, read app/tom/logs/* |
# |
Dec 5th 2019, 21:47 |
storkovo |
@fhxfhx /app/tmp and subfolders writable? debug 2? |
# |
Dec 5th 2019, 21:44 |
challgren |
Yeah but people that know Cake 1.3.6 is probably very slim |
# |
Dec 5th 2019, 21:43 |
fhxfhx |
anyone here ? |
# |
Dec 5th 2019, 21:13 |
fhxfhx |
what can be the reason for a 403 error when otherwise a test file works properly ? we try to install an old cake_v136-app and receive the 403 error, not sure what steps to take |
# |
Dec 5th 2019, 20:13 |
randompherret |
if I wanted to be able to bake and get json response automatically this the best thing to do to edit the twig file or some plugin that would be better? |
# |
Dec 5th 2019, 16:49 |
dereuromark |
I think cakebox has issues now since a few weeks. Did anyone try to set up a fresh one these days? Seems like people cant do it anymore. Besides it needing some upgrades ;) |
# |
Dec 5th 2019, 16:45 |
ndm |
And maybe consider ditching the old blog tutorial, and use the new CMS tutorial instead, the blog one isn't even in the TOC anymore. |
# |
Dec 5th 2019, 16:44 |
ndm |
Start with checking that you've followed and implemented the _complete_ turorial, loading the auth component is shown in https://book.cakephp.org/3/en/tutorials-and-examples/blog-auth-example/auth.html#authentication-login-and-logout |
# |
Dec 5th 2019, 16:38 |
gianmarxgagliardi |
@ndm how do i check auth component ? |
# |
Dec 5th 2019, 16:32 |
info315 |
@admad and @ndm thanks for this!! `<3 i love it` to not us WYSIWYG anymore :slightly_smiling_face: |
# |
Dec 5th 2019, 16:28 |
ndm |
https://cakesf.slack.com/archives/C053DPNGT/p1575516844333700 |