Post Thumbnail

Latest review not comes when submit using review form

hi using submit review form latest review not comes .  review is child component i pass reviews data through props.. when submit form then latest review not comes on form submit.  thanks 

0 Comments
Post Thumbnail

Target class not found

i have some component in my web app, its working perfectly on local host but after deployment i started getting some error message saying target class not found and its error free on localhost, though i have check ome troubleshooting steps but its not still working. i will be glad to get help from here.

0 Comments
Answered
Post Thumbnail

Captcha code

Dear Sir/Ma'am,I need a captcha code in laravel10.7.1 in Auth Login Page. Could u please guide me which code i should use. please provide me valid package name.

0 Comments
Answered
Post Thumbnail

Github actions to deploy laravel application on shared hosting

I've setup github actions on my project and its working fine, apart from one issue, its taking too long to sync file changes. I've watched your video series on github actions and some other youtubers and kind of mixed the approaches. I've cached the composer dependencies so they won't be installing on every run, thereby reducing the files to sync. Now, one thing it takes a lot of time to push the changes as you can see. Is there any other way to reduce this time...Also one other thing, I've migrated the project from Laravel 10 to Laravel 11 and in the Low Impact changes section, there's a package named Doctrine which they say is no longer being used in the Laravel. I wanna ask if is it safe to remove that package & whats' the best way to remove it. Currently, in my mind, I can think of only removing it from composer.json and then run composer update.Is this a right approach?

1 Comment
Solved
Post Thumbnail

Multi-step form not submitting to database

