Laravel “Specified key was too long” error solution

For laravel 5.7 to 6.0 Steps to followed Go to App\Providers\AppServiceProvider.php. Add this to provider use Illuminate\Support\Facades\Schema; in top. Inside the Boot function Add this Schema::defaultStringLength(191); that all, Enjoy. https://stackoverflow.com/a/51039039/2132069

önce , admin tarafından

Cyberpanel foreign key hatası

Cyberpanelden bir user silerken şu hatayla karşılaşabiliriz: (1452, ‘Cannot add or update a child row: a foreign key constraint fails (`cyberpanel`.`domains`, CONSTRAINT `domains_admin_id_c9d09cb8_fk_loginSystem_administrator_id` FOREIGN KEY (`admin_id`) REFERENCES `loginSystem_administrator` (`id`))’) Hatadan da anlaşılacağı gibi bu bir foreign key hatası. Yani iki tablo arasındaki ilişkiden kaynaklanan bir hata. loginSystem_administrator.id kolonu domains.admin_id kolonuna Devamı…

önce , admin tarafından

Ubuntu 20 And Old Python Versions

Python 3.8 is default python in Ubuntu 20. But some libraries don’t support this version. For this we must install lowest versions and set them default. Easiest way is that using APT. # sudo add-apt-repository ppa:deadsnakes/ppa # sudo apt-get update # sudo apt-get install python3.7 You can install Python 3.6, Devamı…