Hekmatyar Hekmatyar
2

403 Forbidden Access to this resource on the server is denied!

Project is on subdomain. permisions is 755 for public_html, project etc .htacccess from project Options -MultiViews -Indexes...
dipcb05 dipcb05
0

How to get the session data of each user.

i want to arrange some feature depends on user's session data. like. in message module, who is online now. and i need to get information, user's total activity time...
krunal05 krunal05
15

Laravel 8 - Pagination not showing numbers

I am trying to do a pagination and it works. But in the pagination I am only getting « Previous Next » How to do pagination with laravel so that i can see n...
jlrdw replied
Solved
Laravel
15
133
felloz felloz
15

Double click on navbar option = logout

For some reason that I don't understand, when I double click on an option on the navbar that calls a route, laravel log me out from the system. Isn't something that...
Laravel
15
160
streamingsystems streamingsystems
0

dispatchNow vs dispatchSync

Hi, Pre Laravel 8 I was using dispatchNow. Per the docs, it seems that has been replaced with dispatchSync. However, before I assumed they were identical I wa...
Kadirou Kadirou
2

laravel 8 command schema:dump

-after running migration with php artisan migrate i maked: - php artisan schema:dump , i have this error on my console (i'm using xampp)...
mehrdad70 mehrdad70
8

remove image laravel 7

how i can remove images in Storage directory ? public function store(Request $request) { $now = Carbon::now(); $images = []; if($request->has...
gianmarx gianmarx
1

Undefined variable: tasks Laravel 8x livewire

What seems to be the problem: ErrorException Undefined variable: tasks (View: /Users/..../resources/views/livewire/tasks.blade.php) (View: /Users...
salmazz45 salmazz45
5

get related products to category

how can i get the products related to specific category when i save the category id in json column in database ?? what is the query can i write to get it ! i trying more an...
AlexGodbehere AlexGodbehere
10

Unable to create or change a table without a primary key - create_oauth_auth_codes_table

Hi all. I've just deployed my app to production using DigitalOcean and I'm getting the following error when calling php artisan migrate: SQLSTAT...
Laravel
10
3073
salmazz45 salmazz45
3

cant install laravel ui in my application

when i trying to install laravel ui in my applcation verison 7 get this error https://ibb.co/mS8M...
Ap3twe Ap3twe
3

PHP best setting for 1gb File upload..

We are implementing upload of files upwards of 1gb. What will be the best settings? Our server is dedicated servers no trouble of shared hosting arising. What will you sug...
anilkumarthakur60 anilkumarthakur60
2

Trying to get property 'id' of non-object

my project was working but suddenly i got error what could be the solution @extends('layouts.app') @section('title') Post @endsection @section('content...
tykus replied
Solved
iamstuart iamstuart
0

Using InertiaJS with Laravel 8, hitting an protected route results in weird popup login form

When using InertiaJS with Laravel 8, if I'm logged in, wait for the session to time out and then try to navigate to a protected route, a popup appears with the login form,...
Ap3twe Ap3twe
2

XML Array

Guys, can anyone show me how I can achieve an array of products based on XML WSDL structure below. It accepts an array of products. It accepst <s:element minOccurs...
krishbala96 krishbala96
11

Laravel Project using Onion Architecture

Hi Everyone, I need to apply or convert the Laravel structure to the Onion Architecture. If anyone is done already or tried, please give me any sample or tips to con...
Laravel
11
120
nacha nacha
4

ErrorException (E_ERROR) Undefined variable: attributeValues (View: C:\wamp\www\site\resources\views\site\pages\products.blade.php) and BadMethodCallException

when I make a name of product in search bar and click enter there's this error ErrorException (E_ERROR) Undefined variable: attributeValues (View: C:\wamp\w...
ajsmith_codes ajsmith_codes
6

How to handle error 1062 Duplicate Key Entry for composite key?

Each Order can have many Contacts. Each Contact can belong to many Orders. I'm trying to avoid duplicates here and I set up the table as many to many. The only thing...
Vusumzi Vusumzi
1

Undefined variable: user

Undefined variable: user (View: C:\xampp\htdocs\laravel-sb\resources\views\backend\user\edit.blade.php)...
codebranch codebranch
4

Laravel Fortify Route Prefix

I want to add a route prefix to Fortify's default routes e.g /login would be admin/login or /register would be /admin/register . How can this be done....
Laravel
4
138

How to Display Session values in HTML

I Try This <li><a href="{{route('cartProducts')}}"><i class="fa fa-shopping-cart"></i> Cart<span style="...
iamKevinWakhisi iamKevinWakhisi
2

How to setup active link menu

<jet-nav-link href="/user/profile" :active="$page.currentRouteName == 'user'"> Settings </jet-nav-link> on m...
sagar001 sagar001
2

How to pass variable to form request from controller?

I have this validation rule in my controller and i want to move this validation logic in a form request class. The problem is that i need to pass $width and...
anonymouse703 anonymouse703
2

cURL error 77: error setting certificate verify locations: CAfile: �C:\wamp64\bin\php\php7.1.9\extras\ssl\cacert.pem� CApath: none

I got this error: cURL error 77: error setting certificate verify locations: CAfile: �C:\wamp64\bin\php\php7.1.9\extras\ssl\cacert.pem� CApath: none What I've do...
Laravel
2
4239
noblemfd noblemfd
44

checkbox stores 0 whatever value the user enters

I am using data-bootstrap-switch checkbox in dynamic input field Controller: public function store(StoreLeaveTypeRequest $request) { $leavetype =...
Laravel
44
625
chrisgrim chrisgrim
2

How do you keep your scss files cleaned?

Hi, When it comes to css I find that I quickly start having a lot of unused css as I make changes to my app. I tried to be more organized this time and create a new scss fi...
GillesDeb GillesDeb
2

Database connection > unknown database (kinda logical it's unknown, so why error?)

Hey, I'm almost afraid of posting another question here, but searching the web does not seem to help me get the result i want/need. Basically I try to setup a...
vkronlein vkronlein
3

Route:list produces Session store not set on request error

Whenever I run route:list I get the following error: [RuntimeException] Session store not set on request. I don't seem to get i...
Laravel
3
218
asdasdsa asdasdsa
8

How to validate a date, or a string.

Hi! I have a field that is suppost to be a date. But now i have decided to also have the ability to enter a string. Why you might ask? Because that I store some data...
AnonRed AnonRed
3

XAMPP - Create sub folders and directories

Hi, I've just installed Laravel on my PC with XAMPP. I've managed to get it to work successfully. However, i've hit a bit of a stand still. It's pointing ever...
hueilau hueilau
2

Bootstrap :Put box component next to each other in Laravel

Hi, I'm creating box and I want to put them next to each other but I can't. After looping, the box will become one box per row. Anyone know how to change it? Thanks...
MarkP MarkP
2

Set a property in a blade partial

I am creating links by looping over an array using this partial. @props(['active']) @php $classes = ($active ?? false) ? 'inline-flex items-cent...
MarkP replied
Solved
ajsmith_codes ajsmith_codes
39

Solved: Ajax request data returns as object - how to populate multiple inputs?

I make an Ajax call to get contact data. I had it working where I was getting 1 piece of data: email. The returning data would populate into an input: $('input[name="e...
Laravel
39
162
lukeboy_2002 lukeboy_2002
1

Using tabs with controller

I would like to create tabs in a blade file and use a form. How can i use tabs with one controller...
lse123 lse123
16

auth in Laravel 8.x - what run in cmd line artisan

auth in Laravel 8.x - what run in cmd line artisan : this only: php artisan jetstream:install // is OK or needed additionally and more artisan commands ????...
jlrdw replied
Solved
Laravel
16
128
Create a New Discussion Button