Questions tagged as 'laravel'

1
answer

Problems of css styles in DOMPDF Laravel 5.7

I have a query about this library DOMPDF Laravel to generate pdf documents, it turns out that through this I am generating a receipt as invoice to the client, which I have no problems to create it, my problem lies when I want to give styl...
asked by 03.11.2018 / 02:12
2
answers

session () - flush () deletes the {!! csrf_field (); !!}

When I make a disconnection command to the function: With the aim of deleting all the sessions that user has been creating. public function Desconectarse(Request $request) { session()->flush(); return view('index');...
asked by 30.11.2017 / 12:29
1
answer

Is it normal for php to take so long for the transaction of large volumes of records?

I have a function where I keep mysql with laravel around between 6500 and 7000 records to the database therefore are that amount of iteration is delayed around 15 minutes what I find is a lot, I know that it depends a lot on how this code is...
asked by 22.10.2018 / 16:12
1
answer

Error Exception: Trying to get property of non-object - laravel

I need to get the ID and Name fields from my pivot table, I've tried this public function Display(){ $langservice = new langService(); $musgroups=$langservice->getMusgroup(session()->get('lang_id')); foreach($musgroups as $mu...
asked by 20.12.2018 / 16:27
2
answers

As I show the content of two tables with foreign key in Laravel 5.4

I have a problem when I want to show data in a CRUD for users. The user table has the id of the teaching table as a foreign key. This is the User model: class User extends Authenticatable{ use Notifiable; /** * The attributes that are mass a...
asked by 19.06.2017 / 21:39
1
answer

Problem with exception laravel 5.5

I have a small problem with an exception, which is with a route, for example. I have this route, which loads well. link but if I make a change like this. link I'm loading an error Now, in the other modules and routes,...
asked by 02.01.2019 / 19:02
2
answers

How to change the path to save an image with Laravel

Thank you to hire a hosting that does not let me access beyond the public_html. I must put the whole project there, using public_html as root. Then separate in a folder called laravel, the whole project and leave loose in public_html everything...
asked by 15.10.2016 / 05:44
1
answer

Scrip to fill in 2 related database tables in Laravel

Good morning, I am currently doing a system to manage a library and I am looking for a method to fill in two related tables, for example: I have in my database the table books and the table authors both related by their respective id. Indivi...
asked by 06.12.2016 / 01:36
1
answer

Upload project from laravel to PROPIO server

Good morning, my problem is this, I bought a host, in which I do not have ssh, and I have uploaded my entire project to the root, with public, vendor, app and everything, I have configured the file index, but I get the message: Whoops, looks lik...
asked by 29.12.2017 / 11:39
2
answers

Problem with saving data range in PHP Laravel

I have a site about reserves of sports complexes, which have a certain number of associated courts. In the I have a checkbox that are generated automatically according to the number of associated courts that have the complex, a range of dates (2...
asked by 06.12.2018 / 15:30