Angular 5 Transclusion

If you worked with AngularJS, you may be familiar with the term transclusion and the ngTransclude directive. Angular replaces the term transclusion with content projection, but…

Hanna

Laravel 5.4 Specified key was too long

#laravel #php #error

I installed a new Laravel 5.4 project, then tried to run the already existing migrations (without changing anything besides my DB name and user &…

Hanna

Ionic not working with Angular limitTo

#ionic #AngularJS #limitTo

I had a simple view, with some items and when clicking a button I wanted to load more items. The items were loaded, but the view…

Hanna

Laravel - Session Destroy

#laravel #session #destroy

I encountered the following situation: a user logs out, clicks on the back button of the browser, and then the user is logged in again. Laravel…

Hanna

MySQL said: 'reading initial communication packet', system error: 0

#mysql #system error

I use Sequel Pro and got this error when trying to connect to my database: MySQL said: Lost connection to MySQL server at 'reading initial communication…

Hanna

Failed opening required '.../vendor/autoload.php'

#laravel #error #autoload.php

I was trying to do a composer install and got this error: PHP Fatal error: require(): Failed opening required 'my_path/bootstrap/../vendor/autoload.php' (include_…

Hanna

Vagrant error: Your VM has become inaccessible.

#vagrant #error

If you are getting this error you have probably deleted a virtual machine file, which is still referenced by one of your projects. Trying to run…

Hanna

Install and Configure Elasticsearch on Ubuntu 14.04

#elasticsearch #ubuntu #search

If you are here, I assume you know what Elasticsearch (ES) is, a platform for distributed search and analysis of data in real time. It's easy…

Hanna