Questions tagged as 'laravel-5'

0
answers

Create virtual host for Laravel in xampp using port 8003

I am trying to create a virtual host for my project in Laravel using Xampp. Already add 127.0.0.1 proyecto.com in the file hosts of C:\Windows\System32\drivers\etc Change the value 80 to 8003 in the file httpd...
asked by 07.10.2018 / 05:08
1
answer

Fill a PHP select Laravel

I have this select function that what it does is select the customer table and select them by country, in which if you bring the data this in the Client's driver. public function select(){ $data = DB::select('select * from clientes where...
asked by 25.10.2018 / 01:08
0
answers

Relate tables with string type fields with laravel

I have some tables already related from the migration since the fields are of type int and contain a single value: $table->unsignedInteger('user_id'); $table->foreign('user_id')->references('id')->on('users'); $table->unsignedIn...
asked by 08.10.2018 / 14:25
0
answers

Get the URL of a friend in laravel

I have an index driver that shows me all the records (without filters) of the query: id, title, description, province, city among others on the main page Each one of them, when shown on the main page, generates a link to show the detail of...
asked by 08.10.2018 / 18:37
0
answers

Error executing artisan serve

Good evening at the moment of starting the laravel project I get this error in the command line, I really do not know what should be said that the error is in this file     
asked by 09.10.2018 / 02:35
0
answers

Error in Laravel when doing vagrant up

I'm trying to create the environment to develop in laravel, and it gives me the following error when doing: vagrant up. Does anyone know what may be due? I have tried everything, I have the latest version of virtual box and I have modif...
asked by 10.10.2018 / 19:01
0
answers

New js not recognized in web host

To put in context, a web page in a shared hosting, with development in local scope, both javascript that will put down work correctly in local area (localhost: 8000) Both URL and code in the template only change the name of the file, both files...
asked by 21.09.2018 / 15:29
1
answer

How to use Driver in a vue.js?

I found this comment related to the use of vue.js but in reality I could not make it go in my case I have the vue component related to the view This is my User.Controller driver in the view "users.blade" command call my compone...
asked by 01.10.2018 / 17:33
0
answers

Font Awesome in Laravel 5.7

I'm trying to include Font Awesome to a Laravel 5.7 Project. For this I did this: 1) npm install --save-dev @fortawesome/fontawesome-free --check and the folder is in node_modules 2) In Resources / sass / app.scss I add this: $...
asked by 20.09.2018 / 20:47
1
answer

Code error: 42000. MYSQL

Good day I'm installing a laravel script on a vps and use a remote database, when I run the migration it throws me the error Code error: 42000. SQLSTATE[42000]: Syntax error or access violation: 1227 Access denied; you need (at least one of)...
asked by 16.09.2018 / 01:47