# |
Dec 22nd 2019, 21:08 |
kevin.pfeifer |
Anyone having problems with current `^4.0` cakephp and debugkit regarding $_SESSION not defined when debug mode is active and you try to delete an entry from one of your tables/models? |
# |
Dec 22nd 2019, 20:16 |
savant |
you can set route scopes on particular subdomains: https://book.cakephp.org/4/en/development/routing.html#matching-specific-hostnames |
# |
Dec 22nd 2019, 20:16 |
savant |
@mocelle that should be fine |
# |
Dec 22nd 2019, 18:59 |
mocelle |
Hi to all. Is It posible to use CakePHP for multidomain application? For example: I have two domains and want use one application. |
# |
Dec 22nd 2019, 18:56 |
kailas |
for what it’s worth, i changed it from “auth” to “all” (after looking through the code) and things seem to work now, however, it’s not clear to me exactly what’s happening |
# |
Dec 22nd 2019, 16:01 |
slackebot |
i’m not sure what this means. can someone point me in the right direction? |
# |
Dec 22nd 2019, 16:01 |
kailas |
I’m trying to use the CakeDC.Users plugin with a custom Users model (SiteUsers). I’ve copied the entity code from CakeDC/Users to my SiteUsers entity, and used the users.php file from cakede/users/config as my default users.php in my /config directory. when i go to my site i get the login page, but when i try to login, i get the error : Unknown finder method “auth”. i see under Auth.authenticate.all, finder is set to ‘auth’, but |
# |
Dec 22nd 2019, 15:34 |
luizcmarin |
thanks you @ndm it's ok |
# |
Dec 22nd 2019, 15:23 |
challgren |
Hmm looks like option output is spilling into the `migration migrate` command `Dumps the current schema of the database to be used while baking a diff` seems out of place |
# |
Dec 22nd 2019, 15:22 |
ndm |
@luizcmarin In your action via the view builder (`$this->viewBuilder()->setLayout()`), in your template via the `$layout` property (`$this->layout = ...`). https://book.cakephp.org/4/en/views.html#layouts |
# |
Dec 22nd 2019, 15:21 |
challgren |
Hmm not sure what repo to submit this too |
# |
Dec 22nd 2019, 15:20 |
luizcmarin |
@ndm "or disable/exchange the layout for your login action/template.". How? |
# |
Dec 22nd 2019, 15:09 |
ndm |
Either hide them based on the authentication status (https://book.cakephp.org/authentication/2/en/view-helper.html), or disable/exchange the layout for your login action/template. |
# |
Dec 22nd 2019, 15:00 |
luizcmarin |
please |
# |
Dec 22nd 2019, 14:38 |
luizcmarin |
I just want to leave the login page clean. |
# |
Dec 22nd 2019, 14:38 |
luizcmarin |
I followed all the instructions for authentication on cake4.0. However, the login page opens with all menus. How to remove them? |
# |
Dec 22nd 2019, 11:20 |
challgren |
Ewww table name is contact_us and cake bakes ContactU as the entity |
# |
Dec 22nd 2019, 07:20 |
md.islam11 |
I dont have idea |
# |
Dec 22nd 2019, 07:20 |
md.islam11 |
My PM wants Checksum of my project. What is the procedure? |
# |
Dec 22nd 2019, 07:19 |
md.islam11 |
. |
# |
Dec 22nd 2019, 07:19 |
md.islam11 |
hello |
# |
Dec 22nd 2019, 01:09 |
challgren |
And id look in https://github.com/cakephp/authentication/tree/master/tests |
# |
Dec 22nd 2019, 01:09 |
challgren |
Did you try looking at https://book.cakephp.org/authentication/2/en/index.html |
# |
Dec 22nd 2019, 01:04 |
luizcmarin |
@challgren |
# |
Dec 22nd 2019, 01:04 |
luizcmarin |
I don't need much. Just login, logout, permissions to add, update, delete, print, stuff like that. Simple. |
# |
Dec 22nd 2019, 01:02 |
luizcmarin |
`` The old AuthComponent way is. I havent tried the latest version with cake4 yet. But I like it because it has oauth, superuser, rabc, otp built in `` -> dereuromark or cakedc ? |
# |
Dec 22nd 2019, 00:59 |
challgren |
The old AuthComponent way is. I havent tried the latest version with cake4 yet. But I like it because it has oauth, superuser, rabc, otp built in |
# |
Dec 22nd 2019, 00:58 |
luizcmarin |
is easy? |
# |
Dec 22nd 2019, 00:58 |
challgren |
Maybe https://github.com/dereuromark/cakephp-tinyauth/tree/cake4 could help yah |
# |
Dec 22nd 2019, 00:58 |
luizcmarin |
never used. |
# |
Dec 22nd 2019, 00:57 |
challgren |
Plus I prefer CakeDC/Users as it has everything I need built in |
# |
Dec 22nd 2019, 00:54 |
challgren |
Yeah thats why Im holding off for a bit. The docs seem really incomplete and plus for the sites I build a lot of plugins dont support 4.x yet |
# |
Dec 22nd 2019, 00:52 |
luizcmarin |
I'm doing it step by step for the third time, following the tutorial and making corrections to it. It's hard ... |
# |
Dec 22nd 2019, 00:50 |
challgren |
Im not sure with the new authentication plugin, I havent switched to that stuff yet |
# |
Dec 22nd 2019, 00:50 |
luizcmarin |
@challgren https://github.com/cakephp/docs/pull/6349/commits/a4f2a0da7301d15db9226ea971e080ebe54818bb |
# |
Dec 22nd 2019, 00:47 |
luizcmarin |
yes |
# |
Dec 22nd 2019, 00:46 |
challgren |
Do you have `use Authentication\Middleware\AuthenticationMiddleware` on top of your file? |
# |
Dec 22nd 2019, 00:46 |
luizcmarin |
I already added the fix |
# |
Dec 22nd 2019, 00:45 |
luizcmarin |
composer require cakephp/authentication. install 2.0.2 composer require cakephp/authentication:^2.0 install 2.0.0 |
# |
Dec 22nd 2019, 00:44 |
challgren |
Did you run `composer require cakephp/authentication:^2.0` |
# |
Dec 22nd 2019, 00:44 |
luizcmarin |
Undefined method 'configAuth'. inteliphense |