skip to Main Content

Continue Laravel scout:import where it left

I have a huge amount of data imported in my Typesense using Laravel command scout:import. And I need to stop after some time and continue where it left. I found this: https://laracasts.com/discuss/channels/laravel/skip-some-records-with-scoutimport but it always gives me All [AppModelsUser] records…

VIEW QUESTION

Laravel File Not Writing

this is my laravel code, however im having problems writing down in the locales files. If i only right the title it works, however if i also add the description only the description is written and the title ignored. I…

VIEW QUESTION

error while running my php laravel program

IlluminateDatabaseQueryException could not find driver (Connection: mysql, SQL: select * from `site_settings` order by `created_at` desc limit 1) at vendorlaravelframeworksrcIlluminateDatabaseConnection.php:829 825▕ $this->getName(), $query, $this->prepareBindings($bindings), $e 826▕ ); 827▕ } 828▕ ➜ 829▕ throw new QueryException( 830▕ $this->getName(), $query, $this->prepareBindings($bindings), $e…

VIEW QUESTION

i Have Error with making the Auth Logic in Laravel

this is my login logic when i try it give me error down blow public function login(Request $request) { $request->validate([ 'Email'=>'required', 'password'=> 'required' ]); $agent = DB::table('agents')->where('Email',$request->Email)->first(); if($request->password == $agent->password || Hash::check($request->password,$agent->password)) { Auth::login($agent); return redirect()->route('agent.index'); } else { return…

VIEW QUESTION
Back To Top
Search