43,709 questions
0
votes
0
answers
5
views
Laravel Custom Auth in registering
I am building laravel 5.4 and angularJS to build login rester and logout user it is not working idk, why my files are this can anybody please help me out I am newbie to larvel
am interested in knowing ...
0
votes
2
answers
82
views
Schedule in Laravel 11
We are facing an issue with Laravel scheduled tasks using the call method in Kernel.php not executing as expected in development mode on Windows. When running php artisan schedule:work, it only ...
-1
votes
0
answers
37
views
Join two table: get Invoice last row and join signing name (which has only one row)
Join two table: get Invoice last row and join signing name (which has only one row)
Table Name: TAB1 Invoice
#
Product
Price
1
Laptop
22
2
Keypad
05
3
USB
08
Table Name: TAB2
signing authority ...
2
votes
2
answers
43
views
Request for How to Handling if Command in Relationship Handling
Request for How to Handling if Command in Relationship Handling
Hello, good day Artisan,
Please, I need help with an if command not working for a relationship. I want to get the correct relationship ...
0
votes
1
answer
68
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 ...
0
votes
1
answer
66
views
How to Login using the Middleware 'auth'?
I'm having problems with the authentication because in the following methods when it entries to the authenticate method, I receive True in my validation Log::info("", ['authenticated' => ...
-1
votes
1
answer
77
views
Error “foreach() argument must be of type array|object” in laravel controller
During comments show in the post
Error “foreach() argument must be of type array|object” in laravel controller
The code is as under
Blade File
@foreach($comment->product_images as $image)
<a ...
1
vote
0
answers
30
views
Override Cookie constructor in laravel 5.5 to allow rendering site inside an iFrame
Laravel 5.5 will only accept lax, strict or null as sameSite options when setting a cookie and will throw and exception if it is not one of these - before you ask I am stuck with laravel 5.5 for now.
...
0
votes
1
answer
66
views
Laravel Powergrid Table Add Loading on Pagination
I'm fairly new to Laravel, and I'm using PowerGrid to display an employee table. The skeleton loading works fine when the page initially loads, but I would like to add the loading animation when ...
1
vote
1
answer
76
views
Why are session tokens and form tokens different laravel? [closed]
Why are session tokens and form tokens different in Laravel?
Added to file:
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
protected function tokensMatch($...
0
votes
1
answer
54
views
The bulk download from AWS s3 is failing
This code was working fine until a few days ago. However, we noticed that it is failing exactly after downloading 40 files. I don't remember changing any configuration parameters in the recent past.
...
0
votes
0
answers
18
views
Syntax error or access violation: 1064 SQL_CALC_FOUND_ROWS
I have a Laravel 5.4 application. I have a code that generates and runs a query as below:
/**
* Returns stats data
*
* @param $start_date
* @param $end_date
* @param $...
1
vote
0
answers
80
views
Laravel is sending GET instead of POST request while I am actually using post method
PHP version: 7.4.33
Laravel version: 5.8
when I hit the post route, it shows in the error page that I sent it as Get, and this route supports Post.
this is the error msg: Symfony \ Component \ ...
0
votes
0
answers
46
views
Cant send data to destination page using compact
I've already passed data to the destination page using compact by a method. now I want to pass data to the destination page using compact again. Is there any problem for that? Firstly I tried to use ...
0
votes
0
answers
31
views
Laravel 5 Auth and OAuth
I’m returning to an old laravel 5.7 API code base that was once working swimmingly. I want to start updating it to laravel 11 (my first time doing upgrades in laravel, so was planning on using Shift) ...