laravel-6 Questions
3
Solved
I've been trying to create an access_token for my api. I've followed the setup and am using Postman to test/create a token. I can't seem to get past an invalid_grant error.
I've tried what seems l...
Usurious asked 8/2, 2020 at 3:11
5
Solved
I have a model Driver which have columns: name, branch, status_id, etc..Updating is actually fine and working, my problem is how can I return the updated one?
Here's what I tried so far, but it r...
7
i am trying to upgrade laravel 6 to 7, i got an error.
our requirements could not be resolved to an installable set of
packages.
Problem 1
- Conclusion: remove laravel/framework v6.0.3
- Con...
3
Missing required parameters for [Route: verification.notice] [URI: {language}/email/verify]
I added the laravel email verification to my project, after using localization.
But now I have the probl...
Indulgence asked 16/12, 2019 at 10:36
5
Solved
After composer update I got an error:
In Filesystem.php line 146:
rename(/var/www/bootstrap/cache/packages.phpE7r5E4,/var/www/bootstrap/cache
/packages.php): No such file or directory
Arti...
5
Solved
I use Laravel 6 passport grant password for my Vue backend.
When i send right credential to oauth/token it works and returns token, but when i send wrong (email/password) it returns 400 instead of...
Forage asked 7/12, 2019 at 20:38
5
I have an issue when I try to submit post requests to the database.
The interesting thing is, that the error only occurs when I use PHP version 7.4.2.
In PHP version 7.3.9 everything works fine.
I ...
3
Solved
Currently I have these 4 resourceful routes in my web.php file.
Route::resource('campaigns', 'CampaignController')->except(['show']);
Route::resource('users', 'UserController')->except(['sho...
3
I am trying to use the Telescope package from Laravels official documentation and I followed the first 2 steps:
composer require laravel/telescope
and
php artisan telescope:install
Everything wen...
4
Solved
I have upgraded Laravel from 5.6 to 6.0. Previously, default helper functions were running fine on the controllers, but now it says "undefined." In my controller, I have used the following.
$filen...
Counterscarp asked 30/9, 2019 at 7:36
3
I have migrate my website from Laravel 5.8 to Laravel 6, after a composer update i have this error on the website and also with just a command php artisan :
PHP Fatal error: Uncaught RuntimeExcept...
Capital asked 28/11, 2019 at 8:58
2
ERROR:
Please remove or rename the Redis facade alias in your "app" configuration file in order to avoid collision with the PHP Redis extension
I put this code on my cache.php
'default' =&g...
5
Solved
To setup my project I ran:
laravel new cms
composer require laravel/ui
php artisan ui:auth
php artisan migrate
However, when I go to http://cms.test/login I am shown the login page:
And get t...
3
Solved
I have following model:
1- User model
/**
* Define user and functional area relationship
*/
public function functionalAreas()
{
return $this->belongsToMany('App\FunctionalArea', 'user_functi...
4
Solved
After upgrading the laravel 5.8 to laravel 6.x I am getting this error:
Undefined class constant 'App\Providers\RouteServiceProvider::HOME'
Before upgrading the application login system was the ...
Inflight asked 18/1, 2020 at 12:3
4
Solved
So I have an issue where I have a multi-tenant application, and I have a system where I can manage all of these tenants with standard CRUD operations. I want to be able to drop the tenant databases...
9
Solved
I have a problem when creating login/auth in Laravel 6. I typed "make: auth" in the terminal and I get an error "Command" make: auth "appears not defined." Is there a solution for this?
3
Solved
how to express this code in query builder. I'm using Laravel 6.
SELECT * FROM feedback GROUP BY noTicket having count(`status`) < 2
My Code:
$feedback = DB::table('feedback')
->groupBy(...
Wildee asked 4/6, 2020 at 7:18
3
When I am trying To installing redis in larvel 6 version I can not install redis and it extension it show me the error.
Lagas asked 7/12, 2019 at 16:5
1
Solved
I try to extend an extintig ˙PHP` Laravel model with some other fields, but I not found the right solution. I use PHP 7.1 with Laravel 6.2
Here is my code, what explain what I want to do.
The ori...
Abroms asked 28/5, 2020 at 11:41
2
Solved
My Question Is :
Is The time() [10 Digits Number (Seconds)] can Be Increased to 11 or 12 digits ?
The Purpose of Asking This Question is I am creating A uniq transaction id depending on that and ...
2
Solved
Can someone explain the difference between a ResourceCollection and JsonResource?
In Laravel 6 docs you can generate 2 different types of resources... ResourceCollection and JsonResource. ht...
1
Solved
I am trying to using confirm password validation. I applied correct rules. But when it validates then it give me validation error like below:
The password confirmation does not match.
Controller
p...
Citole asked 25/3, 2020 at 19:50
1
Solved
If I have a custom rule class (MyCustomRule) implementing Illuminate\Contracts\Validation\Rule, is there a quick way to register an alias for the rule so that I can call it as a string? e.g.
publ...
3
Solved
I want to log all URL's that user visited. But there's not the url i want to logged from my code. Here are the code that im done, please give me some advise. Thanks and appreciate.
Web Routes
R...
© 2022 - 2024 — McMap. All rights reserved.