Log message #4218114

# At Username Text
# Dec 10th 2019, 12:58 ndm @martin It's the Migrations plugin Cookbook, not the CakePHP Cookbook, ie it's the Migrations plugin version 2.x docs
# Dec 10th 2019, 12:49 kiwi_46 hello
# Dec 10th 2019, 12:48 neon1024 Maybe open a ticket on cakephp/docs
# Dec 10th 2019, 12:47 neon1024 Even 1.0.0 depends on 3.x
# Dec 10th 2019, 12:47 neon1024 https://packagist.org/packages/cakephp/migrations#1.0.0
# Dec 10th 2019, 12:47 neon1024 No, you’re right there @martin
# Dec 10th 2019, 12:44 neon1024 That was pre-Phinx though I think :thinking_face:
# Dec 10th 2019, 12:44 neon1024 Migrations worked with 2.x
# Dec 10th 2019, 12:41 martin https://book.cakephp.org/migrations/2/en/index.html# << why is this in the 2.x cookbook? this is 3.x right?
# Dec 10th 2019, 12:37 yadav.manu36 @damiano use query string with view detail URL <?= $this->Html->link("View Detail", ['action' => 'view', $user->id, '?' => $this->request->getQuery()], ['alt' => __('View user'), 'title' => __('View user')]) ?> and when you want to go back then use below url <?= $this->Html->link("Back", ['action' => 'index', '?' => $this->request->getQuery()], ['alt' => __('Go Back'), 'title' => __('Go Back')]) ?>
# Dec 10th 2019, 12:32 damiano to go back without using the browser i mean
# Dec 10th 2019, 12:32 damiano guys what is the best way to "remember" the page (pagination) when i go to the detail of a product of the list i have paginated?
# Dec 10th 2019, 12:22 ashish_onmobile I am not able to instal intl extension
# Dec 10th 2019, 12:22 ashish_onmobile did anyone try latest xampp vm update
# Dec 10th 2019, 12:01 yadav.manu36 can anyone help me?
# Dec 10th 2019, 11:56 gianmarxgagliardi @neon1024 wrooooooooooooooo
# Dec 10th 2019, 11:55 gianmarxgagliardi @jotpe @steinkel thanks I hope I haven't forgotten anyone
# Dec 10th 2019, 11:55 gianmarxgagliardi solved big boys
# Dec 10th 2019, 11:53 gianmarxgagliardi it was a problem of fields
# Dec 10th 2019, 11:52 gianmarxgagliardi ok it works
# Dec 10th 2019, 11:50 steinkel your `$fields` are matching the form field names?
# Dec 10th 2019, 11:49 steinkel well, it says the credentials are not found
# Dec 10th 2019, 11:48 gianmarxgagliardi @steinkel yes, but it says that they are not valid even if they are
# Dec 10th 2019, 11:48 yadav.manu36 I want to use only vendor plugin templates in root plugin structure but it is not working. can anyone help me?
# Dec 10th 2019, 11:46 slackebot2 <gianmarxgagliardi>
# Dec 10th 2019, 11:45 steinkel are you using valid credentials and submitting the form?
# Dec 10th 2019, 11:45 gianmarxgagliardi yes
# Dec 10th 2019, 11:45 steinkel you should see the login form right?
# Dec 10th 2019, 11:45 steinkel go to /users/login page
# Dec 10th 2019, 11:44 gianmarxgagliardi @steinkel I didn't understand what I should do
# Dec 10th 2019, 11:41 steinkel @gianmarxgagliardi try posting the credentials to the users/login form
# Dec 10th 2019, 11:40 neon1024 I feel like if @gianmarxgagliardi application starts working we’ll open a portal to Final Space and unleash the Titans upon our Universe
# Dec 10th 2019, 11:35 slackebot2 _\src\Controller\UsersController.php (line 136)_ ```object(Authentication\Authenticator\Result) { [protected] _status => 'FAILURE_CREDENTIALS_MISSING' [protected] _data => null [protected] _errors => [ (int) 0 => 'Login credentials not found' ] }```
# Dec 10th 2019, 11:35 gianmarxgagliardi in _Application.php_ I changed as follows: ```$service->loadAuthenticator('Authentication.Form', [ 'fields' => $fields, 'loginUrl' => \Cake\Routing\Router::url([ 'plugin' => null, 'prefix' => null, 'controller' => 'Users', 'action' => 'login' ]) ]);``` *does not login* yet but the error has changed:
# Dec 10th 2019, 11:28 damiano got it
# Dec 10th 2019, 11:28 damiano ok
# Dec 10th 2019, 11:28 damiano then i need to check if the url startswith.. my path
# Dec 10th 2019, 11:28 damiano @dereuromark $this->request->getPath()
# Dec 10th 2019, 11:26 jotpe It's from a Helper
# Dec 10th 2019, 11:26 dereuromark i dont think you should use ::url() here, etc. Why not using only request data?
# Dec 10th 2019, 11:26 jotpe ```if (Router::url($route) === $this->getView()->getRequest()->getPath()) { $options['class'] = 'active'; }```