I made two requests. The first one gives me 2419 results and I store the result in $requestFirst. The second, 1 result and I store the result in $requ ...
I made two requests. The first one gives me 2419 results and I store the result in $requestFirst. The second, 1 result and I store the result in $requ ...
A redirect, called by the private function r(), in the edit function works, but not in the delete. Even commenting out the allowMethod doesn't help. ...
I'm trying to set two buttons so depending of the language user can switch to the other. In my default.php I have this, to change on click on the lin ...
I need all models inside a custom CakePHP plugin to use a database prefix. I'm trying to use an event, as suggested by @lorenzo. I'm getting severa ...
in cakephp 4 there is a statement/method like $this->Form->control('address_id',['options' => $addresstypes...].... which mainly works fine ...
I'm trying to send an image to a registration service made in Node.js. I have a form made like this: In the controller I get the image like this: ...
I'm doing the test for my UserController and I'm having trouble with my login test. I'm using cakephp4 with phpunit. The test I'm doing is this: M ...
So i have a checkbox and i need certain values to be checkd i tried to do this and is not working $columnas = [ 1 => 'Columna 1', 2 => ...
I'm doing cakephp4 controller test with phpUnit but when I call save my id auto_increment disapear. My table before save(): Image before save The te ...
I have the following association : ProductsTable hasMany PhotosTable. Furthermore, ProductsTable uses Muffin/SlugBehavior to build a unique slug. I ...
I have a project and I made the backend using nodejs. I made a user registration module and the authentication generates a token! This token will need ...
I recently started building an application, locally, using CakePHP 4.X. I installed Composer and successfully installed the CakePHP Authentication and ...
I'm recently getting back into programming after taking a break for quite some time. I'm currently trying to rebuild my CakePhp 2.X apps for CakePhp 4 ...
I have 3 tables users bases bases_users In usersTable I have created a belongsToMany relation like Now I am trying to fetch all users wh ...
I am porting an application from cakephp 3.7 to cakephp 4.4 and ran into a weird problem. I am using firefox, but for testing purposes I have chromium ...
trying to grasp CakePHP 4 after transitioning from previous versions. Once there was this usefull way of propagating errors from Model to controller, ...
As in the subject above. I have been following the CakePHP 4 tutorial but instead of Articles I've used Properties. Everything is working great until ...
We've recently upgraded from an old version of CakePHP (3.10) to CakePHP (4.3). Since then using the CSRF functionality causes the '[Cake\Http\Excepti ...
When using edit Article page through the ArticlesController to edit an article, the page redirects from the edit page to the Articles index.php page a ...
I am adding multiple checkbox but facing issue to adding classes to parent div. HTML output should be like this I am trying to use this code an ...