Hello! I'm wondering how I would be able to install Laravel Passport as well as having Sanctum & Socialite. Any ideas?...
philippehong philippehong
4
I upgraded my Laravel project from 5.8 to 8.x and artisan command does not work anymore. It does not throw any error when I run the command, but it doesn't work either. My composer.json looks like this { "name": "laravel/laravel&qu...
zaster zaster
1
Kernel.php protected $middlewareGroups = [ 'web' => [ \App\Http\Middleware\EncryptCookies::class, \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, \Illuminate\Session\Middleware\StartSess...
jlrdw replied
Solved
mehrdad70 mehrdad70
3
Hi, I have a table that contains the title and body I want to update the title and the body and show the new registered value at the time of display and the value before the update is also displayed. Is this a solution? When the update operation is n...
recently I have noticed that there is many large sized random unwanted files inside the public and storage folders in server. I couldn't delete it because which is creating again after deletion. I am not understanding how these files are creating. Ho...
Hello there, I got a strange issue: I got Browsershots working with laravel-sail, following the advice to publish the docker file and rebuild the image. Well - but now I got this issue: $view = view('pdf.user', compact('user')); $body_html = $vi...
InToSSH InToSSH
5
Hello, I am running the Laravel 8, Jetstream - Inertia.js + Vue.js stack. I created an app which has an admin interface (authenticated by standard web guard). Now I need to make an authentication for kiosks, which are gonna be Windows tablets running...
Shiva Shiva
4
When I run a job of mine I end up with this error in my logs file Call to undefined method Illuminate\Cache\FileStore::getRedis()...
michael.simso michael.simso
1
I have a component NoteTag in app/View/Components/Notes and the blade component in resources/views/components/notes. I am using this component in a parent component like this: <x-notes.note-tag :name="$tag->name"></x-notes.note-...
daniprog91 daniprog91
0
hello, I'm having trouble implementing post reading by setting up public friends private links. I have a bachecas table in which the posts are contained, with these columns id_post, content, privacy privacy = 1 "public" privacy = 2 "fr...
David Orizu David Orizu
3
Hello guys please I need help in my laravel 8 project I'm trying to post my form and it's giving me this error "SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list' (SQL: insert into posters (0, 1) values (0, 0))" Here...
ollie_123 ollie_123
5
Morning All I'm trying to group all orders by month and count them so that i can output the data into a ChartJS Bar Chart. Currently i've got:- //$months = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'); $orderCountByMonth= Order::whereNotNul...
ottaviane ottaviane
6
Hi all, What's the best way in laravel to convert open documents in pdf files? Have you some examples? Thank you very much...
saiko saiko
4
ErrorException: flock() expects parameter 1 to be resource, boolean given in file /var/www/html/twod/vendor/laravel/framework/src/Illuminate/Filesystem/LockableFile.php on line 147 #0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExcepti...
lse123 lse123
2
Laravel 8.x App's files can private files be in /home/username/ and public files be in /home/username/public_html/cars/ in other words, differ two folder levels...? this is due to the Laravel 8.x app is in a subdomain...
ahmadsiddeeq0 ahmadsiddeeq0
6
hi i have been learning laravel for 4 months and i built my first website using laravel , which is : https://trendy-fy.com first question is : i pass the data to the frontend as a collection using "get()" and then i loop it using @foreach o...
Hi everyone, I'm having trouble overiding a vendor class. I did the following to try and ensure that the method in my class would be used vs the method in the vendor class. I created an "Overides" folder and placed my TwoFactorAuthenticated...
bionary bionary
2
I'm looking to browse and download image files stored in google drive. I've installed the nao-pon/flysystem-google-drive package via composer and have been able to navigate the Google Drive directories with Laravel's Filesystem Storage::disk('google'...
vincej vincej
2
This is bazaar - If I delete the following code from my Blade view, I get no error. Leave it in and I get the above error. <div class="row"> <div class="col-md-2">{{ Form::label('crew_name', 'Crew Name:) }}...
vincej replied
Solved
Marcolino922 Marcolino922
6
Hi, I know this is a really stupid question but I always develop my applications by moving the contents of the "Public" folder into the root, obviously putting everything in safety. I got used to it, but I understand that it is not the corr...
warpig warpig
8
I have a form where im trying to pass some data into the database but im confused, whenever I try to submit the form I get a message saying that the GET method is not supported, suggested method: POST but that's what I've included in the form and on...
warpig replied
Solved
said17 said17
0
how to use javascript in dompdf or another plugin...
denewey denewey
3
I recently updated a Laravel site from version 5.3 to 8.38.0, also updating PHP from 5.6 to 8.0.3. I did this gradiently, handling any breaking changes as I went. The upgraded site works great, looks just like the original, with one exception - the d...
jgreen1 jgreen1
9
In terminal, when I try to migrate using php artisan migrate, I get this sql error: Illuminate\Database\QueryException SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost' (SQL: select * from information_schema.tables where table_s...
artisticre artisticre
3
Why is this code creating a new entry? I can't figure it out. public function update(Request $request, $id) { $team = Team::find($id); $this->validate($request, array( 'name' => 'min:3|max:255',...
JCKN123 JCKN123
6
I tried to access any url except home page, i will get 404 error. i added document root in /etc/apache2/default-server.conf "<VirtualHost *:80> ServerAdmin [email protected] ServerName 10.0.1.2 DocumentRoot "/srv/www/htdocs/public&...
philippejjj philippejjj
1
I hope this has not been asked before, but let's say you have a reaction system where user can react to various models. Route could : /react/{model}/{id} How do you handle this in the controller? Do you have a method to automagically find the correct...
sergioF1 sergioF1
0
I'm looking for something to throttle each route per param. For example, I have this in api: Route::get('/profile/{user}', [ProfileController::class, 'get'])->middleware('throttle:1,1'); And I want to limit 1 request per param. For example, 2 requ...
LaCoder LaCoder
0
Hello, I have the below code to do customer rules validation in the controller, but now I am moving this code to Form Request, $taxgroup = TaxGroup::where('taxgroup_id', $request->id)->first(); if ($taxgroup->taxgroup_is_def...
bartMommens bartMommens
2
Hello all, I've tried to come up with a solution to use multi-guard system on Laravel with Fortify and Sanctum. Contents of config/auth.php file : /* |-------------------------------------------------------------------------- | Authentication Default...
nscott nscott
7
I have a form set up to edit a selected date range if the user needs to. When I check the value of the dates they show that the correct old date is being pulled from the database. However, if I only change one of the dates in the form and hit save, t...
nscott replied
Solved
imarabinda imarabinda
0
I got four tables products, productions, workables and embroidery stock logs. So each production has many morph to product table saved on workables with pivot issued_quantity column. Embroidery stock logs has production_id, product_id, received_embro...
LenkaSoma LenkaSoma
6
Hello everyone, I just found out about the existence of your forum and maybe you will save me aha x) I am currently on Laravel 8 with Jetstream + Livewire and have had a little problem for a few days. Basically, when registering, this automatically c...
beginnerjdocker beginnerjdocker
0
Hi, I am working on the Windows 10 with Docker Desktop so I have Ubuntu and WSL2 on the internel Disk C. My web site, laravel, is located on the external drive D [D:\websites\laravel]. My user account, [beginnerjdocker] and my user group is [beginner...
afoysal afoysal
1
I am trying to fetch success message from below code. dd($response->getBody()->getContents()); I am getting below output from above code. "{"status":"success","message":"profile successfully updated"...
Create a New Discussion Button