460 questions
0
votes
0
answers
64
views
Laravel 12.0 Jetstream 5.3 "remember me" not working
I am having a problem with the remember me functionality in my app. When users log in they can check the box and it will work for a while but after a few hours/days (I haven't timed it exactly) they ...
1
vote
2
answers
79
views
How to set current_team_id when user accepts Jetstream team invitation by email to the Team id of the Admin inviting him?
I am developing an App that uses Jetstream registration as well as teams. With my App users join App once and they stay, so I need set current_team_id to user when he/she accepts invitation via email.
...
1
vote
2
answers
80
views
Unable to validate reCAPTCHA in Laravel Jetstream with Inertia.js during login
Jetstream Version
4.0
Jetstream Stack
Inertia
Laravel Version
10.10
PHP Version
8.1
I am implementing Google RECAPTCHA v3 in Jetstream login. But its fails because inertia Jetstream auth sending 2 ...
13
votes
4
answers
15k
views
Tailwindcss @apply directive doesn't work inside vue component
I create a laravel application with jetstream and inertia-vue stack for my new project problem is Tailwindcs version 2 using postCss and it doesn't support @apply directive inside vue components but ...
2
votes
1
answer
779
views
empty page showing (only "@routes" text comes out) when using Laravel8 + Inertia/vue.js together
this is my webpack.mix.js
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------...
4
votes
2
answers
7k
views
Illuminate\Database\QueryException SQLSTATE[42S22]: Column not found: 1054 Unknown column 'current_team_id' in 'field list'
Setup: migrated db from laravel 7 to laravel 8, Jetstream with Teams (php artisan jetstream:install inertia --teams), inertia.js
Illuminate\Database\Connection::runQueryCallback
vendor/laravel/...
0
votes
1
answer
103
views
Laravel Jestream problem loading Vite manifest
I have a Laravel 10 app with Jetstream working perfect on local.
When I upload my app to a cpanel shared hosting, when I access to the pages I have created, I have no problem, but when I try to load ...
7
votes
2
answers
7k
views
Laravel 8 Jetstream || Undefined variable: _instance (View: C:\xampp\htdocs\veye-website\resources\views\vendor\jetstream\components\modal.blade.php
I am trying to use Laravel 8 Livewire Modal Popup for data entry with going on another page. But I get undefine the variable _instance and not able to understand it.
@entangle($attributes->wire('...
5
votes
4
answers
18k
views
how to remove jetstream and fortify in laravel?
I am trying to remove Fortify and Jetstream packages from Laravel so I removed them from App. Providers, from composer.json (require section), Actions, Config, vendor. Then I run composer update and I ...
1
vote
2
answers
373
views
Flash message not displaying when redirecting to the same page in Laravel Jetstream + Inertia
I'm having an issue with displaying flash messages in my Laravel Jetstream application using Inertia.js. Here is the relevant code:
In AppLayout.vue
<script setup>
import { usePage } from "@...
0
votes
1
answer
81
views
How to prevent that super admin’s credentials can be used to log in as a tenant?
I am using Laravel Jetstream for authentication, which provides login and registration functionality that redirects users to the dashboard.
Currently, in my web.php file, I have set up routes with ...
5
votes
6
answers
16k
views
JETSTREAM "Unable to locate file in Vite manifest: resources/css/app.css." ERROR [closed]
firstly i want to explain how I`m install laravel and jetstream.
I open a folder from c disk, and i am goes to this folder from cmd and I start to write these codes
laravel new project --jet, it ask ...
0
votes
1
answer
943
views
Target class [currentTenant] does not exist (Spatie/Multitenancy)
I used Spatie/Multitenancy for my multitenant-app. When I accessed landlord domain, I got errors:
Illuminate\Contracts\Container\BindingResolutionException
Target class [currentTenant] does not exist....
-1
votes
1
answer
215
views
Fortify laravel 10 - login issue on production
I am using Laravel 10 with jetstream +livewire.
in my local host everything is fine, but on server I have an issue.
when I login with wrong credential it redirect me to home page without error and ...
0
votes
0
answers
43
views
Why file app/Providers/JetstreamServiceProvider.php on Jetstream 5 site is different I read in docs and how to work with it?
On Laravel / Livewire / Jetstream site I try to change name of field by which user login into the site and I changed in config/fortify.php:
'username' => 'login', // 'email',
and checking docs for ...
0
votes
1
answer
139
views
2 laravel projects communicating using API Sanctum?
I have two laravel projects
Bac4 laravel v.8
InfraProject laravel v.9
I want them to communicate using the Laravel Sanctum API.
I want the InfraProject to access some data in the Bac4 project and ...
0
votes
1
answer
327
views
Laravel Sanctum Impersonate User only works for one request
I'm using Laravel Jetstream, which uses sanctum for authentication. I'm trying to build a simple impersonate feature, and I have it working 99% of the way, but I am missing something small.
If the ...
0
votes
0
answers
14
views
Jetstream photo url change from 127.0.0.1 to virtual host
Anyone have a issue like me? Before when first install Jetstream, the photo is working, but now when im upload the image, the upload is success but the image its not showing, when i see it the image ...
0
votes
0
answers
28
views
Laravel Jetstream: Does not update custom additional profile information
I customized the app\Actions\Fortify\UpdateUserProfileInformation.php file with new fields.
There is a ZIP code search performed with JQuery, but when there is a change of address, the new data is not ...
3
votes
10
answers
12k
views
CSS does not load in Laravel 8 + Jetstream on XAMPP
I am learning Laravel and using Laravel 8 and Jetstream. While testing the application on XAMPP, the css does not load on login/register pages. The css link points to localhost/app/css location. It ...
1
vote
2
answers
395
views
wire:navigate causes conflicts in my template
I have a template called Minia that includes everything (js, tailwind, jetstream, livewire). However, when I add the wire:navigate to some link, it takes me to the view without loading the page and it ...
0
votes
2
answers
1k
views
How to get 403 error message in Laravel Inertia as flash message?
Laravel 9 Jestream + Inertia + VUE3.
In the authorization policy, I return an error with the text
return Response::deny(trans('error'));
On the front, the Inertia modal window opens and I see the ...
2
votes
0
answers
194
views
Is it possible to install Laravel Jetstream with Typescript?
Is it possible to install Laravel Jetstream with Typescript instead of Javascript when you are installing it with Inertia/Vue?
I saw that they have it with Breeze but I can't find it for Jetstream.
If ...
1
vote
1
answer
247
views
Laravel jetstream does not load profile photo
i create new laravel 9 proj with jetstream/inertia
laravel new testProject
cd testProject
composer require laravel/jetstream
php artisan jetstream:install inertia
npm install
npm run dev
php artisan ...
0
votes
1
answer
170
views
Laravel Jetstream | Two Factor Authentication - GAuth code is rejected
I've installed Laravel 11 with Jetstream (Livewire).
I enabled 2FA and I scanned the QR code with Google-Authenticator, then I get the code on my smartphone, but when I type it on the page, I get:
The ...
0
votes
1
answer
205
views
Jetstream profile photo bigger 1M
I try to upload photo with Jetstream livewire bigger than 1M and always return failed to upload photo, I increse the size in UpdateUserProfileInformation and the upload_max_filesize in php.in but ...
1
vote
1
answer
433
views
Laravel 11 route passes empty object to edit form
I'm trying to populate an edit form when accessed from a list... The object's in the database, loads through laravel, and can be outputted into the list in Laravel, but when I click the edit link, as ...
0
votes
1
answer
628
views
Use filament 3 jetstream
How to use filament 3 jetstream with blade and livewire ?
I used below commands.
composer require laravel/jetstream
composer require filament/filament
php artisan jetstream:install livewire
npm ...
1
vote
4
answers
4k
views
Target class [Spatie\Permission\Middlewares\PermissionMiddleware] does not exist
I hope you’re all right. I was wondering if you could take a look at a problem I’ve encountered in a Laravel project that uses Spatie Laravel Permission.
The mistake I’m facing is this:
Target class [...
1
vote
0
answers
150
views
Laravel/Jetstream Livewire - Unable to find component: [profile.edit-profile-information-form]
I need some help for a Project in Laravel/Jetstream/Livewire.
I've made next installation for : Laravel:10.10 Jetstream:3 Livewire:2.11
In the framework provided, there is a page in :
resources/views/...
2
votes
2
answers
927
views
Laravel Livewire Jetstream app throws 419 in an iframe when a POST request is made for mobile users ONLY
The Problem & Code source
I am using Laravel 10, Livewire 3 & Jetstream 5. My website is on a custom domain, on an owned server. I have this website also placed in an iframe and it needs to ...
1
vote
1
answer
392
views
Laravel Jetstream Custom Authentication Login Process Pass Request
I've been reading and following jetstream's documentation and I wanted to create a custom class for the authentication process:
If you prefer to encapsulate your custom authentication process within
...
2
votes
1
answer
320
views
Laravel email verification URL redirect to 404
I want to use a custom template for verification emails being sent by Laravel 11. It generates a verification url, but when I click it, it shows 404 on the browser.
Below is my user model where I ...
0
votes
2
answers
1k
views
Redirect homepage to authenticated page Laravel 8 Jetstream Livewire
I have the home page in web.php the login page:
Route::get('/', function () {
return view('auth.login');
});
And when the user logs in the authenticated page:
Route::middleware(['auth:sanctum', '...
0
votes
1
answer
537
views
Move Laravel Jetstream profile photo component to different View
I am building a web app using Laravel Jetstream: i have moved the [Profile Information (1st Section)] (https://jetstream.laravel.com/3.x/features/profile-management.html) Section of User Profile where ...
2
votes
1
answer
402
views
Error with postcss.config.js when installing Laravel Jetstream with Livewire
I am trying to install Jetstream in a Laravel project. Immediately after running the command php artisan jetstream:install livewire, this error appears:
`C:\xampp\htdocs\PFE\PFE\postcss.config.js:1
...
4
votes
5
answers
5k
views
Laravel 8/Fortify/Jetstream/Multitenancy: Error when configuring subdomain tenant identification: 'No database selected'
I can't get the stancl/multitenancy package configured with with my Laravel 8/Fortify/Jetstream app. I'm using subdomain tenant identification and I'm getting the following error on all routes:
...
15
votes
2
answers
7k
views
Laravel Jetstream Inertia Shared Global App Data
I want to share something I figured out since there's not much info out there (that I couldn't find).
Laravel 8 with Jetstream Inertia has a few shared objects, like user, current route... You can ...
0
votes
1
answer
1k
views
How to disable personal teams in Laravel / Jetstream when using Inertia?
I followed an article here:
https://devlan.io/disabling-personal-teams-in-laravel-8-and-jetstream-1fd083593e08
Basically to disable personal teams in Laravel / Jetstream. Now the article gives the ...
0
votes
1
answer
221
views
activate some fortify pages for production and others for testing
i have a version of laravel 8x jetstream with fortify on a test server and a production server.
test: prj_l8xtest.com
production: prj_l8xprod.com
I wanted to activate or deactivate some pages made ...
1
vote
5
answers
4k
views
Jetstream Installation Failed: could not be resolved to an installable set of packages
I'm getting this error while installing Laravel Jetstream:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/jetstream[v2.3.0, ..., 2.x-dev] require ...
0
votes
1
answer
96
views
Laravel/Jetstream: dynamically filled dropdown list in registration form
I have watched several videos and read some related tutorials about customization of the register form of Laravel/JetStream registration system. All I found is something like this:
//resources/views/...
0
votes
1
answer
2k
views
Laravel Inertia Vue Error with session flash message
I am currently working on a project in Laravel Inertia with a Jetstream starter pack that works with vue3.
I have to customize the login method. Basically, the logic will be if the user status is ...
0
votes
1
answer
610
views
Inertia handle null in share middleware
public function share(Request $request)
{
return array_merge(parent::share($request), [
'darkMode' => !!$request->user()->dark_mode,
]);
}
So the ...
-1
votes
1
answer
114
views
bugged dropdown in laravel 10 jetstream/livewire
image
This is the admin side, when on the home page the theme of the web is white and it is fine there, I'm guessing it's because it is assigned to multiple css tag influencing the same part but I ...
2
votes
1
answer
91
views
jetstream Class "verified" does not exist [duplicate]
I'm new to Laravel 10, and I recently installed Jetstream. When I run php artisan route:list in the console, I get the following error: Class "verified" does not exist.
I do have verified in ...
14
votes
19
answers
29k
views
Laravel 8 Jetstream profile-photos not showing
Regarding Laravel 8 and jetstream
I just tried installing and playing it in fortify but I can't really understand why my profile photo not showing a picture.
update-profile-information-form
<!-- ...
1
vote
1
answer
1k
views
Cannot display image in Vue.js + Laravel + Inertia
I need help with displaying images within a Vue.js component in my project, which is integrated with Laravel and Inertia.
I have a component called "Index.vue" located at the route "...
0
votes
1
answer
2k
views
Spatie Laravel Permission assign a role did not work
I'm using Laravel 8 with Jetstream. My site has users. These users are related to many institutions, so here they have different roles inside the site, So I made a seeder where I create the Roles and ...
0
votes
0
answers
59
views
How to redirect after sign up laravel jetstream
On laravel jetstream, after I changed the line ('home' => '/dashboard',) to ('home' => '/dashboard',) in fortify file. When I sign up successfull, the system do not direct me to index page, it ...