Top "Cakephp-3.0" questions

Questions about the 3.0.x branch of the CakePHP MVC framework.

SQLSTATE[HY000] [1045] Access denied for user 'username'@'localhost' using CakePHP

I am new to PHP and CakePHP. I am finding problems while wiring my database using CakePHP. Below is my …

php mysql cakephp cakephp-3.0
CakePHP 3.0 installation: intl extension missing from system

Using the CakePHP docs, I am trying to install 3.0-beta2 using composer but I got this error: cakephp/cakephp 3.0.x-dev …

cakephp composer-php cakephp-3.0
What means Call to a member function on boolean and how to fix

I'm new with cakePHP 3. I have created a controller and model where I call a function to get all users …

php model-view-controller cakephp-3.0
How do you get the last insert ID in CakePHP 3.0?

Working with the CakePHP 3.0 beta, seems like a simple problem, but I've searched through the docs and can't find anything. …

cakephp cakephp-3.0
How to import vendor files in CakePHP 3x

I'm working with CakePHP 3(beta 2) version recently launched. I need to integrate Facebook Login using PHP SDKs and I'm not …

cakephp vendor cakephp-3.0
CakePHP 3 Raw SQL Query

I'm using CakePHP 3, I need to run a raw SQL query on multiple tables. In CakePHP 2, this could be done …

php cakephp model cakephp-3.0
How to read and write Session in Cakephp 3.0

I am new to cake 3.0. I have read documentation on http://book.cakephp.org/3.0/en/development/sessions.html But I …

session cakephp-3.0
How to join multiple tables using CakePHP 3?

I am using CakePHP 3.x. What I want is to be able to call $this->Categories->find() and …

php mysql cakephp join cakephp-3.0
Update only one field on Cakephp 3

In some part of my app I need to update only the field is_active of some table with a …

php cakephp-3.0
Check if record exists in CakePHP3

In CakePHP 2 I always used empty to check if there any result. <?php $result = $this->Modelname->find(…

cakephp model cakephp-3.0