Questions tagged as 'laravel'

0
answers

facebook can not read goals from laravel

If I create an html document in the root, publish "test.html" <HTML> <HEAD> <meta charset="utf-8"> <meta content="yes" name="apple-mobile-web-app-capable"/> <meta name="viewport" id="viewport" conten...
asked by 26.07.2017 / 18:05
1
answer

Laravel 5.4 - Insert data from Droplist and Checkbox in BD

I already have the migrations of three tables, TABLE1: 'names' that contains 'id' and 'name'. TABLE 2: 'sports' containing 'id' and 'name', these two tables already contain names and sports. TABLE 3: 'ids' contains 'id', 'names_id' and 'sports_i...
asked by 28.06.2017 / 22:08
1
answer

Error deleting a record in laravel

In my next code, I want to delete a picture of the system using AJAX but at the time of making the request, I throw the previous error    Error: The requested method DELETE is not allowed for the URL my code is as follows Route: Ro...
asked by 28.06.2017 / 16:33
0
answers

Error inserting row laravel 5.1 ORM mysql

I have this code in a laravel model: Log::info($this->TAG.'.trySave ('.session()->getId().')', ['msg' => 'We are gonna to save an order with shopify_id: '.$this->shopify_id]); $this->save(); Log::info($this->TAG.'.trySave ('....
asked by 22.06.2017 / 20:54
2
answers

Check that there is a request in a route post

I have a form on the localhost page: 8000 / package that is sent to the url localhost: 8000 / book using the post method, everything works perfect, but if in the address bar I type localhost: 8000 / book and I give enter throws me the following...
asked by 23.06.2017 / 18:38
1
answer

Help with a cycle

I have the following code that only saves the first image of the select, as I develop the cycle so that it saves all the selected images: if(Input::file('img')) { $subir = $this->file->upload('categorias',Input::file('img'));...
asked by 21.06.2017 / 19:42
1
answer

How to use multiple authentication passport in Laravel?

the file auth.php I have the following code 'guards' => [ 'web' => [ 'driver' => 'session', 'provider' => 'users', ], 'api' => [ 'driver' => 'passport', 'provider' => 'users',...
asked by 15.06.2017 / 18:23
1
answer

Sessions php and cookies (laravel)

Can php (laravel) sessions be used or started if browser cookies are disabled? The problem is that when I disable cookies in my browser and send a form I get the following error:     TokenMisMatchException     in VerifyCsrfToken.php (line 68)...
asked by 15.06.2017 / 17:34
1
answer

Retrieve the labels of a food

I have a Many To Many relationship between Food and Labels. The problem is that when I want to edit a food in the view to edit it, I want to retrieve the different assigned labels but these are collected in the creation view through a checkbox a...
asked by 20.06.2017 / 13:47
1
answer

Call to a member function getClientOriginalName () on null

I get the following error when registering the name of the path in bd, in this case if you save the image in the server folder but not in bd, this is in Laravel Driver code public function store(Request $request) { $file = $reques...
asked by 20.06.2017 / 17:39