Posts by LMT • 115 points
17 posts
-
0
votes1
answer14
viewsA: Auth Indentify does not work Cakephp
I found my problem and it was error in the code of the App Controler, tidy it was like this: $this->loadComponent('Auth', [ 'authenticate' => [ 'Form' => [ 'userModel' => 'Users',…
-
-1
votes1
answer14
viewsQ: Auth Indentify does not work Cakephp
This same code has already been used for other projects, and I don’t understand why it doesn’t work here. The error that returns me is that the Users and password are incorrect, it does not pass the…
-
-1
votes1
answer184
viewsQ: How to handle Node error response in React
Guys I started Act and recently I looked for various ways to treat the error but I do not understand why it does not work. I tested the Node in the isomnia and it’s all ok, in React I get the answer…
-
-1
votes2
answers465
viewsQ: Hide a Navbar item in React JS according to the page
I am new to using React, I took courses in Alura, but many doubts remain because it is something very new for me. I have a login page, this login page is using a Header that is used in all other…
-
0
votes1
answer835
viewsQ: Write txt file in PHP
I’m using the Cakephp framework, and I need to take the value that the user enters the form and write this value to a txt file, but it’s giving me error and I don’t know what the problem is. HTML:…
-
1
votes1
answer119
viewsQ: How to call an on change function already declared
I have a radio, which changes the input according to the selected radio, but I would like it to be selected as soon as I load the page according to the value of the Session I pass to the html page.…
javascriptasked LMT 115 -
3
votes1
answer122
viewsQ: How to change two fields in JS
So, I don’t understand much of js, and my problem is this: I have a list of products in my cart that shows the quantity, discount, unitario total and subtotal. js would need to change the quantity…
-
0
votes1
answer377
viewsA: Cakephp error: Class 'mPDF' not found
I managed to solve my problem, I had to import the mPDF, so my code was like this: <?php namespace Mpdf; //mpf importado error_reporting(0); //concertando erro de vizualizaçao…
-
0
votes1
answer377
viewsQ: Cakephp error: Class 'mPDF' not found
I installed mPDF by the prompt on the Friends Of Cake github, and followed the instructions as on the github, but it is giving mPDF class error not found and line error $mpdf = new mPDF();, giving…
-
1
votes1
answer487
viewsQ: Change placeholder by clicking the radio
I’m new to JS, and I would like to click on a radio and the placeholder would change according to the radio clicked, I did this way but it doesn’t work. Here is my Modal: <!-- Button to Open the…
-
0
votes1
answer77
viewsA: Cakephp 3 Auth Component Does Not Work
I found that many things from cake on my pc stopped working, like the Auth component, so I found a solution to be able to authorize my user without using the component. My solution was to search and…
-
0
votes1
answer5640
viewsQ: Send data via POST in javascript
Guys I know almost nothing about JS, and I am developing a php system with help from Cakephp 3, the following is part of my payment screen, my problem is that I need to get the values that are in…
-
2
votes1
answer67
viewsQ: Click a button and select a checkbox
My problem is that I have a list, in this list all items have a button and a checkbox, what should happen is, I click the button of this item and it select only the checkbox of this item. But what I…
-
0
votes1
answer31
viewsA: Treat array in Cakephp 3 controller
I figured out how to solve my problem, my view remains the same, but in my controller it was like this: public function carrinho(){ $check = $this->request->getData(); if ($check == null) {…
-
2
votes2
answers187
viewsQ: When selecting checkbox it selects other checkbox
I am not aware of Javascript and I am using Cakephp 3 framework. So my problem is, I have a list where each item on the list has 2 checkbox, and when I select the first checkbox for one item it…
-
0
votes1
answer31
viewsQ: Treat array in Cakephp 3 controller
So people I have two controllers, sales and sales products, in which in the products sales I select product with checkbox and shipping by a buttom to another page, and in the product controller…
-
0
votes1
answer77
viewsQ: Cakephp 3 Auth Component Does Not Work
I’m having problems with the cake authorization component, I’ve done several tests and it’s the only component that isn’t working, I’ve checked the bank authorization, and I have authorization…