Questions tagged as 'laravel-5'

2
answers

You doubt about queries in MySql and pass data in laravel to a view

I have a question about the query tables in Mysql, I want to get different data about a survey and then add this data. I understand that I have to call my data on the 3 tables so SELECT Orders.OrderID, Customers.CustomerName, Shippers.Shipp...
asked by 30.08.2018 / 20:50
1
answer

How can I save data in js without getting stuck when the page is reloaded? ANGULAR

I am creating an application but I need that the objects that are inside an array are not lost if the page is reloaded, I do not know if it is possible through an angle service, or through some function. Thanks and Regards     
asked by 11.12.2017 / 20:28
1
answer

Error: Class '\ App \ User' not found in Laravel

Hello I was doing a project and then we decided to make a new driver and models, I'm new to laravel and I do not understand the flow perfectly, I in my routes I already point to my new controller and use the same views but not I know I ma...
asked by 18.02.2018 / 17:57
1
answer

Why is it saved with brackets in my bd when I check the text of a combobox in laravel?

I try to get the text of a combobox from the controller so I make a query to the bd with the value of the combobox obtained but when I save it it does it with the following format ["Plant I"] (I do not know why it keeps me with bracket and quote...
asked by 18.12.2017 / 13:29
1
answer

Know if there are related elements in a [closed] table

I am using one-to-many relationships in the models and I wanted to know how to be sure there are no related items in the table. For example, how can I find that the song record with id 3 is not within the musical genre table?     
asked by 27.06.2017 / 17:07
2
answers

MercadoPago with laravel 5.4 error notifications

I am using to integrate mercadopago a laravel a package of link and configure the button and when configuring the url of notifications in Mercadopago throws me the following error:    The entered URL does not respond to a correct HTTP statu...
asked by 06.06.2017 / 17:39
1
answer

How to configure laravel project on Ubuntu VPS Server?

I currently have a laravel project hosted on a vps server in the following path "/ var / www / html" but I have the disadvantage that only when I enter the IP address is it: link shows me the index of apache2 which is the one that comes by d...
asked by 18.03.2018 / 04:06
1
answer

Select a record of an array in Laravel 5.3

Hi, I want to select a data that is stored in an array, for example the data I need is in position 1, but I do not know how to select it: My controller is the following, I have minimized it for greater understanding: public function l...
asked by 12.02.2017 / 07:13
1
answer

FatalErrorException in Book.php line 12: syntax error, unexpected 'public' (T_PUBLIC)

Good morning. I am currently in Laravel making an application for the management of a library and when entering the model a method to upload a file I get this error:    FatalErrorException in Libro.php line 12: syntax error, unexpected   'p...
asked by 09.01.2017 / 10:45
1
answer

Laravel 5.4: Do not load the routes in virtualhost (Error 404)

I have almost-successfully configured a virtualhost using Apache to work with Laravel 5.4 (initially I was working with Homestead but "x" reasons I am now working locally). The problem is that even if you manage to load the initial page, I ca...
asked by 17.08.2017 / 01:08