when I run php artisan migrate to migrate this Schema public function up() { Schema::create(‘transaction_ins’, function (Blueprint $table) { $table->bigIncrements(‘id’); $…
Tag: laravel-6
Laravel 6 – Missing required parameters for [Route: suppliers.destroy] [URI: suppliers/{supplier}]
i have index page with a button to remove a column from a table. @foreach ($suppliers as $supplier)
…
CSRF token mismatch Laravel ajax delete data
I want to delete data from a database with an ajax call but it’s showing an error. CSRF token mismatch In header: In blade: AJAX call: Controller: Answer This is what I usually do : [AJAX CALL]
Getting 404 in laravel 6.x
I have created ApiController in AppHttpControllersApiv1 Also created auth using laravel/ui Default created function for front end working perfectly. But issue is when try to call the …
Connecting To Firestore Using Laravel 6 Not Working
I’ve been trying to insert data into firestore using my laravel 6 application and it looks like its trying to connect to mysql. I’ve tried to remove the db part in my .env file: DB_CONNECTION=mysql …
Laravel 6 artisan package:discover rename bootstrap/cache/packages
After composer update I got an error: In Filesystem.php line 146: rename(/var/www/bootstrap/cache/packages.phpE7r5E4,/var/www/bootstrap/cache /packages.php): No such file or directory Artisan commands don’t work anymore. Already tried: Answer I found the problem, my windows docker (version 2.1.0.3) sometimes fails to execute. I don’t know how it looks like the packages.php file just got locked. So here is the recipe to fix: I
Laravel 6: Class ‘Form’ not found
I have a fresh Laravel 6 and I try to use Laravel forms but I got the error saying “Class ‘Form’ not found “. I tried the followings but still not working: 1). Add this to composer.json “require”: {…
Class AppHttpControllersManagerLoginController does not exist
I have been making a custom multi-auth and got the following error: Class AppHttpControllersManagerLoginController does not exist I have been searching for this error but couldn’t find the solution. I have attached the screenshot from my controller in the directory. ManagerLoginController.php web.php Answer Since ManagerController is not in root Controllers you need to specify namespace in your routes. It is