Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
35 views

I'm working on a site with CakePHP 5.0. It has 2 tables: news and pages. I baked everything on the command line, and I've been able to get the pages side working ok, but I'm stumped on how to ...
Sharon's user avatar
  • 4,015
0 votes
0 answers
74 views

I'm developing a small module on CakePHP 3 and I'm currently encountering a small problem that I can't seem to solve. I have two tables: Events and shop_ticket. Events table: I store information ...
user31931795's user avatar
1 vote
1 answer
65 views

I created a REST API in CakePHP 4.5, and all the ID fields are of type Bigint. Is there a way to force CakePHP to convert these fields to strings before returning the JSON? There are many fields, and ...
Daniel Girardi's user avatar
0 votes
0 answers
26 views

I've just created a new site using CakePHP 5 for the first time (I've used CakePHP 2-4 before). I'm baking the models from my database, but one of them is failing. My database tables are as follows (...
Sharon's user avatar
  • 4,015
0 votes
1 answer
55 views

I'm trying to implement a policy for a model-less controller. The error I keep getting when I access /administrators/import Resource class Administrator does not exist. InvalidArgumentException Here ...
TechFanDan's user avatar
  • 3,534
0 votes
0 answers
72 views

CakePHP 4.x We have an application which consists of a frontend web app (used by customers through a browser) and an API for some backend operations which is integrated with our other systems. The ...
Andy's user avatar
  • 5,438
0 votes
1 answer
50 views

I'm building a web application in CakePHP 5 using the Authentication and Authorization plugins. My users can be members of multiple clubs through a many-to-many relationship (using a join table). The ...
David's user avatar
  • 11
0 votes
1 answer
38 views

Full error: error: [TypeError] Cake\ORM\Marshaller::_mergeAssociation(): Argument #1 ($original) must be of type Cake\Datasource\EntityInterface|array|null, int given, called in /var/www/vhosts/dpg3....
smoeckel's user avatar
0 votes
1 answer
78 views

Basically trying to do this https://discourse.cakephp.org/t/validate-uploaded-file-size-through-model/6755/5 in a CakePHP 4.5.9 application. I have a Model called Whitepapers and with I'm trying to ...
Andy's user avatar
  • 5,438
0 votes
0 answers
34 views

I have a helper that defines the time template like this: protected array $_defaultConfig = [ 'templates' => [ ` 'time' => '<time{{attrs}}><i class="far fa-clock fa-sm ...
Mirko Pagliai's user avatar
0 votes
0 answers
48 views

Forgive my ignorance but I've not played around with PHP's garbage collection before. Specifically, I'm running a CakePHP 5.x Command Script and running into memory exhausted issues. As a test to see ...
guyverdio's user avatar
-1 votes
1 answer
24k views

i googled this error in many ways but only could find irrelevant messages i am migrating a cakephp 4.2 PHP application to cakephp 5 and only the 'default' database is usable in my app_local.php i have ...
igor57480's user avatar
0 votes
1 answer
30 views

What I have ConfigurationsTable hasMany ValuesTable In return, ValuesTable belongsTo ConfigurationsTable ValuesTable belongsTo ParametersTable Each value can belong to a unique combination of a ...
ᴍᴇʜᴏᴠ's user avatar
1 vote
0 answers
48 views

I have a controller on my Api folder named CrudsController and I have this function. what I don't understand is this is properly working before I had issues with my database that I had to recreate. ...
Jamille Aligan's user avatar
1 vote
1 answer
61 views

For starters, I have a docker container running for "cloud-sql-connectors/cloud-sql-proxy:2.14.3" and it has credentials and appears to have started and is running fine. 2025-01-29 12:31:44 ...
Me JW Crouch's user avatar

15 30 50 per page
1
2 3 4 5
2108