Questions tagged as 'laravel'

1
answer

Create post with ajax and laravel

Greetings to all, I have an inconvenience with ajax and I am quite new with js, I have a comment system in laravel, I have already managed to edit the comments through ajax but now I have a problem when creating them, this is my code. Here co...
asked by 11.06.2017 / 06:41
3
answers

Each returns null in relations laravel 5.4

I have been practicing laravel and there is something that does not work for me and I do not finish understanding or reviewing the documentation. It turns out that I want to call the related objects between tables to get their other da...
asked by 21.07.2017 / 06:44
0
answers

how to create a query in eloquent to show a table with dates in laravel?

What I want to do is a table like this that is painted in excel with a query in eloquent de laravel what happens is that I already try several codes without success the only one that works is the one that I put in the post but only for the sql e...
asked by 25.05.2017 / 05:50
2
answers

Laravel 5 WithInput error

I am trying to have an error in the login form return me to the record view keeping the data in the form. with a return back () -> withInput and it makes the return correctly but it does not show me my data here is the code: RegistryController:...
asked by 05.03.2018 / 12:34
1
answer

Error with Font Awesome in Laravel

I'm making a website with Laravel . But when I add the icon library Font-Awesome , the iconos do not come out and I get this error in console: What can be the error? The css and the fonts are inside t...
asked by 08.11.2016 / 18:42
2
answers

Laravel views does not work Session: :( 'message'), nor the Auth :: user () -

I have a problem with Laravel 5.2. At the moment of authenticating the user and redirecting to the home or login depending, the messages that I create by Session::flash() do not appear and on the home page when I try to show the name o...
asked by 06.03.2016 / 19:08
1
answer

Referential integrity problems and how to restore migrations in Laravel 5

Hi, I had some referential integrity problems making a model. Basically I had an article with a category and tags For tags create another table that has the id of the article and the tag, since it may contain more than one. Here I had the fir...
asked by 15.09.2016 / 19:33
1
answer

return answer with json from laravel and access it with jquery

Greetings community! I'm doing the following Of the customer day with Jquery    In the next function I get an email and send it with ajax using everything right here   How could I return a json array from the server and access it from JQu...
asked by 09.10.2016 / 05:02
2
answers

Problem with routes in Laravel

This is the content of the laravel routes file (web.php) Route::prefix('compra')->group(function () { Route::get('usuario', 'FrontControllerCompras@pideUsuario'); Route::post('consulta-usuario', 'FrontControllerCompras@consultaUsuar...
asked by 13.10.2017 / 16:35
1
answer

CSS Routes Laravel Template

I am following an example of Laravel exercise and I would like to know if I can transform this: <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="/css/override.cs...
asked by 02.10.2017 / 09:58