Questions tagged as 'laravel-5'

0
answers

Copy files from a server to a PC Xampp

I have a carusel of images and videos that come from a request in JQuery and are hosted on a shared xXmpp server on the LAN My problem is when the link is far away, the video is lost and I was wondering if there is any way to copy the files t...
asked by 15.02.2017 / 18:06
0
answers

select query laravel with dates

I need to prevent entering a new event if there was already another previous one with dates with time in that range. For this I tried to use the typical where with < = start and > = end but it did not work and as a last attempt I used this...
asked by 30.01.2017 / 04:34
1
answer

how to make a simple view of a column in laravel?

good I am currently doing an application of a library in laravel in which I use a foreach to show the values of the books table in the following way: @foreach($libros as $libro) <img src="libreria/app/{{$libro->path}}" alt="" /> <...
asked by 28.01.2017 / 20:12
1
answer

Trying to get property of non-object Laravel BelongsTo

I have a HolidaysModel class that has the following relationship public function user() { return $this->belongsTo('MolInterno\Users\UsersModel', 'id_user', 'id'); } In the Holidays driver I do: public function index() { $holid...
asked by 20.02.2017 / 14:59
0
answers

Laravel 5.2: php artisan returns "Could not find driver" in terminal

I am adapting the Socialite topic of JOJO Themes in a site and it is giving me an error when executing php artisan in the terminal of my server. I have already made the corresponding configuration to the database and the application...
asked by 20.01.2017 / 07:08
0
answers

how to solve the error ReflectionException in Route.php line 333

I'm using laravel 5.3 and everything was fine until I try to create a new method in my controller, it tells me that it does not exist even though it's there if I put the method in another controller if it works these are my routes Route::get('...
asked by 18.01.2017 / 00:09
2
answers

Laravel 5.1 and $ Http angularjs

I'm trying to access the 'App \ Http \ Controllers \ ReportController @ store' URL from la http, but the route does not load or can not be found, with php artisan route: list it appears to me that it is the route ... How can I access that route...
asked by 01.02.2017 / 16:55
1
answer

The filter does not work for selects in datatables

I am using the "datatables" plugin in a server-side way, it works perfectly but if I add the "select inputs" it does not work for me, just that option. I got the code from the following link: API link Here is the Ajax code: var tabl...
asked by 14.12.2016 / 02:05
1
answer

Why is my DataTables table not sorted or filtered?

here the code of my table var table = $('#table').DataTable({ "destroy": true, "responsive": true, "processing": true, "serverSide": true, "sAjaxSource...
asked by 21.11.2016 / 03:52
1
answer

Protect routes with passport laravel and Dingo Api

I have searched how to protect laravel routes through my Api with Dingo I found an example but I do not think it is the right one here link If anyone knows another way to do from Dingo Api as it is done here using the library from Jwt where t...
asked by 24.10.2016 / 13:21