Skip to main content
Filter by
Sorted by
Tagged with
-4 votes
0 answers
47 views

How to debug this Twitter OAuth authentication?

I have a problem with authorization. Namely, with authorization via Twitter. Since I don’t have much experience, I used examples from the Internet and implemented them, but it doesn’t work out. There ...
HiddenOfHeaven44's user avatar
0 votes
0 answers
22 views

How to select mulitple options in multiple select select menu in cakephp

This is my code for the multiple select menu in my cakephp application: <td><?= $this->Form->select('clothCutting['.$color.'][mtr_str]', ['23'=>'23', '67'=>'67', '24'=>'24'], ['...
Varinderjit's user avatar
0 votes
0 answers
24 views

CakePHP 5 with latest CakeDC Users plugin

Went through all the setup and installation, got all my apis and connecting to google. However it's throwing and error message. So I debugged it some and at a lose or brain dead at the moment. Traced ...
evansLY's user avatar
  • 122
0 votes
0 answers
23 views

Unable to save data using HasOne association in Cakephp 4

I have tried to join two tables using hasOne association in my cakephp app There are two tables users and admin. In both tables the id is primary key. i have linked the mobile field of admin to the ...
Arpit Gupta's user avatar
0 votes
0 answers
27 views

CakePHP 5: how to get total number of records retrieved with pagination

I'm migrating from cakephp 4 to 5.x, and in an API I need to return the pagination data. In cakephp 4.x $paging = $this->request->getAttribute("paging"); $paginacao = []; foreach ($...
Sanderson Queiroz's user avatar
-1 votes
1 answer
25 views

Timestamp in database is European (16:35), but in CakePHP application is UTC (14:35)

Working on development of application, using CakePHP 5 framework. Problem I have, is that it shows different timestamp for same record in application and in database. To prevent that, I made changes ...
user198003's user avatar
  • 11.1k
0 votes
0 answers
42 views

Paginating with sort and direction

Cakephp Version: 5.0.10 Hi, Tickets Controller - The Process The page is initially loaded and I initialise the limit from the database and store in a setter with: $this->setLimit($user->...
Zenzs's user avatar
  • 138
1 vote
1 answer
42 views

Why getting this error message submitting a cakePHP file upload form data?

I added enctype="multipart/form-data" In the form with the input fields for files or images. Please, can you help me review my codes and why I have this error message issue below on trying ...
Olubunmi 's user avatar
0 votes
1 answer
129 views

CakePHP giving error 302 (due to sessions?) after migrating a website

I have to migrate CakePHP 1.3.0 website which uses PHP 5.6 version, in this case from CPanel to Plesk, I tried using Plesk Migrator extension, for those who don't know it, it connects to source server ...
Cuenta0Gow's user avatar
1 vote
0 answers
23 views

CakePHP 4 JSON response gives phpstan error

According to the CakePHP 4 docs // If you want a json response $response = $response->withType('application/json') ->withStringBody(json_encode(['Foo' => 'bar'])); If you run phpstan on ...
Andy's user avatar
  • 5,312
0 votes
0 answers
24 views

Getting " The request to `/users/login` did not apply any authorization checks." while using Authorization in cakePHP

I am learning to implement authorization cakephp 5 using this documentation https://book.cakephp.org/5/en/tutorials-and-examples/cms/authorization.html But i'm getting "The request to /users/...
Arpit Gupta's user avatar
0 votes
0 answers
36 views

Accessing data in another table without a relationship in a query

CakePHP Version 4.4.11 Hi, Introduction In text I would like to do the following: visit the lead archives table and select records with the account_id. visit the contacts table and select records ...
Zenzs's user avatar
  • 138
0 votes
0 answers
22 views

Calling component in a Cell using CakePHP 4

How is a component called in a cell? Or is that still not advisable? Ex. CakePHP 3 Component in a Cell I have the following code in my cell: $coordinatorDiscussions->formatResults(function (\Cake\...
TechFanDan's user avatar
  • 3,442
0 votes
0 answers
49 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 ...
SMac's user avatar
  • 49
0 votes
0 answers
19 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 ...
Jootah's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
2112