Questions tagged as 'laravel'

1
answer

Laravel Project 5.6. The routes do not work for me, what do I have to do in the .htaccess?

I have uploaded my project to shared hosting, and modify the index.php file and the .env file. It shows me the main page (Login), but when entering the username and password it does not recognize the routes, what I did not do is modify the ht...
asked by 04.06.2018 / 02:33
0
answers

Upload project laravel 5.6 to Hosting

I finished my laravel project in version 5.6 and I need to upload it to hosting to implement it, some way, and try what is on the web, but it does not work, I uploaded it, modify the file index.php, the file .env ... will there be something else...
asked by 03.06.2018 / 20:31
2
answers

How to get user data related to the same model in Laravel

How can I get the data of another user, which is referenced from the same user model in Laravel? Keeping in mind that user has these columns in their migration: Schema::create('users', function (Blueprint $table) { $table->increm...
asked by 08.06.2018 / 13:21
1
answer

Load events Fullcalendar Laravel JQuery

I am working with fullcalendar and laravel, I bring the data from the contractor, since they are shown in the console, but I can not make them appear in the calendar. This is my code: routes.php Route::get('events','EventsController@showEve...
asked by 08.06.2018 / 04:46
0
answers

Laravel - textarea with several lines - Query Builder

I have a question and I do not know how to solve it ... I'm with my first project in Laravel and when I make an insert with the query builder of a field that was a multiline textarea, it removes all the line breaks. How do I keep it? Greet...
asked by 08.06.2018 / 10:53
0
answers

Receive foreach from Laravel

I have several dynamic select>option , by js , receive the foreach generated from a list from the controller without leaving my view, this to implement old() , since if I generate my selec>option from the co...
asked by 01.06.2018 / 18:34
0
answers

Sessions laravel

class ControlController extends Controller { public function anyadirCarrito($id, $quan) { $productoCarrito = (object)array( 'id' =>$id, 'cantidad' => $quan, ); \Session::push('cart', $prod...
asked by 29.05.2018 / 23:01
0
answers

VirtualHost with Laravel and Xampp

I have a query when configuring the virtual host with a laravel project every time I put localhost redirects me to the laravel project, and if I wanted to change to another one that is in my folder htdocs does not allow me and I wanted to know i...
asked by 21.06.2018 / 19:47
1
answer

Get the id of a database column

I am trying to find the id of a sale in order to update the detail table Sale. This when that sale has already been charged. I have a function in this way, in the sale table it looks for and updates the id of the sale but in its detail it doe...
asked by 21.06.2018 / 20:50
1
answer

Stored Procedure Laravel

How do I insert records into two related tables from a stored procedure in laravel? That is, register the user and then retrieve the id to insert information in another table.     
asked by 31.05.2018 / 04:00