2020欧洲杯时间表

Dark mode beta

You’ve been asking for dark mode for years.
2020欧洲杯时间表 The is finally here.

Change your preferences any time.

Questions tagged [laravel]

2020欧洲杯时间表 Laravel is a free, open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller (MVC) architectural pattern and based on Symfony. The source code of Laravel is hosted on GitHub and licensed under the terms of MIT License.

Filter by
Sorted by
Tagged with
0
votes
1answer
7 views

Maintaining button text state after page refresh using Vue.js and local storage

I am working on a task list using Vue.js component and Laravel, with a button to mark each individual task as "complete" or "incomplete". At the moment I can't even get it to change state, let alone ...
0
votes
0answers
3 views

Connection Time Out When Delete with API in Laravel

I get connection time out when to try delete data with API delete in laravel. Error: <-- default "Connection Timed Out" response (504) --> Any solution for my problem ? Because when I run it in ...
0
votes
1answer
12 views

Laravel Eloquent doesn't display date/time as in database timezone

I'm trying to get the same timezone as my data in mysql, but the json response was replying with different time. I tried using Carbon but the results always show the same (different timezone from mine)...
0
votes
1answer
13 views

Laravel: Paginating In Blade

In my blade, I have: <?php $items = $collection->paginate(10); dd($collection->paginate(10)); ?> The dd() logs as: array:6 [▼ "page_size" => 10 "current_page" => 1 "...
0
votes
2answers
26 views

How to solve 500 (Internal Server Error) SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null?

I am using axios in vue in laravel to post a method. And i am receiving the below error: CommentController.php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Post; use App\...
0
votes
0answers
15 views

Speeding Up / Improving Laravel Query

I'm using a Laravel Relation to relate to itself in order to get a count. In laravel Like this: public function sameak() { return $this->hasMany(self::class, 'ak', 'ak'); } ...
1
vote
0answers
11 views

How do you add a vendor javascript asset to a large “vendor.js” with Laravel Mix, if the asset is not available with npm?

For example, both jquery and jstree are available with npm. Therefore, in my Laravel project I can add this to the file "webpack.mix.js": mix.js('resources/js/app.js', 'public/js').extract(['jquery',...
1
vote
0answers
22 views

Laravel Query Builder for Time Comparison and Sorting

I have two tables courses [ id, nsu_id, course, section, class_start, class_end ] and orders [ id, nsu_id] In courses table has multiple course and class_start time. I want to compare between ...
-2
votes
1answer
19 views

Can't run Node.js server local

enter image description here I can't npm run watch i dontknow problem
-1
votes
1answer
19 views

Laravel Migration taking too long

I'm facing a weird experience with Laravel Migration. I've run 2 migrations the first one passed in less than second. The second is taking a long time and still running for more than 10 minutes ...
-1
votes
1answer
20 views

: 1005 Can't create table `shop`.`role_user` (errno: 150 “Foreign key constraint is incorrectly formed”)")

Hey guys I tried too much stuff and read some blogs or discussion I didn't fix my problem I'm new in laravel this project. I got error when I want to create to database this error like E:\xampp\...
0
votes
0answers
6 views

Laravel broadcasting configuration (laravel-echo-server.json) on remote server

I have set up a realtime application with laravel-echo, laravel-echo-server, redis and socket.io on my computer and it works. I have a vps and I need to implement it on the vps. The domain is https ...
0
votes
0answers
9 views

how to send a request using laravel with angular 9

i was trying trying to send a request from angular to laravel which is my backend but it was returning an error, below are the errors it was returning. Cross-Origin Request Blocked: The Same Origin ...
0
votes
1answer
20 views

Laravel - ERROR: Call to a member function fullName() on null

In my Laravel-5.8 project, I am trying to access the show view blade Controller public function show($id) { if (! Gate::allows('employee_show')) { return abort(401); } try { ...
1
vote
1answer
12 views

Request doesn't work when I use filter() in collection Laravel

I am trying to get a filter in a collection, but I get an error: "code": 500, "error_msg": "Undefined variable: request" This is my code where I have the error. The request works in any ...

15 30 50 per page
1
2 3 4 5
9450