laravel-5.7 Questions
7
Starting backup...
Dumping database hms...
Backup failed because The dump process failed with exitcode 2 : Misuse of shell builtins : mysqldump: Got error: 2004: "Can't create TCP/IP socket...
Tumpline asked 9/10, 2018 at 10:0
7
Solved
Laravel 5.7
PHP 7.2.10
Currently I am able to use any one of web and api guards, is there any way to allow both, so that both web app and api will work together.
Something like
return [
/*...
Pence asked 1/2, 2019 at 10:19
7
Solved
I have been searching and tried multiple solution but could got any helping results, I want to clear/delete all keys matching pattern products:*.
Following are the things i have tried.
Redis::d...
Depressor asked 22/10, 2019 at 14:1
18
Solved
I am trying to get the client's IP address in Laravel.
It is easy to get a client's IP in PHP by using $_SERVER["REMOTE_ADDR"]. It is working fine in core PHP, but when I use the same thing in La...
Hindemith asked 21/10, 2015 at 20:32
9
Solved
im having problems with error handler in my backend laravel api, don't show error message from validation.
routes/api
<?php
Route::group([
'middleware' => 'api',
], function ($router) {
...
Maim asked 3/2, 2019 at 16:9
1
I have the following Laravel Controller:
namespace App\Controller;
use App\Jobs\MyJob;
class JobDispatchControler
{
public function callJob(Request $request)
{
MyJob::dispatch();
}
}
The co...
Bathurst asked 19/3, 2020 at 14:38
2
Solved
I'm using Laravel version 5.7.20 to build a custom markdown template. The template is copied from /resources/views/vendor/notifications/email.blade.php
which is generated after issuing the command ...
Derwent asked 16/1, 2019 at 13:47
3
Solved
I'm trying to get the job ID inside my jobs. I try $this->job->getJobId() but it returns an empty string.
<?php
namespace App\Jobs\Notifications;
use Illuminate\Bus\Queueable;
use Illu...
Physical asked 3/5, 2019 at 6:1
7
I have installed a homestead on a new computer. I have pulled my code (which is working on my other computer as well as the server).
My project is made in Laravel 5.7
When I do a composer require ...
Abrahamsen asked 25/6, 2019 at 15:35
2
Solved
you know, Laravel Passport have predefined routes as folllow:
php artisan route:list
+--------+----------+-----------------------------------------+------+-----------------------------------------...
Corporal asked 18/10, 2018 at 12:31
4
I have update Laravel from v5.7 to v5.8 and now my application doesn't run.
I updated it because of this issue: composer require rebing/graphql-laravel fails
I solved the packages incompatibility...
Gauze asked 16/10, 2019 at 1:18
2
Solved
I'm trying to implement a basic authentication system using only the built-in Laravel features. The system works but only if I assign a name to the /admin/login route [i.e ...->name('admin.login)]....
Lushy asked 25/2, 2019 at 19:35
3
Solved
I created a rule to check if email already exist only if the field was changed.
$rules = [
'user-name' => 'required',
'user-email' => [
'required',
'email',
Rule::unique('users', 'email...
Thrombus asked 14/3, 2019 at 17:8
2
Solved
I want to validate the route parameters in the Request validation class. I know this question has been asked many times before but According to this question I override all() method and I receive t...
Tooley asked 19/9, 2018 at 9:7
2
I'm facing a problem with displaying a QR code in a PDF file. When I try to display the QR code without PDF it works. The QR code is generated by https://github.com/SimpleSoftwareIO/simple-qrcode o...
Sterilant asked 16/11, 2019 at 5:47
2
Solved
Problem
I am stuck in a loop where running npm run watch says it cannot find cross-spawn.
> @ watch /Users/donnie/Github/laravel_project
> npm run development -- --watch
> @ developmen...
Birdlime asked 23/1, 2019 at 13:41
5
Solved
I have Laravel 5.7 project with custom login. How can I let Laravel accept three login attempts after that redirect for page waiting to 2 or 3 min, etc?
public function loginPost(LoginRequest $req...
Cubical asked 5/10, 2018 at 19:48
3
I have custom validation rule in my controller:
$this->validate($request, [
'currency' => [
'required',
'numeric',
'min:0',
'max:7'
],
'price' => [
'nullable',
"required_if:curre...
Danseuse asked 18/12, 2018 at 12:4
7
Solved
I have been reading from the documentation about the new feature of laravel the email verification. Where can I locate the email template that is sent to the user? It does not show here: https://la...
Publius asked 8/9, 2018 at 3:59
7
Solved
I've upgraded my laravel instance from version 5.6 to version 5.7. Now I try to use the built-in email verification from laravel.
My problem is that I don't get an email after successful registra...
Bertrando asked 29/9, 2018 at 14:44
5
I am trying to implement email verification in Laravel 5.7. I have implemented MustVerifyEmail on User model.
class User extends Authenticatable implements MustVerifyEmail
{
}
But after regis...
Survive asked 4/10, 2018 at 19:5
8
I implemented email verification in a Laravel 5.7 project I'm working on. I get the email, but whenever I click on the confirm button or even the url provided in the email, I get a 403 forbidden er...
Nigrify asked 21/10, 2018 at 15:56
2
I have to execute a Python script which pulls a large amount of data to the database. It is working fine while I am running a project using the command php artisan serve, but it is throwing an erro...
Cavalcade asked 6/3, 2019 at 10:10
3
Solved
I want to log 404 errors in Laravel 5.7, but I don't understand how to turn this on. Additional to logging 404 errors, I'd like to log the URL that was requested. Other errors are logged correctly....
Neiman asked 27/1, 2019 at 19:43
3
Solved
Migration
Schema::create('users', function (Blueprint $table) {
$table->increments('user_id');
$table->string('username',50)->unique();
$table->date('start_date');
$table->date...
Tui asked 5/12, 2018 at 11:43
1 Next >
© 2022 - 2024 — McMap. All rights reserved.