213,029
questions
0
votes
0
answers
5
views
Currently, i'm working on attendance part which user can clock in and clock out
So supposedly, when user open the system only the clock in button enable, while clock out button disable. when user clicks on the clock in button, the button will be disabled and clock out button ...
1
vote
0
answers
30
views
Issue with gross Calculation in my Laravel Management Application "Get 'totalIndemnitiesBrutAmount' automatically"
Subject: Issue with Dynamic Gross Calculation in Laravel Agent Management Application
Context:
I am working on a Laravel-based agent management and payment application, specifically focusing on ...
0
votes
1
answer
23
views
Property [nama_guru] does not exist on this collection instance
I’m working on a feature to display teacher data grouped by category (guru_category). Below is the code I’m using:
public function showGuru(Request $request)
{
$search = $request->input('search'...
0
votes
0
answers
11
views
Call to undefined method Intervention\Image\EncodedImage::getRealPath()
<?php
use Intervention\Image\Image;
class WatermarkStrategy
{
/**
*
* @param mixed $fileImage uploaded file
* @return Image
*/
public function snap($fileImage): ...
1
vote
0
answers
32
views
I can't install the GRPC extension for PHP [closed]
I tried installing GRPC on Laradock in various ways.
First in laradock/php-fpm/Dockerfile:
RUN apt-get update && apt-get install -y -q git rake ruby-ronn zlib1g-dev && apt-get clean
...
2
votes
2
answers
27
views
Storage::put creates file always with hash name instead of what is provided
I have a simple disk configuration like
'uploads' => [
'driver' => 'local',
'root' => storage_path('app/uploads'),
'throw' => false,
],
When I call
$full_path = Storage::disk("...
-3
votes
0
answers
33
views
How to use Laravel's view components in Vue.js loops?
I have this component in my Laravel project in the file 'loading.blade.php':
<span><i {{ $attributes }}></i> {{ $slot }}</span>
I'm trying to use it in a Vue.js loop:
<tr v-...
0
votes
1
answer
19
views
I need to implement inline edit on my filamentphp 3 resource view page
I am working on Laravel 11 and Filament php3. Now I need to implement inline edit on my resource view page. In my view page I am using info list builder to show content. So in a short I need implement ...
0
votes
1
answer
24
views
How to log unexpected data deletions in Laravel when no explicit delete operation is called?
I'm working on a Laravel application and have encountered an issue where some data is being deleted unexpectedly, but I can't identify where the deletion is occurring. I am using the following code to ...
0
votes
0
answers
17
views
Is there any solution for the rsync permission denied for public key?
I am setting the CI/CD for AWS ec2 instance using github actions so that as soon as I push the code it reflects to the instance. I am developing a project in laravel.
Trying to solve the error for ...
0
votes
0
answers
39
views
How to automate daily or monthly POST API requests in Laravel? [closed]
I am working on a Laravel application where I need to implement an automated feature to send POST requests to another application at a scheduled time (e.g., daily or monthly).
Here is the workflow I ...
0
votes
1
answer
44
views
I got this error Call to undefined method App\\Models\\User::assignRole()
I have a small app & I'm using Laravel 11 and I try to expose only the UILD and not IDs
and I got "Call to undefined method App\Models\User::assignRole()"
User.php
<?php
...
0
votes
0
answers
8
views
Display multiple data on multiple Larapex Charts
I'm working on a laravel dashboard that needs to display several charts at once. I'm using Larapex Charts to display those charts. Everything was going well until I had to display more than one data ...
0
votes
2
answers
37
views
Login Route and Controller
My Blade file code is like below.
<form action="{{ route('login') }}" method="post" class="row mt-4 align-items-center">
<input type="hidden" name=&...
0
votes
0
answers
39
views
Most efficient way of generating and storing Eloquent Model stats
I'm building an application where users can sign petitions - each petition would have a subject attribute and a location attribute. I would have a landing page for each subject, a landing page for ...
-1
votes
1
answer
21
views
403 Forbidden in Laravel
Description:
Whenever I visit the URI '/storage/decode/hello' the 403 error is shown, but when I go to '/storage/decode' URI, then the code works perfectly fine.
Route::prefix('storage')->match(['...
-3
votes
0
answers
30
views
Integrate ckeditor with the laravel-admin (Laravel 11) [closed]
I Installed Laravel-Admin on Laravel v11 using:
composer require encore/laravel-admin:dev-master -W
And now I am trying to integrate ckeditor with the admin and I always get the following:
- Root ...
0
votes
0
answers
10
views
Laravel + Inertia crud - update
I'm pretty new to this, and I'm trying to do update. I don't know how to pass the data for a single row.
web.php:
Route::get('/finances', [FinancesController::class, 'index'])
->name('finances....
0
votes
0
answers
23
views
Error "This site can’t be reached, localhost refused to connect" after upgrading to Laravel 11 while sending data to Firestore
I am working on a Laravel project that uses Firebase Firestore to manage some data. Initially, I was using Laravel 9, and everything worked fine. However, after upgrading to Laravel 11, I encountered ...
-1
votes
0
answers
12
views
Why laravel/spatie query builder filters with null value dosen't work [duplicate]
I tried to filter my query builder with a null value
I did this :
return QueryBuilder::for(Invoice::class)
->allowedIncludes('equipments')
->allowedFilters(
...
0
votes
1
answer
26
views
Pest tests in Laravel 11 returns 404
I have generated a new project. It is mainly an API and I want to add tests with Pest.
I am using Sail for local development and I run the tests through the containers (sail artisan test).
The problem ...
2
votes
0
answers
23
views
AMP page domain mismatch
A few days ago, I received an email notifying me that an unknown user gained access to my Search Console using an unused token. Since then, I’ve been experiencing various errors, and my pages have ...
0
votes
2
answers
43
views
public function getProfiles($account_id)
OK I have a system that generates subscriptions from customers related to
Service,.
Account (email) belonging to that service.
Profile related to the account.
All this is associated to a client, but ...
-2
votes
1
answer
40
views
Why my submit button does nothing whe i click it? [closed]
I'm trying to make some refreshes to an old code with laravel, but i just seem myself in a little trouble
<x-app-layout>
<div class="flex justify-center items-center min-h-screen bg-...
0
votes
1
answer
31
views
Post a form via jquery from a same page where url is slightly changed but working on one url and refreshes the page on other url
I'm facing a weird problem where I have to reach a form page via two methods: create and edit. When posting from the create URL, the same form works perfectly, but whenever I post via edit or re-...
-1
votes
0
answers
19
views
Spatie Laravel-pdf not working on server , even when changing the puppeteer default cache directory [closed]
Spatie Laravel-pdf work in local but not work in server it is puppeteer error , as I search in web and in puppeteer document I change the default puppeteer cache directory
by create .puppeteerrc.cjs ...
0
votes
0
answers
21
views
Amazon Unauthorized Access to requested resource is denied
I am trying form few days used chatGPT also but still no luck i am getting given error
here is the error what i am getting
GuzzleHttp\Exception\ClientException
Client error: `GET https://...
0
votes
0
answers
28
views
Laravel Session isn't working properly – VerifyCsrfToken
I've been handed a Laravel project (10.x) that uses Session for its authentication, and for some reason I cannot figure out why it's not working normally. When I log-in and click "remember me&...
0
votes
1
answer
37
views
Issue with Vite in Production Environment on IIS Laravel
I need help with an issue in my production environment using Laravel and Vite. I've been struggling with this for days without success.
Everything worked fine in development mode, and all assets ...
0
votes
0
answers
11
views
Error: Uncaught TypeError: W is not a function when using Vite in a Laravel project with jQuery
I am working on a Laravel project and trying to use Vite for bundling JavaScript and assets. However, I’m encountering an issue where certain JavaScript functions are not behaving as expected. ...
-2
votes
3
answers
55
views
laravel datatable takes long time to load with only two records
i have the following code with only 2 records of data
my controller :
if (request()->ajax()){
$spareparts = Sparepart::select(DB::raw('DATE_FORMAT(spareparts.created_at,"%d-%m-%...
1
vote
1
answer
22
views
Update Profile Picture works for seeder account but not real user account
so i am trying to make a website using laravel and for there's upload profile picture feature but somehow it only works for a seeder account but not real account and i am not quite sure why. when i ...
0
votes
0
answers
15
views
Node.js WebSocket setup returns 407 and 403 errors on a Red Hat server
I'm trying to implement WebSocket functionality in Node.js on a Red Hat server, but I keep running into issues with HTTP status codes. Initially, my code returned a 407 Proxy Authentication Required ...
0
votes
1
answer
19
views
How to turn off Laravel Context append data for logging
I'm use Laravel Context feature in app (https://laravel.com/docs/11.x/context). And I want to turn off append metadata for Log instance (LoggerInterface) on $debug = false;, and turn on on $debug = ...
1
vote
0
answers
26
views
Laravel 11: Livewire not updating calendar and modal properly
I am using Laravel 11 and created a livewire InvoiceDetail from detail blade which is accessible through /invooice/{id} route
It contains an individual Invoice id but shows list of all invoices for ...
0
votes
0
answers
18
views
Issue with Laravel, Meilisearch, Scout, SQLSRV, and RHEL 7
In my testing environment (Ubuntu 22.04 LTS and MySQL), everything works as expected, but it doesn't work on RHEL. When I insert/update a record for any model using Searchable, it doesn’t appear in my ...
0
votes
0
answers
43
views
CORS response not working in some routes in Laravel 11
I'm creating an application using Angular 16 for the frontend and Laravel 11 for the backend, everything worked well in my local project but after hosting it, some routes like add to cart / upload ...
0
votes
1
answer
44
views
Why the first call to ::create() method will not set the id field on the model in Laravel?
I use Laravel 5.5 and October CMS 1.0 with MySQL 5.6 database and PHP 7.4.
I have several models with integer autoincrement id keys.
The model's default settings are left intact—I didn't change any of ...
-1
votes
1
answer
43
views
How to resolve "ambiguous column" error in Laravel Livewire PowerGrid filter with joined tables?
I'm using Laravel Livewire with PowerGrid v2.x and have a query that joins multiple tables to display transaction data. Both transactions and invoices tables contain a transaction_type column, which ...
0
votes
1
answer
23
views
Laravel Livewire: data is not updated
I have such a component. The payment button is not active until the user selects a payment option and method
return-ad.blade.php
@php use App\Models\UserLimit; @endphp
<div>
@if ($template ==...
0
votes
2
answers
34
views
Filament Multi-tenancy extended with Spatie Permissions
I'm really having trouble to understand how things must be implemented in order to work together. Let me start with the Filament Multi-tenancy.
I have Organizations, they're related to Users with Many ...
0
votes
0
answers
18
views
Laravel Breeze prevent bail for password field, return all errors
Currently, Laravel Breeze seems to use bail default for the password field. So it does not return all errors at once.
Is there a way to prevent the bail for the password field using Breeze?
In my case ...
0
votes
1
answer
22
views
How to show 'View, Edit, Delete' button based on specific condition while using Yajra Laravel Datatables?
In my Laravel 10.x application, I am using Yajra-Laravel Datatable ajax version. I wanted to hide or show action buttons based on applications specific requirements. Like for example if a leave ...
-4
votes
1
answer
52
views
Getting Randomly 30+ seconds Delay
When i make API request, sometimes i get unusual response times. More specifically 30+ second delay. After some troubleshooting, i got that Transfer Start or (TTFB) takes upto 30+ seconds randomly. ...
-3
votes
0
answers
52
views
I want to create a post that sends mail [closed]
My form includes various features such as options for multiple selections, a range selector, as well as fields for price, name, phone number, and email. I attempted to set up the form submission, but ...
-2
votes
0
answers
28
views
how to fix the table with this coding error? [closed]
SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list' (Connection: mysql, SQL: insert into users (name, email, email_verified_at, password, roles_id, 0, 1, remember_token, ...
0
votes
0
answers
31
views
Undefined variable $component with Livewire (possibly related to blade @component not being processed)
Always undefined variable in $component, however not always in the /vendor/filament/notifications/resources/views/notifications.blade.php view (although lately has been). I understand this seems to be ...
0
votes
1
answer
44
views
Laravel seeder dont fill table with foreing keys
I'm working on a Laravel project, and I have the following migrations:
public function up(): void
{
Schema::create('customers', function (Blueprint $table) {
$table->id('customer_id');
...
0
votes
1
answer
24
views
Not getting form data on laravel $request object sent from Vue Component ( VILT Stack )
Here is the quick explanation of the issue i am facing - (58 sec only)
https://komododecks.com/recordings/VKLRr4GiITxAi0XZfqvF
I can edit my posts, i can send existing post images ids to laravel ...
0
votes
0
answers
31
views
Browsershot in Laravel not Saving PDF on Linux Server (Working on Windows)
I am using the Browsershot package in a Laravel application to generate and save PDFs. The process works perfectly on my local Windows machine, but when I try to run the same application on my Linux-...