mutluay-daşdemir

Jun 23rd, 2017 11:35 PM

I encountered a problem during installation: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table categories add unique categories_slug_unique(slug))

After that, the "404 Sorry, this page could not be found" window appears.

How can I solve this problem?

mark

Jun 28th, 2017 09:35 AM

Off-topic: Seems there are some spam here, pinging @Admin to remove it.

However @Mutluay-daşdemir, this is an easy fix. You can read the details here: https://laravel-news.com/laravel-5-4-key-too-long-error