Questions tagged as 'cakephp'

1
answer

How to solve this CakePHP problem on Mac?

Warning: require(/Applications/XAMPP/xamppfiles/htdocs/cake-teste/bookmarker/vendor/autoload.php): failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/cake-teste/bookmarker/config/bootstrap.php on line 23 Fa...
asked by 18.07.2015 / 19:10
1
answer

Cake php configuration

I set up my cake all right, but when I open the main page, his css does not load, can anyone help me?     
asked by 02.03.2015 / 02:20
1
answer

Regular expression for href and www / https / http links

Good morning, I have 2 regular expressions, where one serves to get the URL of any href , and another that I need to sort out that would only be to get the URL's that are not within href , that is, only the URL's entered with www...
asked by 06.02.2015 / 11:13
2
answers

Set option not to edit - CAKEPHP

I'm working on a real estate project and I have add , edit and delete , everything is normal. In real estate I have the cidade and bairro tables, which when I register are two <option> , but when I go...
asked by 26.02.2014 / 14:57
2
answers

How to remove table from the results of a find () of CakePHP?

I have 3 related tables: Usuario , Movimentacao and Grupo I'm using: $usuarios = $this->Usuario->find('all',array( 'recursive' => 1, 'fields' => "Usuario.id, Usuario.nome, Usuario.email" 'order' =...
asked by 04.02.2014 / 18:48
1
answer

CakePHP - Retrieve option value

Hello! I'm fixing a website that I got ready and it has a part that the user selects a neighborhood in <option> , however, this <option> is not sending the information to the database. Selecting the city, the neighbor...
asked by 20.02.2014 / 17:13
1
answer

How to get the link id present in the postLink method?

I need to get the id of the link present in the postLink method to be able to delete an image whose id is equal to that id of the link, which is equal to the id of the database. How do I get this value? View <h...
asked by 21.03.2014 / 18:52
1
answer

Cakephp Auth component does not work correctly

I am making a user registration screen. When the user completes the registration, he is redirected to a restricted area. In this same screen, there is a login and password field for the logs themselves. However, the only thing that works is the...
asked by 05.03.2014 / 19:00
0
answers

Form for a different model

I'm using CakePHP 2.6.4. I have two tables in the database: despesas and receitas . I have CRUD's methods of expenditure and revenue. I created the controller RelatoriosController for detailed expense and revenue reports...
asked by 26.10.2017 / 20:23
1
answer

cakephp login never recognizes

I am studying CakePHP and I created a project to train login, but no matter what I do, login / password always denies access. here are the codes public function initialize() { //appController parent::initialize(); $this->load...
asked by 29.10.2017 / 00:48