All Questions
2,719
questions
0
votes
1
answer
53
views
Laravel PHP Request Size on Azure WebApp
I have two Web Apps created in Azure - dev and prod. Both on Linux. They have exactly the same setups, same env variables etc. I encountered a strange bug while sending a request from my FrontEnd to ...
1
vote
1
answer
63
views
Laravel 11 Route not found 404 jQuery
I'm using Laravel 11 and jQuery
I have this error :
Erreur 404: Not Found
{
"message": "The route %7B%7B%20route('columns.all')%20%7D%7D could not be found.",
"exception&...
0
votes
1
answer
50
views
post id for data deletion using ajax showing missing required parameters in controller route
I am trying to delete data via datatable delete button. But I am getting error.
I have created route as::
Route::resource('dealers', DealerController::class);
My controller function::
public function ...
3
votes
1
answer
137
views
Laravel javascript variable get in blade file
I need get js var in view blade file.
I got this one in Controller and got success in console
in route file
Route::post('/some-route', [Controller::class, 'someMethod']);
Route::post('/some-route', '...
1
vote
1
answer
83
views
Import an Excel file using AJAX and Laravel
I'm trying to import an Excel file using AJAX and Laravel in my application. the form of excel import is an inner form (form inside another form) The error handling seems to be working partially, but ...
-1
votes
1
answer
468
views
Non-null assertions can only be used in TypeScript files.javascript
I've been working on this code base for the past month. And just yesterday, I started facing this problem on a few files. The code is supposed to change the div based on selected options. Here is the ...
-1
votes
1
answer
44
views
Selecting Data in laravel using ajax
I made a configurator of matador in which user inserts its width, height, length, color and other details etc. I want to do that when user enters its id in url so it fetches all the record which he or ...
0
votes
0
answers
59
views
How do I fix XHR error when working withAJAX?
I am building a very simple Chat using Pusher and Laravel. Pusher is set and it works as it should. I am also trying to send a message to the broadcast route using AJAX and then show the message on my ...
0
votes
0
answers
66
views
How to find the device path for a USB cash drawer on Windows and open it with a button click in Laravel?
I am building a POS solution in Laravel and need to integrate a USB cash drawer. I am facing difficulties finding the device path for the USB cash drawer on Windows 10 and making it open with a button ...
0
votes
1
answer
92
views
Ajax/Livewire not working in Laravel project hosted on XAMPP Apache but works with php artisan serve
I have a Laravel project that I previously developed using XAMPP Apache and MySQL, and everything worked perfectly. However, when I started implementing Ajax or Livewire components in my project, they ...
1
vote
2
answers
51
views
Modal will show success message if the form is empty without checking the data in table in Laravel
Problem is the modal will show success message whether the form is empty . I wish to get the success message only if data entered in database otherwise show error message. here is my blade page. ...
0
votes
2
answers
842
views
Laravel 11 AJAX request just showing the response data, not executing the success function
Laravel 11 AJAX request only showing the response data instead of executing the success function in AJAX. I have added all the code below.
Index.blade.php:
<table id="employeesTable" ...
0
votes
1
answer
32
views
Trouble with AJAX POST Request Redirecting to /login Path Instead of Route in Laravel 10
Im attempting to send a POST request to one of my routes defined in api.php within my Laravel application. Here are the relevant route definitions:
Route::middleware('auth')->group(function(){
...
0
votes
1
answer
44
views
Sorting the installment numbers of the database according to the 6 digits of the credit / debit card with Ajax
[ajax[controller[incoming data[routeselect option](https://i.sstatic.net/MbargrpB.png)](https://i.sstatic.net/ivMS79j8.png)](https://i.sstatic.net/E6tEvDZP.png)](https://i.sstatic.net/CblkShPr.png)
...
0
votes
1
answer
197
views
I keep getting net::ERR_BLOCKED_BY_CLIENT on the console and (status) blocked on the network tab
i have this code that makes a request to fetch an array from a laravel backend, on my local server, it runs smoothly but after i hosted it, i keep getting POST error:
http://127.0.0.1:8000/retrieve ...