Questions tagged [cakephp]
CakePHP is an open-source web, rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. It uses commonly known design patterns like MVC and ORM within the convention over configuration paradigm.
cakephp
31,677
questions
0
votes
0
answers
36
views
Intermittent TABLE ALREADY EXISTS database error
In CakePHP 4.3.3 with SQLite I use a temporary table which I refresh by deleting and re-creating. Occasionally from the CREATE statement I get an error that the table already exists, despite that my ...
0
votes
0
answers
13
views
how to automatically load a custom view in a plugin in cakephp?
Here I developed a nano system to publish thoughts in a diary, very simple, but functional for the need. The content is in a Json structure and there would be a need to change the aesthetics of the ...
-2
votes
0
answers
29
views
Issue Reflecting Modifications in RadiusDesk Application Built on CakePHP and Ext JS
I am currently working on modifying parts of the RadiusDesk application built on CakePHP and Ext JS. I tried running the application via Docker, but any changes I made did not reflect on the page. I ...
0
votes
0
answers
30
views
How to implement Single-Sign-On (SSO) with Azure AD in CakePHP 5?
I am struggling to find the relevant documentation or examples on how to setup a single-sign-on for a CakePHP Web Application with Azure AD. I read through all of the CakePHP documentation about ...
0
votes
0
answers
29
views
beforeSave is not firing when saving entity
im trying to use Cakephp version 3.10 to fire a beforeSave event but it's not doing anything.
This is the only Controller / Table that dont wa
Controller
public function edit($id = null)
{
$...
0
votes
0
answers
28
views
CakePHP 5.x: double leftJoinWith()
In my application ActivitiesCategories have (hasMany) Activities and Activities have (belongsToMany with a joinTable) Patients:
class ActivitiesCategoriesTable extends Table
{
public function ...
1
vote
0
answers
20
views
Unable to use both route options and a nested resource callback in CakePHP 5.x
I'm trying to use nested restful routing by CakePHP 5, but it seems impossible to use both route options as an array, and nested resource definition as a callback. The following example does not work ...
0
votes
0
answers
31
views
Cakephp 5 Form Helper Displaying validation messages before sending the form
I'm doing the cakephp 5 cms tutorial and I want to use Boostrap 5 form validation.
But I see that the Form Helper does not render the div with error messages for the field’s required and notBlank ...
0
votes
0
answers
34
views
Is anti-pattern to handle redirections and view variables within Cake Components?
I am working on a project with CakePHP 2.x and I found 3 Controllers that share the same logic but some part of that logic is to set view variables and redirections.
class ControllerA
{
public ...
0
votes
0
answers
129
views
Adding authentication component to versionned API
URL being accessed: /api/v1/requests - using Cake - Setup routing to support versioned API controllers? as inspiration
The goal is to load my own custom authentication, however, it's partially loading ...
0
votes
0
answers
31
views
CakePHP5 - How can I migrate findAuth from CakePHP3
I'm about to migrate my old CakePHP3 App to 5.
It is quite difficult.
I try to entend the Auth Identity which is actually limited tu users table field with associated data.
In 3 i use FindAuth, but it ...
0
votes
0
answers
33
views
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'location_id' cannot be null
Check the below code I have converted this from web code , almost similar code is working on web now when I converted it into api to integrate it into app, I am facing issue: "error": &...
2
votes
1
answer
45
views
How to Add SSL Certificate to Outdated CakePHP Website with Apple FileMaker Server?
I'm trying to update an outdated CakePHP website and add an SSL certificate. The website is integrated with an Apple FileMaker server. What steps should I follow to achieve this? Any specific ...
0
votes
0
answers
38
views
ckfinder 3 config file and CakePHP 5
How to insert CakePHP5 session into ckfinder config file? Are there any restrictions? The problem is that within the ckfinder config file I cannot retrieve the global session variable.
I tried the ...
0
votes
0
answers
50
views
CakePHP in Subdirectoy on Nginx Reverse Proxy to Docker Running Apache
I have nginx running as a reverse proxy and I am trying to load my CakePHP site on the docker container in a subdirectory. The docker container is running Apache. I do not want the subdirectory in the ...