SmokeTM SmokeTM
26

this->authorized always shows 403 page

I think I have set up everything correctly but it always gives me a 403 page and I dont know why. // In Controller $this->authorize('create', auth()->u...
Laravel
26
261
afoysal afoysal
25

500 error in Laravel but log folder is empty

I am working in a Client's Laravel project which version is 5.7.28. But I am not getting anything in storage/logs/ folder. I copied the .env.example...
Laravel
25
282
SmokeTM SmokeTM
24

Authentication for 3 types of users

I wanna build authentication for 3 types of users admin, user, business and I dont know if I should build that on my own or I should use a package for this task. Option 1 i...
Laravel
24
351
WallyJ WallyJ
22

Bcrypt list of existing text passwords

I am remaking an app from scratch for a company that creates the usernames and passwords for their clients' accounts. They have given me a list of the usernames and...
Laravel
22
148
jhorsford jhorsford
20

Undefined variable: contratos (View: C:\xampp\htdocs\juridico\resources\views\contratos\index.blade.php)

Undefined variable: contratos (View: C:\xampp\htdocs\juridico\resources\views\contratos\index.blade.php) this is the method search ContratosController public...
Laravel
20
1769
naekobest naekobest
20

ForElse single ouput instead of multipe outputs - problem

Hey there! Im currently trying to get behind why on earth there is only one output in my forelse loop Thats what it looks like...
Laravel
20
171
kushal kushal
19

Activity Log - Medicine Management System

I'm developing a medicine management system I have done all my features but one of the features I would like is an activity log where the admin can have that tracebeility...
Laravel
19
173
deshiloh deshiloh
18

Eloquent complicate query

Hi, Here my database : echantillon id name ..... molecule id name fami...
KalimeroMK KalimeroMK
17

navbar form nested categories

I want to create a dynamic navigation menu with subcategories for my blog. Model <?php namespace App\Models; use App\Traits\ClearsResponseCache;...
Laravel
17
169
tomasosho tomasosho
17

i want to get product name and id saved in my database in my create

My controller public function store(Request $request, Warehouse $warehouse, Product $product) { $product = $request->product;...
Laravel
17
216
maximew maximew
17

How to make Airlock optional?

Hi, I'm using Airlock (with tokens) in my project and I need to make some routes available for both authenticated users and visitors. The goal is to reuse the...
Laravel
17
210

Fontawesome not playing ball

Hello all. I'm coming to the point where I'm pushing my app to production but not currently there yet (all the following screenshots are from my local machine), however whe...
princeoo7 princeoo7
15

hasMany relation gives perfect record, but belongsTo gives null.

I have 2 DB tables, One documents and other one is users. code is as below for document where the issue is:...
Eloquent
15
120
Olamilekan Olamilekan
15

Page unable to inherit master.blade.php CSS and JS

Good day to you all, I having a littled issue, I have a table that has button for accessing Employee Profile details. It is not loading the master.blade.php css and...
Laravel
15
101
naekobest naekobest
15

Store multiple relations in one table

Im currentlly struggling with relations (again) This $exam = auth()->user()->exams()->create($this->validateData());...
Eloquent
15
107
mkarakaya mkarakaya
14

Should i upload env file to server?

Hi, i'm deploying new project to centos server. Should i upload env file too? Sometimes google indexes env files and secret informations will be appear in description. What...
Laravel
14
130
RafaelMunoznl RafaelMunoznl
14

Laravel-boilerplate - RuntimeException: A facade root has not been set.

I have used the boilerplate ion my app and everything was fine until I tried to deploy it using Cloudways I get a blank page and the logs show the following error:...
Laravel
14
98
omar590 omar590
14

Cannot send message without a sender address

I'm using MAil::Raw Facade and it can't find to() function my code Mail::raw( 'it works!',function ($message){ $message->to(request('email'))->subject('...
Laravel
14
147
Neeraj1005 Neeraj1005
14

Trying to get property 'view_count' of non-object

i did not understand where I make a mistake. can anyone solve this problem? This is my route Route::get('{menu}/', '[email protected]');...
Laravel
14
151
JoaoHamerski JoaoHamerski
14

Is mixing Javascript with blade syntax a bad practice?

i mean, use @if @endif within the Javascript code, is this bad practice? Or not?...
Laravel
14
115
Create a New Discussion Button