Questions tagged as 'laravel'

0
answers

Problem importing a class in Laravel 5.5

I'm trying to include the class that treats the Request from my form, but it always returns a not found error, however, I've already checked and reverted and the file and patch are correct. I have tried to update the composer to see if it solv...
asked by 01.02.2018 / 11:38
1
answer

replace symbol for space

I need to replace the + sign with % 20 Example: Are + Paulo by Are% 20Paulo search is in Laravel with knockout     
asked by 27.01.2018 / 21:32
0
answers

Request ajax in laravel

Route: Route::get('api/product/getProductsForAutomatic', ['uses'=>'ProductController@listSomeProducts']); Controller: public function listSomeProducts(){ $products = DB::table('products')->select('description')->get(); r...
asked by 26.01.2018 / 00:08
1
answer

Laravel system deploy in Xampp

Good afternoon, I have a system created with Laravel 5.5 and I need to upload it with Xampp . If I access via Url the public directory of Laravel , it works, however I need access to the root of the project. I created a .htaccess and red...
asked by 25.01.2018 / 19:32
1
answer

PhpStorm terminal does not recognize xampp php

Does anyone know why the PhpStorm terminal does not recognize php from xampp? Because in the Windows terminal it works normal the composer, the php used with laravel, but the phpstorm terminal does not work     
asked by 25.01.2018 / 15:44
2
answers

Problems with Laravel Query Builder

I'm having the following problem, when trying to implement a query with joins, in the query builder: My Query (pure SQL): SELECT COUNT(*) as total, orgao.sigla AS sigla_org_uni FROM protocolo INNER JOIN procedimento p ON protocolo.id_pro...
asked by 25.01.2018 / 14:40
1
answer

Migrations giving error 42000

I'm trying to run my migrations (php artisan migrate) inside my container Docker . I'm using Lumen to develop my API . I do not know what might be happening: What can be happening? I have refitted my migrations and nothing has chang...
asked by 25.01.2018 / 13:06
0
answers

Sending mail laravel with command

Personal I created a command to send emails of invoices generated, in the controller it works normally and email is sent, but when I execute the command laravel does not send email. follow the code below: public function handle() {...
asked by 23.01.2018 / 16:18
0
answers

How to run a .js on node for the large

I have a server.js in a subdomain I am using laravel-forge / digital ocean but I can not run this file. In localhost I would open the cmd and in the project folder would run the "node server.js" and it runs but I do not know how to run that f...
asked by 19.01.2018 / 14:17
1
answer

Laravel 5.2: Multi authentication always returns false

Always returning error when making login , even though the data is correct. I have already seen several topics about this error, but none have solved the problem. CONTROLLER public function cadastro(Request $request) { $dataForm = $r...
asked by 19.01.2018 / 13:39