skip to Main Content

Login Authentication in Laravel 10

I am trying login authentication but showing an error message. Hope an expert helps me to get the solution. This is my HTML code: <form action="{{url('/')}}/login" method="post"> @csrf <div class="fields"> <div class="input-field"> <label for="un" >UserName</label> <div class="inpt"> <input type="text" id="un"…

VIEW QUESTION

Laravel – Integrity constraint violation: 1048 Column 'image' cannot be null

I am confused about this error guys. I have no idea what is wrong here. edit.blade: <input type="file" name="image" class="form-control" placeholder="image"> Controller: public function update(Request $request, $id) { $sales = sales::find($id); $request->validate([ 'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048', ]); if ($request->hasFile('image')) { $destination_path…

VIEW QUESTION

Php versions – Undefined method 'save'

my method save is undefined, i dont know why. this is about my laravel/php: Environment ......................................................... Application Name ............................................ Laravel Laravel Version ............................................. 10.14.1 PHP Version ................................................... 8.2.4 Composer Version .............................................. 2.5.8 Environment ................................................... local Debug Mode .................................................. ENABLED URL…

VIEW QUESTION
Back To Top
Search