Top "Cakephp-3.0" questions

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

Error: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database cakephp

I don't know how to solve this problem. The problem happened when I deploy this project to production server using …

php cakephp cakephp-3.0
CakePHP 3: How to properly check if a user is logged in

In CakePHP 3, I found two ways to find if a user is logged in. 1st solution if(!is_null($this-&…

php cakephp-3.0
Cakephp 3 NOT IN query

I think this is a common pattern, but I can't find the elegant CakePHP way of doing it. The idea …

cakephp orm cakephp-3.0
Catch Exception in Cakephp 3 : not working

I try to catch exceptions in Cakephp v3.0, but it doesn't seems to work : try{ $email = new Email('default'); $email-&…

php cakephp exception cakephp-3.0
How can I generate a pdf using CakePhp v3.x

I'm using CakePHP v3.x, how can I generate a PDF file? There is the possibility to generate an "only …

cakephp pdf pdf-generation cakephp-3.0 cakephp-3.1
Cakephp 3.0 Save associated model

I am learning cakePHP 3.0 and have some problem with saving associated data on my model. I try to save a …

cakephp save model-associations cakephp-3.0 associated-object
Delete multiple entities by id Cakephp3

Is there a more efficient way of deleting multiple entities by id $data = $this->request->data ['missing_lexicon_…

cakephp-3.0
cakephp3 Class DateTime not found

I'm trying to convert my cakephp plugin from 2.X to 3. I have a little problem inside my component plugin at …

cakephp plugins cakephp-3.0
CakePHP 3 REST API + CORS Request and OPTIONS method

I am working on a REST API using CakePHP 3. I want to enable it publicly, so anyone can mane a …

php angularjs rest cors cakephp-3.0
How do I create a keyValue pair (display field) by combining/having two fields in CakePHP 3?

I need help getting two values (for human friendly dropdown) in a key-value pair using find or get or anything …

cakephp find cakephp-3.0 key-value dropdown