Questions tagged as 'laravel-5'

1
answer

Error uploading site

Personally I just uploaded a site of mine made in Laravel 5.2 with pho 5.6 locally. I uploaded to a shared hosting in Locaweb that I have. I configured PHP 5.6 correctly and uploaded the site to this giving me the following error message.   ...
asked by 16.05.2016 / 15:23
3
answers

Laravel - How to use a combobox in the 'on load' event of a view (blade)

I need a combobox with data coming from the database, but this fill should occur when loading the view. Since the view is not the correct place to write code, how to feed the combobox? Through a method in a controller? What is the 'mechanism'...
asked by 17.05.2016 / 13:33
1
answer

ModelFactory is not generating $ faker data for some tables

I've been using the default% Laravel 5% for some time, and everything was going ok, but for a few days now I've stopped generating data from the ModelFactory library for some tables, although it's still normal for others. When you star...
asked by 23.07.2015 / 06:14
1
answer

@yield does not display content

I'm learning Laravel 5.1, I ran into an error using @yield . I can not pass the contents of another file to the file where I want to include it. Next I have the content I want to insert into the default-home.blade.php file inside...
asked by 24.07.2015 / 02:16
1
answer

Email Return: null Laravel Socilite - Facebook / Github

I am trying to register / login a system via Facebook using Socialite in Laravel 5, but the problem is that e The user's mail always returns as null . I also tested with GitHub and the return is null . So my app on facebook...
asked by 30.11.2015 / 14:26
1
answer

Doubt Laravel 5 - Libraries and Functions

<?php namespace App\Http\Controllers; use App\Http\Requests; use App\Http\Controllers\Controller; use App\ListaProduto; use App\Produto; use Input; use Illuminate\Support\Facades\Request; use Session; class Prod...
asked by 13.08.2015 / 18:29
1
answer

Multiplo Schema based on subdomain Laravel 5.1

I am creating an application that, when the client is creating the structure of his store, he will get a subdomain (which he will choose himself) and the database that Laravel will fetch will have the name of the subdomain. EX: customer clos...
asked by 02.12.2015 / 01:51
1
answer

Laravel 5, assuming variable in empty query?

I have a query, but sometimes this query returns an empty value ( no records ). These query results are directed to the generation of a HighCharts chart, but when there are no values within the query, the graph is not generated. My idea...
asked by 17.11.2018 / 13:41
1
answer

What convention do you use to organize Laravel Views?

I would like to know how best to organize Views in Laravel, in which directory it is best to leave the includes, templates and main views. Also what is better to put in the (navbar? layouts? sidebar?) what I can put as a template? I'm learnin...
asked by 14.05.2018 / 20:49
0
answers

Permission denied Laravel 5.5

I'm trying to create my first laravel project with vuejs. I installed apache on ubuntu 16.04 and navigated to the / var / www / html folder. I ran the following command: composer create-project laravel/laravel laravel --prefer-dist But when...
asked by 19.12.2017 / 00:39