Top "Cakephp" questions

CakePHP is an open-source web, rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications.

Efficient way to Pass variables from PHP to JavaScript

From time to time I have to pass some variables from PHP to JS script. For now I did it …

php javascript cakephp cakephp-2.0
document.querySelector(...) is null error

For image upload in a cakephp project I used java-script.I added this js file in app\View\Layouts default.…

javascript cakephp
CakePHP Database connection "Mysql" is missing, or could not be created

There have been several other posts about this, but none of the answers seemed to work for me. When I …

php mysql macos cakephp mamp
CakePHP check if user is logged in inside a view

I have the following code: <?php if (!$this->Auth->user()) { echo $this->element('header'); } else { echo $…

php cakephp
save() returning false, but with no error in CakePHP

My debug value is set to 2, and it's displaying all the queries, except the one I need. I have an …

cakephp cakephp-model
The processing instruction target matching "[xX][mM][lL]" is not allowed

I'm outputting XML in CakePHP. But I'm getting this error when I put my XML into a validator: The processing …

php xml cakephp
Best way to document Array options in PHPDoc?

I'm struggling to write readable and easy to understand documentation that describes the multi-tree structure for Array options that are …

php cakephp phpdoc
How can I tell which CakePHP version is a project made with?

Is it possible to know the version of CakePHP used to generate a project with only the app code available? …

php cakephp
Cakephp cake_core_ cache was unable to write 'cake_dev_en-us'

I have tried EVERYTHING but i keep getting the following cake error: ( ! ) Warning: _cake_core_ cache was unable to write …

php cakephp file-permissions
How do I update 1 field in CakePHP?

I want a function to alter one field, "is_featured" to 1(true) of Event model of given ID, to mark …

cakephp