Showing posts with label solution. Show all posts
Showing posts with label solution. Show all posts

Thursday, March 1, 2018

Laravel Error Illuminate\Support\Manager::createDriver()

I just got error in my laravel project, and the error was Illuminate\Support\Manager::createDriver() . I was able to solve this problem, so ...

Sunday, January 21, 2018

Laravel 5.5 error No application encryption key has been specified.

This morning when i clone one of repository on my github (this repo is based on laravel 5.5) to another computer, i got an error RuntimeExce...

Sunday, December 10, 2017

Laravel 5.5 error Base table or view already exists

Yesterday when i'm going to create new migration for table called 'articles' i got an error message when i run the php artisan m...

Wednesday, May 3, 2017

Insert using DB table doesnt update timestamp

In laravel there are two ways to insert data/record, using DB table or using model, but i found a problem when inserting the data using DB t...

How to update timestamp in Laravel

In laravel usually you have created_at and updated_at field in your database table, these are timestamps() that you define in your larave...

Tuesday, May 2, 2017

How to add primary key to Laravel model?

If you did not specify primary key in your model, laravel will assume the primary key of the table is 'id', so for example your prim...