laravel-5.8 Questions

2

Solved

I am using Laravel 5.8 . I use Nikto to scan my site, I saw these issues. Cookie XSRF-TOKEN created without the httponly flag How do I patch these issues in my Laravel Site ? I've tried , but it ...
Brigitta asked 2/1, 2020 at 19:27

8

Im new to API and Vue. Im working on Laravel 5.8 api.php and controllers and views and it only return 404 Not Found. this is what ive tried api.php Route::group(['middleware' => 'api'], fun...
Arva asked 8/3, 2019 at 3:2

7

Solved

I am getting this error while trying to save an object into DB. SQLSTATE[HY000] [1049] Unknown database 'laravel' (SQL: insert into cards (card_price, active, updated_at, created_at) values (0, ...
Colloid asked 10/10, 2019 at 15:25

10

Solved

In default the ordering of left menu items is in alphabetical order. My client wants to order those menus manually. Any idea how to make it possible? Go to answer
Formal asked 21/11, 2018 at 5:8

6

I'm using Laravel 5.8 although 6.0.3 is available. I'm using it because the tutorial I'm following is using Laravel 5.8. When, I command: composer require laravel/passport it throws an error ...
Stoke asked 5/11, 2019 at 12:47

4

Solved

In my Laravel 5.8 project I am implementing a reputation system similar to Stack Exchange's one: for example, users can reply to a discussion only if they have "Level 3" reputation. I wan...
Neoimpressionism asked 6/6, 2019 at 8:26

7

Solved

I am using Laravel - 5.8 with Vue.js. My question is about how to show a custom error message for a rule in the Vee-Validate library. My custom message for the "required" rule is not show...
Warren asked 13/9, 2019 at 23:29

3

I want to validate email. Suppose if a customer give an email address like "demo@gmail" it gives an validation error. Email should be "[email protected]".What is the code to do this validation...
Sawfish asked 9/10, 2019 at 7:5

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

13

Solved

This problem only happens with Laravel 5.8 on my shared hosting. It is working fine in my shared hosting with Laravel 5.7. It is working fine in my local environment with Laravel 5.8. the problem i...
Hambrick asked 13/3, 2019 at 17:55

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

1

I'm using select2 , i have many of them in my form What i want is to control the placeholder for each of them dynamically to make the placeholder changed according to the name attribute for each ...
Be asked 16/9, 2019 at 20:56

4

Solved

I am trying to understand more about how to save data from ajax request into the database on laravel, The data in this case is raw (JSON FORMATTED) data just to see how it works it works fine if I ...
Hollenbeck asked 21/3, 2019 at 11:20

4

Solved

I am in Laravel 5.8 - I kept getting this CORS issue I've tried php artisan make:middleware Cors Add these code <?php namespace App\Http\Middleware; use Closure; class Cors { public fu...
Alie asked 25/3, 2019 at 20:45

6

Solved

I'm deploying my Laravel application and want to optimize the autoload, normally I would run the command composer install --optimize-autoloader --no-dev This is an application that runs Laravel 5....
Clustered asked 9/7, 2019 at 7:47

4

Solved

I'm working with Laravel 5.8 and I wanted to set up a Rate Limiter that limits accessing to route by per minute and also IP address. So I added this to RouteServiceProvider.php: protected function ...
Disgust asked 23/1, 2022 at 9:51

4

I am trying to search multiple data from two related tables. To be specific I want to get only "name column" from the users table and the rest of the columns from the posts table. But whenever I tr...
Boldfaced asked 25/11, 2019 at 9:41

2

I have Googled my fingers sore, and I can't see anyone discussing this, but I have a suspicion that Laravels syncWithoutDetaching() method doesn't take any parameters for extra data like save(), sy...
Antelope asked 1/3, 2019 at 11:58

4

All of my email settings for my app are stored in the database. The user has the option to change those settings, and it all works great. But I am trying to setup a "Send Test Email" function to al...
Hippy asked 30/3, 2019 at 6:6

2

I have the model that has relation to itself like this public function children() { return $this->hasMany(AppointmentPart::class,'parent_id'); } I want to eager loading for queries for this ...
Chloroform asked 30/9, 2019 at 7:43

2

I have this validation rule on POST request method inside a controller: class CreateOrderController extends Controller { public function create(Request $request) { $this->validate($request, [...
Chaparajos asked 8/9, 2020 at 8:35

1

Solved

I have issue now Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - laravel/framework[v5.8.0, ..., 5.8.x-dev] require php ^7.1.3 -&g...
Supernormal asked 24/9, 2021 at 21:1

7

Solved

I run the php artisan make:auth command and I will explain step by step what I do after that to understand the scenario, Login to a new session (example.com/home) opened a new tab and pasted the U...
Donnetta asked 18/7, 2019 at 12:41

7

Solved

How to disable edit/delete button on nova index page and still allow in detail page, if I will create a policy, that will disable the operation everywhere, I want to allow edit and delete in detail...

5

Solved

Server: Digital Ocean Ubuntu 16.04 Laravel 5.8 I cannot get email to send out of laravel using mailgun.com In Digital Ocean I have all outgoing ports open on the firewall, I have the correct DN...
Colyer asked 2/6, 2019 at 17:31

© 2022 - 2024 — McMap. All rights reserved.