Whenever I click on submit button it does not, it will not submit, it will not show any error message. The submit button does not work when i click on it.Here is the form:```@extends('admin.admin_dashboard')@section('admin')<div class="page-content"> <!--breadcrumb--> <div class="page-breadcrumb d-none d-sm-flex align-items-center mb-3"> <div class="breadcrumb-title pe-3">Register Crime</div> <div class="ps-3"> <nav aria-label="breadcrumb"> <ol class="breadcrumb mb-0 p-0"> <li class="breadcrumb-item"><a href="javascript:;"><i class="bx bx-home-alt"></i></a> </li> <li class="breadcrumb-item active" aria-current="page">Crime</li> </ol> </nav> </div> <div class="ms-auto"> <div class="btn-group"> <button type="button" class="btn btn-primary">Settings</button> <button type="button" class="btn btn-primary split-bg-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown"> <span class="visually-hidden">Toggle Dropdown</span> </button> <div class="dropdown-menu dropdown-menu-right dropdown-menu-lg-end"> <a class="dropdown-item" href="javascript:;">Action</a> <a class="dropdown-item" href="javascript:;">Another action</a> <a class="dropdown-item" href="javascript:;">Something else here</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="javascript:;">Separated link</a> </div> </div> </div> </div>   <!--end breadcrumb-->   <!--start stepper one-->          <h6 class="text-uppercase">Crime Registration Form</h6>     <hr> <div id="stepper1" class="bs-stepper">   <div class="card"> <div class="card-header"> <div class="d-lg-flex flex-lg-row align-items-lg-center justify-content-lg-between" role="tablist"> <div class="step" data-target="#test-l-1">   <div class="step-trigger" role="tab" id="stepper1trigger1" aria-controls="test-l-1"> <div class="bs-stepper-circle">1</div> <div class=""> <h5 class="mb-0 steper-title">Crime Form 1</h5> <p class="mb-0 steper-sub-title">Enter Crime Details</p> </div>   </div> </div> <div class="bs-stepper-line"></div> <div class="step" data-target="#test-l-2"> <div class="step-trigger" role="tab" id="stepper1trigger2" aria-controls="test-l-2">   <div class="bs-stepper-circle">2</div>   <div class="">   <h5 class="mb-0 steper-title">Crime Form 2</h5>   <p class="mb-0 steper-sub-title">Enter Crime Details</p>   </div> </div>   </div> <div class="bs-stepper-line"></div> <div class="step" data-target="#test-l-3"> <div class="step-trigger" role="tab" id="stepper1trigger3" aria-controls="test-l-3">   <div class="bs-stepper-circle">3</div>   <div class="">   <h5 class="mb-0 steper-title">Crime Form 3</h5>   <p class="mb-0 steper-sub-title">Enter Crime Details</p>   </div> </div>   </div>   <div class="bs-stepper-line"></div> <div class="step" data-target="#test-l-4"> <div class="step-trigger" role="tab" id="stepper1trigger4" aria-controls="test-l-4"> <div class="bs-stepper-circle">4</div> <div class=""> <h5 class="mb-0 steper-title">Crime Form 4</h5> <p class="mb-0 steper-sub-title">Enter Crime Details</p> </div> </div> </div>   </div> </div>     <div class="card-body">   <div class="bs-stepper-content"> <form method="POST" action="{{ route('crime.store') }}" enctype="multipart/form-data">                    @csrf   <div id="test-l-1" role="tabpanel" class="bs-stepper-pane" aria-labelledby="stepper1trigger1"> <h5 class="mb-1">Crime Information</h5> <p class="mb-4">Enter Details of the Crime</p> <div class="row g-3"> <div class="col-12 col-lg-6"> <label for="InputCountry" class="form-label">Crime Type</label> <select class="form-select" name="crime_type" id="InputCountry" aria-label="Default select example"> <option selected>Select Crime</option> @foreach($categories as $category)                    <option value="{{ $category->id }}">{{ $category->category_name }}</option>                  @endforeach   </select> </div> <div class="col-12 col-lg-6"> <label for="FisrtName" class="form-label">Crime Date</label> <input type="date" class="form-control" name="crime_date" id="CrimeDate" placeholder="First Name"> </div> <div class="col-12 col-lg-6"> <label for="LastName" class="form-label">Crime Time</label> <input type="time" class="form-control" name="crime_time" id="CrimeTime" placeholder="Last Name"> </div> <div class="col-12 col-lg-6"> <label for="PhoneNumber" class="form-label">Location</label> <input type="text" class="form-control" name="location" id="location" placeholder="Crime Location"> </div> <div class="col-md-12"> <label for="input23" class="form-label">Description</label> <textarea class="form-control" name="description" id="input23" placeholder="Crime Descriotion ..." rows="3"></textarea> </div> <div class="col-12 col-lg-6"> <button class="btn btn-primary px-4" onclick="stepper1.next()">Next<i class='bx bx-right-arrow-alt ms-2'></i></button> </div> </div><!---end row-->   </div>   <div id="test-l-2" role="tabpanel" class="bs-stepper-pane" aria-labelledby="stepper1trigger2"> <h5 class="mb-1">Crime Information</h5> <p class="mb-4">Enter Details of the Crime</p> <div class="row g-3"> <div class="col-12 col-lg-6"> <label for="InputEmail" class="form-label">Reported By</label> <input type="text" class="form-control" name="reported_by'" id="InputEmail" placeholder="Reported By"> </div> <div class="col-12 col-lg-6"> <label for="InputCountry" class="form-label">Priority</label> <select class="form-select" name="priorit" id="InputCountry" aria-label="Default select example"> <option value="1">Low</option> <option value="2">Medium</option> <option value="3">High</option>   </select> </div> <div class="col-12 col-lg-6"> <label for="InputCountry" class="form-label">Status</label> <select class="form-select" name="status" id="InputCountry" aria-label="Default select example"> <option value="open">Open</option> <option value="closed">Closed</option> <option value="in-progress">In-progress</option>   </select> </div> <div class="col-12 col-lg-6"> <label for="InputEmail2" class="form-label">Police Report Number</label> <input type="text" class="form-control" name="police_report_number" id="InputEmail2" placeholder="Police Report Number"> </div> <div class="col-12 col-lg-6"> <label for="InputPassword" class="form-label">Anonymous</label> <select class="form-select" name="anonymous" id="anonymous" aria-label="Default select example"> <option value="open">False</option> <option value="closed">True</option> </select> </div> <div class="col-12"> <div class="d-flex align-items-center gap-3"> <button class="btn btn-outline-secondary px-4" onclick="stepper1.previous()"><i class='bx bx-left-arrow-alt me-2'></i>Previous</button> <button class="btn btn-primary px-4" onclick="stepper1.next()">Next<i class='bx bx-right-arrow-alt ms-2'></i></button> </div> </div> </div><!---end row-->   </div>   <div id="test-l-3" role="tabpanel" class="bs-stepper-pane" aria-labelledby="stepper1trigger3"> <h5 class="mb-1">Crime Evidence</h5> <p class="mb-4">Upload Photo of the Crime</p> <div class="row g-3"> <!-- Upload evidence photo --> <div class="row"> <div class="col-xl-9 mx-auto"> <hr/> <div class="card"> <div class="card-body"> <input id="image-uploadify" name="image" type="file" accept=".jpg, .png, image/jpeg, image/png" multiple> </div> </div> </div> </div> <!-- End Upload evidence photo --> <div class="col-12"> <div class="d-flex align-items-center gap-3"> <button class="btn btn-outline-secondary px-4" onclick="stepper1.previous()"><i class='bx bx-left-arrow-alt me-2'></i>Previous</button> <button class="btn btn-primary px-4" onclick="stepper1.next()">Next<i class='bx bx-right-arrow-alt ms-2'></i></button> </div> </div> </div><!---end row-->   </div>   <div id="test-l-4" role="tabpanel" class="bs-stepper-pane" aria-labelledby="stepper1trigger4"> <h5 class="mb-1">Crime Information</h5> <p class="mb-4">Enter Details of the Crime</p> <div class="row g-3"> <div class="col-12 col-lg-6"> <label for="Experience1" class="form-label">Suspect Name</label> <input type="text" class="form-control" name="suspect_name" id="Experience1" placeholder="Suspect Name"> </div> <div class="col-12 col-lg-6"> <label for="Position1" class="form-label">Assigned To</label> <input type="text" class="form-control" name="assigned_to" id="Position1" placeholder="Assigned To"> </div> <div class="col-12 col-lg-6"> <label for="Experience2" class="form-label">Action Taken</label> <textarea class="form-control" name="action_taken" id="input23" placeholder="Action Taken ..." rows="3"></textarea> </div> <div class="col-12 col-lg-6"> <label for="PhoneNumber" class="form-label">Additional Comments</label> <textarea class="form-control" name="additional_comments " id="input23" placeholder="Additional Comments..." rows="3"></textarea> </div> <div class="col-12"> <div class="d-flex align-items-center gap-3"> <button class="btn btn-primary px-4" onclick="stepper1.previous()"><i class='bx bx-left-arrow-alt me-2'></i>Previous</button> <button type="submit" class="btn btn-success px-4" >Submit</button> </div> </div> </div><!---end row-->   </div> </form>   </div>     @endsection```

1 Comment
Solved
Post Thumbnail

Clear text password submission in login page

Actually i am getting issue regarding Clear text password submission in login page. could u please provide me any way in login page so that no one can see my entered password.

1 Comment
Answered
Post Thumbnail

Laravel blade page not working

my code not working showing only a blank page i am also trying (php artisan cache:clear) and (php artisan view:clear) but still same problem not showing anything if i am use @include then showing 500 error please help me what i do

0 Comments
Answered
Post Thumbnail

Images store

I am using laravel spatie package for image I wanted to ask that currently I am storing images in the local storage but when I wanted to deploy a website should I store images in local storage or use any other cloud image storage like Amazon S3 , need your guidance, thank you

0 Comments
Solved