All Questions
9,316 questions
0
votes
2
answers
2k
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 ...
0
votes
0
answers
57
views
i need to update url for larval website where i do try htaccess but not working
my current website is
https://example.com/kelimebulucu?harfler=&baslayan=ar&iceren=rt&biten=ma&uzunluk=7 and i need to make it liek
https://example.com/kelimebulucu/{baslayan dynamic ...
0
votes
0
answers
415
views
Pusher error: auth_key should be a valid app key
guys I did try work with edit and when I click on submit I have this error, but the changes was done and I am guessing why I have this issue
Pusher error: auth_key should be a valid app key .
This is ...
0
votes
0
answers
46
views
laravel-permission Is there a binding relationship between permissions and routes when the user middleware determines permissions?
For example, in the following figure: permission:member_info|member_add is added to the member routing group. If a user has one of these two permissions, the entire member routing can be accessed. Do ...
0
votes
0
answers
1k
views
ErrorException Undefined array key 0 in php artisan serve
every time I hit php artisan serve, after working for a few seconds, this error is constantly displayed
ErrorException
Undefined array key 0
at D:\Request\vendor\laravel\framework\src\...
0
votes
0
answers
125
views
Problem accessing a route that has no parameter in Laravel 8
I have a problem accessing my route, I have a "pedidos" view where it contains some information, features and links. In one of these links I have a href with the route "pedidos.imports&...
-2
votes
2
answers
298
views
When I upload Laravel website form local to live server this error that I face
When I upload Laravel website form local to live server that I face this error
SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `sessions` where `id` = ...
0
votes
3
answers
191
views
What is the difference between using where() clause With() and wherehas() in relationship model
I have two relationship table. I used with using where to filter records as well as i used wherehas using where to filter records. But can't find the differences between both
0
votes
3
answers
144
views
how to include an arrayed @if in laravel
I'm still a newbie in Laravel, I'm using Laravel 4.2
Is there a way where if the author_ID is matched with Auth::ID it will show the specific line of codes
Code blade example:
@if ($data['authorID'] ==...
0
votes
3
answers
3k
views
Update record using laravel
I have a question,
I have a form (view) and after submit it saves to the db.
one of the records is id.
when I open the form again for that ID and will press submit again
what will happened it will ...
0
votes
1
answer
198
views
How do I select a specific set of data within a data in laravel with the use of dynamo db
I am fairly new to laravel so I would like to know how do you grab a the data from 'data' with laravel query
the dynamo database is like this
{
"subdomain": "subdomain",
"...
0
votes
1
answer
1k
views
Call to a member function comments() on null when use foreign key
This is error Call to a member function comments() on null, in model give a relation still show this error
Article model
function user() {
return $this->belongsTo(User::class, 'id');
}
public ...
-1
votes
2
answers
211
views
Call to undefined function curl_init() on console Command laravel
I want to call curl_init() on console Command laravel but I'm getting error "Call to undefined function curl_init()" ?
but when I call curl_init() from Controller laravel is working fine.
...
0
votes
1
answer
507
views
Laravel url() function returns public two times
I am using Laravel url() function to get website base url, but it returns public two times I don't know where I am doing wrong? Any help would be highly appreciated.
Here is my code.
<link rel='...
0
votes
3
answers
3k
views
Pass date in url in Laravel
I have this Link in my view
<a href="{{route('detail', ['id'=>$row->id, 'date'=>Carbon\Carbon::now()->format('m-d-Y') ])}}">
Link
</a>
when i click on this link ...