Questions tagged as 'laravel'

1
answer

Error in laravel application with sql server in windows

I have configured the xampp v3.2.2 with sql srv, I have a laravel 5.5 application configured to connect to the sql server as follows: APP_NAME=Laravel APP_ENV=local APP_KEY=base64:SFla+HfV2OBTy/KYCrSZeBbwGWMUfZBKrnKwNzJrfQU= APP_DEBUG=true AP...
asked by 21.05.2018 / 16:01
2
answers

Error Call to a member function with () on string Laravel

At the time of executing the next destroy function, I get an error regarding the function with de laravel, they could help me. function destroy($id,$route='none' ){ $destroy = User::find($id); $destroy->delete(); if($route == 'e...
asked by 05.05.2018 / 19:25
2
answers

Obtain data from a controller in Laravel in Vue Js and interact with them.

I'm trying to bring data from a Laravel driver to Vue JS. data() { return { article: undefined } }, created() { this.$http.get('article/' + this.$route.params.id + '/edit?include=category,tags') .then((r...
asked by 15.05.2018 / 09:33
1
answer

How to pass a data from Javascript to Php Laravel

What I'm trying to do is a function in javascript that sends a simple data to a laravel controller and then upload it to the database, the problem I have is that until now I could not find a way to send that data, I always get error 500. cont...
asked by 01.05.2018 / 17:25
1
answer

Problem with jQuery ui and select2

At the moment I'm trying to solve a problem I have and that is when you activate the function datepicker of jQuery ui and% select2 only take me the first box of the table, can you help me as I do so that I put the attributes of...
asked by 17.04.2018 / 18:41
1
answer

How to pass XML file to array in Laravel

I'm doing a laravel application with which you can upload an xml file to the server to insert your data in the database. The problem with this is that I have uploaded the file but I can not convert it to an array to manage its data from larav...
asked by 29.03.2018 / 18:19
1
answer

Search form in Laravel

I'm doing a news section, which to find a news I have the following form: The question I have is, how can I do a search engine, depending on the number of fields that are completed. For example, someone can search for news only by keywo...
asked by 16.04.2018 / 14:06
1
answer

Is not the attribute assigned to me in laravel lumen?

I am trying to call the attribute but it gives me as null if I call it from another function, does anyone know that it may be happening? class ArchivoController extends Controller { public $usuario; function pasar(Request $request) {...
asked by 16.03.2018 / 15:35
1
answer

Problems with css and js of Select2 in laravel

I am using laravel with an AdminLte template that supposedly brings the css and js of Select2, a package that I need to have multiselects, but it does not work it simply puts the multiselect of html flat. What may be happening, I am using this c...
asked by 22.03.2018 / 14:39
1
answer

How can I know what role a specific user has if I am using Entrust in laravel?

I'm using the Entrust package to manage roles in laravel and I need to know how I can once all the roles are created and the users and the relationships between them as if I have a user saved in a variable knowing the role that corresponds to it...
asked by 21.03.2018 / 18:26