long time reader, with a small question on my hands. I have been working on adding multiple file upload support to a CakePHP 2.x project, I've implem ...
long time reader, with a small question on my hands. I have been working on adding multiple file upload support to a CakePHP 2.x project, I've implem ...
There were issues that some controllers are using DboSource methods and I added the line to the class file of some base controllers from which othe ...
I'm coding within a Cake PHP 2 application running PHP 7.1, I cannot upgrade the PHP version or Cake version due to business constraints, I'm building ...
With CakePHP 2.x and MySQL 5.6.40 i'm creating the following pagination: But i forgot my products.month column is varchar so i have to do a cast to ...
never use cakephp before and we have a project to edit for our client made in cakephp 2.5. We tried to create a new functionality "Emplois" to add jo ...
I'm trying to import a js file as type module in CakePHP 2.10.22. You can do something like this but that results in the tag being like <script ...
i am new to cakephp ,I am unable to find a proper way to get the count of records in a page from a list. I have a list of batches in my page with pagi ...
I need to upgrade a project from 2.10 to 3.x. I am using the official migration tool https://book.cakephp.org/3/en/upgrade-tool.html, with below comm ...
I use CakePHP 2.4.3 My code in Command Shell PhulyShell.php HopeeComponent.php was previously written by someone else, I have no right to edit it. ...
I have a Controller and a few functions inside. Some function are basically save data into DB. One of the function require a filter that specific type ...
I am creating a fixture for testing in cakephp2.x. I want to define the field type as a decimal, which is straightforward. However, I want to define i ...
Cake version: 2.4.3 PHP: 5.6 Redis: 6.0 Docker: 3.1 I am running a cake project 2.4.3 and have an error APP\Config\bootstrap.php line 159 → Cache: ...
Notice (8): Use of undefined constant ankitgir_deshbhakt - assumed 'ankitgir_deshbhakt' [CORE/Cake/Model/ConnectionManager.php, line 69] Connection ...
I want to dispatch an event from my controller in cakephp2.10. Therefore I need to register the event listener for the controller. It is simple to ach ...
I'm working on a solution to store Information to the database if specific data has been modified. At CakePHP 3.x I implemented a listener on the Mode ...
CakePHP 2.3 sets the Session variables (including cookie attributes) in the core.php file. I need to set samesite=None and Secure=true for the session ...
I am trying to follow the page below to set up hCaptcha on a series of sites running CakePHP. https://polyte.de/en/php/2020/05/04/hcaptcha-cakephp.ht ...
how to write the url for my XMLHttpRequest so that I can send my data to my controller. What I have now is this: I know I can just: But what I ...
Currently, I have a live project in CakePHP 2.8.0 where PHP Version is 5.6.40. I need to upgrade my CakePHP to the latest version. Can you suggest any ...
I’m updating my first CakePHP application on a web server, but pages show errors which are at the end of this post. I can’t find the file(s) which hav ...